Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] top command: meaning of 'm' in memory related values?



>> Does anybody know what is the meaning of the 'm' in the VIRT and RES
>> values in the output of top? From the man page, VIRT and RES values
>> are in kb (kilobytes not kilobits I guess?) , but no hint on what the
>> 'm' means.
>> Example output below
>>
>> # top
>> top - 22:26:42 up 48 days, 23:40,  2 users,  load average: 0.00, 0.00, 0.00
>> Tasks: 105 total,   1 running, 104 sleeping,   0 stopped,   0 zombie
>> Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
>> Mem:   1020388k total,   918952k used,   101436k free,   144820k buffers
>> Swap:  2064376k total,        0k used,  2064376k free,   149308k cached
>>
>>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>  1328 apache    20   0  322m  42m 6680 S  0.0  4.3   1:07.95 httpd
>>  1190 apache    20   0  322m  42m 6680 S  0.0  4.3   1:16.36 httpd
>>  1189 apache    20   0  322m  42m 6676 S  0.0  4.3   1:08.91 httpd
>>  1193 apache    20   0  322m  42m 6676 S  0.0  4.3   1:09.54 httpd
>>  1323 apache    20   0  322m  42m 6680 S  0.0  4.3   1:10.37 httpd
>>  1262 apache    20   0  322m  42m 6672 S  0.0  4.2   1:13.90 httpd


On Fri, Feb 21, 2014 at 3:47 PM, Jim Breen <jimbreen@example.com> wrote:
> I've always thought it meant "megabytes".
>

Thank you. Sorry for this kind of silly question I just didn't want to
believe that each apache process was using 42 MB of physical memory
and 322 MB of virtual memory :-)
I guess the total memory used by apache is not 42 MB*the number of
processes, but less than this as there is some overlap (for shared
libraries, etc)


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links