/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 Administration/Linux/system/accounting/ps.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2015-08-21 03:52:00 UTC
  • Revision ID: csa@suren.me-20150821035200-xu1zh22cqlk2omcq
Profiling

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 - Listing tasks by non-swapped memory usage
2
 
        ps xa -eo pid,user,args,rss,vsize,size,pmem --sort rss
3
 
            * rss:  resident set size, the non-swapped physical memory that a
4
 
            task has used (in kiloBytes)
5
 
            * vsize: virtual memory size of the process in KiB
6
 
            * size: approximate amount of swap space that would be required 
7
 
            the process were to dirty all writable pages and then be
8
 
            swapped out. This number is very rough!
9
 
            * pmem = rss / hw_memory
10
 
 
11
 
- Other options
12
 
            * policy    - scheduling class by keyword
13
 
            * sched     - scheduling class by number
14
 
            * rtprio    - real/time priority
15
 
            * ni        - nice level
16
 
            * psr       - assigned processor
17
 
            * sgi_p     - executing processor, * - means not running
18
 
            * wchan     - kernel function in whcih the process is sleeping
19
 
            
20
 
            
 
 
b'\\ No newline at end of file'