Hi , Probably the following will throw some light on the VM usage for a process . cat /proc/{PID}/status | grep Vm* VmSize -> Virtual memory usage of entire process = VmLib + VmExe + VmData + VmStk VmRSS -> Resident Set currently in physical memory including Code, Data, Stack VmData -> Virtual memory usage of Heap VmStk -> Virtual memory usage of Stack. Doest change much. VmExe -> Virtual memory usage by executable and statically linked libraries VmLib -> Virtual memory usage by dlls loaded Refer the below URL for more info on this :- http://www.mozilla.org/projects/footprint/footprint-guide.html Hope this is useful . Regards ! --- "Raghu R. Arur" <rra2002@cs.columbia.edu> wrote: > On Sat, 26 Jul 2003, Anticipating a Reply wrote: > > > Hi , > > > > How to find out how much of the total > > Virtual memory ( i.e. 4GB for IA-32 ) > > is being used & how much is free > > at any point of time when any > > process is running ? > > vmstat tells u this and also if u "top" for > process this will also give > u the info. the field in mm_Struct, total_vm gives u > the total virtual > memmory used by the system. > > > > > > Is it also possible to find out which > > specific Kernel areas are free > > ( since upper 1GB of the 4GB Virtual > > Memory is reserved by Kernel ) ? > > > > i dint get what do mean by this. are u asking > which physical pages > in ram are free ?? > > > > Thanks in advance . > > > > Cheers ! > > > > > > > > > ________________________________________________________________________ > > Send free SMS using the Yahoo! Messenger. Go to > http://in.mobile.yahoo.com/new/pc/ > > -- > > Kernelnewbies: Help each other learn about the > Linux kernel. > > Archive: > http://mail.nl.linux.org/kernelnewbies/ > > FAQ: http://kernelnewbies.org/faq/ > > > ________________________________________________________________________ Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/