Info about top command required
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi mark ,
Thanks for the info.
But the question really is , whether SIZE corrosponds to
real memory( real text + real data + real stack)
OR
virtual memory(virtual text + virtual data + virtual stack)
OR
both????
Thanks
Milind
Quoted 33 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, August 07, 2001 6:13 PM
To: Ananth P
Cc: TUXMA (E-mail)
Subject: Re: [ma-linux] Info about top command requiredQuoted 2 lines · Ananth P
I wanted to know how the 'SIZE' field in the output of 'top' command is
calculated in linux.well, if i remember correctly the size field in ps results in process size in clicks. one click is 4096 bytes. it's pretty good for relative measurement (e.g. this one is 50 clicks, the other one is 5000 clicks).
let's see about 'top'. reading man page
SIZE The size of the task's code plus data plus stack
space, in kilobytes, is shown here.so, it sounds like kb. in addition, you might find these fields helpful too (from the man page).
TSIZE The code size of the task. This gives strange
values for kernel processes and is broken for ELF processes.DSIZE Data + Stack size. This is broken for ELF
processes.--
Mark Smith
[email protected]
Quoted 54 lines · Milind
Hi mark ,
Thanks for the info.
But the question really is , whether SIZE corrosponds to
real memory( real text + real data + real stack)
OR
virtual memory(virtual text + virtual data + virtual stack)
OR
both????Thanks
MilindQuoted 27 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, August 07, 2001 6:13 PM
To: Ananth P
Cc: TUXMA (E-mail)
Subject: Re: [ma-linux] Info about top command requiredQuoted 2 lines · Ananth P
I wanted to know how the 'SIZE' field in the output of 'top' command is
calculated in linux.well, if i remember correctly the size field in ps results in process size in clicks. one click is 4096 bytes. it's pretty good for relative measurement (e.g. this one is 50 clicks, the other one is 5000 clicks).
let's see about 'top'. reading man page
SIZE The size of the task's code plus data plus stack
space, in kilobytes, is shown here.so, it sounds like kb. in addition, you might find these fields helpful too (from the man page).
TSIZE The code size of the task. This gives strange
values for kernel processes and is broken for ELF processes.Quoted 6 lines
DSIZE Data + Stack size. This is broken for ELF
processes.--
Mark Smith
[email protected]-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/