William Murphy spoke thusly:
>This thread prompted me to see how much my netscape takes up, and it was a
>relatively reasonable 22 megs of ram (it's communicator 4.05 methinks).
>>However, I also happened to notice that bash, ps and pppd take up about a meg
>each!
not completely fair. some of that memory is shared - string constants,
code segments, etc. so while one bash might take up a meg, two will
just take up 1.4 or something. in addition they use shared libs which
also share their text and code segments.
i'm sure there's room for improvement, but i'm not sure you're seeing
things as they are.
on a completely still machine run bash, check the mem, and then run
another bash, and then check the mem. i bet it won't go up more then
half a meg.
lastly you're discussing bash. ash takes up 372k on this machine,
and each additional instance probably won't take up much more then
60k.
kevin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!