Skip to main content

memory footprint of cvm

1 reply [Last post]
sandykhan
Offline
Joined: 2008-01-15
Points: 0

hi,
i want to know the physical and virtual memory footprints of cvm. i've tried cat /proc/meminfo and cat /proc/'ProcID'/status and have some idea about the footprints, but am still unable to figure out whether it is virtual memory footprint or physical memory footprint? and if both of them are listed through these commands, how can i know that which one is physical or virtual? and if one of them is not listed, how can i know that?

regards,
khan

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> hi,
> i want to know the physical and virtual memory footprints of cvm. i've tried [b]cat /proc/meminfo[/b] and [b]cat /proc/'ProcID'/status[/b] and have some idea about the footprints, but am still unable to figure out whether it is virtual memory footprint or physical memory footprint? and if both of them are listed through these commands, how can i know that which one is physical or virtual? and if one of them is not listed, how can i know that?
>

Hi Khan,

Assuming you are on a Linux system, I would suggest you run the "ps -o
rss,vsz" or the "pmap -x" command.

Example:

ps -ef | grep cvm
(Note the pid (#####) of the cvm process)

ps -o rss,vsz -p #####
(RSS is resident memory size. VSZ is (total) virtual memory size)

or

pmap -x #####
(Look the the last line for total (virtual) memory vs. resident memory)

If there are discrepancies, the pmap output is more accurate.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net