Look at the difference of memory usage for the same command..."sleep 200 &" in RH7.2, RH3.0 and Suse machine.
 
vsize gives the Virtual memory size in bytes.
 
RH7.2:
eurika120:arijit>sleep 200 &
[1] 24775
eurika120:arijit>ps -eo pid,comm,size,sz,vsz,vsize | grep sleep
24775 sleep            -   484  1936  1936
 
RH3.0:
vgamd126:arijit>sleep 200 &
[1] 13892
vgamd126:arijit>ps -eo pid,comm,size,sz,vsz,vsize | grep sleep
13892 sleep            268 9705 38820 38820
 
 
Suse:
linuxemt10:arijit>sleep 200 &
[1] 31378
linuxemt10:arijit>ps -eo pid,comm,size,sz,vsz,vsize | grep sleep
31378 sleep            192 1779 7116  7116

Any idea why is this huge difference in Virtual Memory in doing a very simple and same thing in diff Linux flavors...?
 
Does anybody know of any Perl module that can be used as a wrapper around the most unportable ps command?
 
Thanks,
Arijit


Arijit Das
Infosys Technologies Ltd.
Mangalore - 575 006, India
Cell Phone: 9448135200
E-Mail: [EMAIL PROTECTED]


Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to