1846216 Members
6181 Online
110255 Solutions
New Discussion

Re: top command

 
John Jayaseelan
Super Advisor

top command

Hi,

The value from the 'SIZE' column is lower than 'RES' column, but the 'SIZE' column is total process memory and 'RES' is residential memory so it should be lower than 'SIZE' column.

Thanks
6 REPLIES 6
Simon Hargrave
Honored Contributor

Re: top command

That's correct. Do you have a specific output that contradicts this? What is the process? (Attach output)
John Jayaseelan
Super Advisor

Re: top command

Hi,

Following is one of the process.

TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
? 17938 proadm 152 20 6172K 9100K
run 5:44 0.98 0.98 java

Thanks
Simon Hargrave
Honored Contributor

Re: top command

See if it's a bug in top. Use the following command to show the same output with ps: -

UNIX95= ps -e -o pid -o ruser -o vsz -o sz

Or verify with Glance if you have it.
Dietmar Konermann
Honored Contributor

Re: top command

( SR:8606202912 CR:JAGad72086 )
top(1) command is showing, the resident size of the process as, more than actual size of the process.

11.11 PHCO_29072
11.00 PHCO_26020

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
John Jayaseelan
Super Advisor

Re: top command

Simon,

Please detail what is the command UNIX95= ps -e -o pid -o ruser -o vsz -o sz.

Thanks
John Jayaseelan
Super Advisor

Re: top command

Hi,


Following are the results.

top
? 17989 proadm 152 20 6172K 8444K run 5:56 0.91 0.91 java

# UNIX95= ps -e -o pid -o ruser -o vsz -o sz|grep 17989
17989 proadm 6172 418

Thanks