' ps v PPID' command and real memory | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

' ps v PPID' command and real memory

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-17-2008
hariza hariza is offline
Registered User
 
Join Date: Oct 2006
Last Activity: 15 July 2013, 7:28 PM EDT
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
' ps v PPID' command and real memory

hi Guys,

Just wondering whether if I execute the ps v 1818740 and I get the below ouput what column should I use If I need to calculate how much real memory (private) is use by those process. Thanks.

PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND
1818740 - A 0:00 60 1976 1064 xx 39 112 0.0 0.0 db2sysc


harby.
Sponsored Links
    #2  
Old 09-26-2008
otheus's Avatar
otheus otheus is offline Forum Advisor  
Smartass
 
Join Date: Feb 2007
Last Activity: 23 July 2014, 6:24 AM EDT
Location: Innsbruck, Austria
Posts: 2,151
Thanks: 12
Thanked 48 Times in 45 Posts
The RSS column is probably what you want. It's how much memory the program is using "in core". The SIZE column might also be what you want -- it's the amount of memory used by the process, including code, stack, heap, etc., whether or not it's in swap or in core.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
df -h command, can't seem to find real location samnyc UNIX for Dummies Questions & Answers 4 10-05-2011 10:34 AM
Real memory usage is reaching 99.99% Balajipoola007 AIX 2 04-01-2009 05:26 AM
real memory consumption of a process melanie_pfefer Solaris 4 11-18-2008 05:12 PM
Strange Real Memory usage behavior Skyybugg AIX 5 05-31-2007 10:17 AM
Kernel use of real memory daniels AIX 1 01-03-2006 11:29 PM



All times are GMT -4. The time now is 10:22 PM.