Memory usage of processes
Posted in 1998
Hi! What is the best way to get accurate measurements of the amount of real and virtual memory sizes used by a process, and how does one monitor swapping? Basically, I'd like to track the swapping and memory usage on my system, an AlphaServer 2100 running Digital Unix 3.0B. We're also about to upgrade to an AlphaServer 4100 running DU 4.0D, so I'd like to know if the suggested method will work on this platform as well. I tried using the ps -A -o rssize, vsize command, and passed it through an awk script, but the figures I got don't seem to match what I *know* to be my total physical and virtual memory. I suspect that I misunderstand my server's manpages on the ps command. Thanks for your help. Best regards, Nigel +-------------------------------------------------------------+ |Name : Edmund Nigel Gall Tel: (868) 636 3153 | |Title : Information Systems Specialist Fax: (868) 679 3770 | |Company: Process Plant Services Limited | |Address: Atlantic Avenue, Point Lisas Industrial Estate | | Point Lisas, Couva, Trinidad & Tobago, W.I. | +----- mailto:nigelg@ppsl.com ------ http://www.ppsl.com -----+