/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/debugging/info/memory.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
PS attributes
 
2
-------------
 
3
VSZ (     ) - Virtual Size (KB). 
 
4
RSS (VmRss) - Resident Size (KB).
 
5
 
 
6
ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww --sort=pid
 
7
 
 
8
 
 
9
Includes
 
10
--------
 
11
Everything: 
 
12
 * common shared libraries.
 
13
 * shared segments.
 
14
 * mappings on /dev: For example, the X server, on a system with a 
 
15
 256MB graphics adapter, will map all that memory into its address space.
 
16
 * mmap'ed blocks
 
17
 
 
18
Obtaining Details
 
19
-----------------
 
20
pmap -d <pid> [ pmap <pid> ]
 
21
 * each shared library is listed twice; once for its code 
 
22
 segment and once for its data segment