The ps command gives the following information:
RSS (ps v) Real-memory (resident-set) size of the process
SIZE (ps v) Virtual size of the data section of the process
VSZ (ps -o vsz) Size of the proces in virtual memory
SZ (ps l) Size of the core image of the process
SSIZ (ps s) Size of the kernel stack (0 if multi-threaded)
TRS (ps v) Size of the resident-set of text
TSIZ (ps v) Size of text (shared program) image
Here is what I've got on one of my process :
RSS SIZE VSZ SZ SSIZ TRS TSIZ
1624 756 756 1376 0 696 624
Why is it that VSZ (756) is equal to SIZE ?
I though VSZ was supposed to be the total size of the memory used by the process as it is documented as the size of the process in virutal memory.
What exactly is the meanings of the SZ column, which value is strangely smaller than RSS (756 < 1624) ?
How can I compute the total amount of memory (resident + swapped) used by the process ?
Thankx
RSS (ps v) Real-memory (resident-set) size of the process
SIZE (ps v) Virtual size of the data section of the process
VSZ (ps -o vsz) Size of the proces in virtual memory
SZ (ps l) Size of the core image of the process
SSIZ (ps s) Size of the kernel stack (0 if multi-threaded)
TRS (ps v) Size of the resident-set of text
TSIZ (ps v) Size of text (shared program) image
Here is what I've got on one of my process :
RSS SIZE VSZ SZ SSIZ TRS TSIZ
1624 756 756 1376 0 696 624
Why is it that VSZ (756) is equal to SIZE ?
I though VSZ was supposed to be the total size of the memory used by the process as it is documented as the size of the process in virutal memory.
What exactly is the meanings of the SZ column, which value is strangely smaller than RSS (756 < 1624) ?
How can I compute the total amount of memory (resident + swapped) used by the process ?
Thankx