View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 06:54 PM
Surinder Kumar
 
Posts: n/a
Default Re: find out how much memory is used by each process

1. Use xpg4 "ps" with sz and vsz option
ps -o pid, sz, vsz, comm, args
sz => size in physical pages of process
vsz => size in KBs

2. Also you can use top
Check SIZE(total virtual size of the process in KB) and RES(resident
size of the process in KB)

3. General "ps"
# ps -efl

Check SZ(size of the process in pages)
--

Regards
Surinder Kumar
Phone # 91-80-2053194

A smooth sea never made a skillful mariner


Reply With Quote