On Mon, Aug 12, 2002 at 10:51:03AM +0530, [EMAIL PROTECTED] wrote: > Hi list, > > How do I find out how much RAM and swap is used by different > processes? 'free' gives me a total and ps -aux gives me a % > output. I need a per-process usage of physical and swap memory > in MB.
Top will show you the amount of swap used by processes, but mine didn't show it by default. If it isn't there, press 'f' and then 'o' and then <ENTER> to add the SWAP field. You can save your current 'top' configuration by pressing 'W'--this causes top to write to the ~/.toprc config file. RSS appears to be the total amound of physical RAM used by ELF binaries, with the exception of about 12K of administrative data that's present for all processes--see the top manpage for more on that. HTH, Ben -- Ben Logan: ben at wblogan dot net OpenPGP Key KeyID: A1ADD1F0 You will find me drinking gin In the lowest kind of inn, Because I am a rigid Vegetarian. -- G.K. Chesterton -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list