On Tuesday 20 January 2004 14:44, Sudev Barar wrote:
> This is directed towards Guru's...
> Ref. my talk at ILUGD on LTSP, it was pointed out that 2GB for 15~20
> users seems high. How can one analyse the memory needed from running
> server. Whenever I give top it shows almost all of it used and some
> swap also being used. Even at 5am when I was the only user. Even right
> now at lunch time with only three users logged in the output is:
>
> Mem: 1547764k av, 1007404k used, 540360k free, 0k shrd, 70424k buff
> 699284k actv, 63876k in_d, 17644k in_c
> Swap: 2040244k av, 116k used, 2040128k free 544336k cached
>
> Pointers please for further reading / analysis.
Top is counting the shared/buffered as well.
Check this.
[EMAIL PROTECTED] shridhar]$ free
total used free shared buffers cached
Mem: 512364 413984 98380 0 44584 244960
-/+ buffers/cache: 124440 387924
Swap: 264560 0 264560
[EMAIL PROTECTED] shridhar]$ uname -a
Linux daithan 2.6.0 #1 SMP Mon Dec 22 18:28:30 IST 2003 i686 unknown
[EMAIL PROTECTED] shridhar]$
It really means that it is using 124MB memory as indicated in second line
rather than 413MB memory as indicated in first line. If you calculate
similarly for your top figures, you will see that it is not using as much
memory as you think.
HTH
Shridhar
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help