Link to home
Start Free TrialLog in
Avatar of Geoff Millikan
Geoff MillikanFlag for United States of America

asked on

Linux TOP, how come totaling the RES column exceeds available physical memory/RAM?

Technically, the RES column shown when using the TOP utility is supposed be the total amount of physical memory a process is using.  So how come when I add all the RES used by my processes it seems to exceeds the total amount of RAM installed on the system?

http://linux.die.net/man/1/top

 User generated image
q: RES -- Resident size (kb)
    The non-swapped physical memory a task has used.

    RES = CODE + DATA. 
r: CODE -- Code size (kb)
    The amount of physical memory devoted to executable code, also known as the 'text resident set' size or TRS. 
s: DATA -- Data+Stack size (kb)
    The amount of physical memory devoted to other than executable code, also known as the 'data resident set' size or DRS.

Open in new window

SOLUTION
Avatar of BasementCat
BasementCat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Geoff Millikan

ASKER