Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Process Memory : ps -elf, ps -aux

No Format
$>$$> ps -elf
F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
4 S root         1     0  0  76   0 -  1193 109952 Dec17 ?        00:00:01 init [5]
1 S root         2     1  0 -40   - -     0 migrat Dec17 ?        00:00:00 [migration/0]
1 S root         3     1  0  94  19 -     0 ksofti Dec17 ?        00:00:00 [ksoftirqd/0]
1 S root         4     1  0 -40   - -     0 migrat Dec17 ?        00:00:00 [migration/1]
1 S root         5     1  0  94  19 -     0 ksofti Dec17 ?        00:00:00 [ksoftirqd/1]
1 S root         6     1  0 -40   - -     0 migrat Dec17 ?        00:00:01 [migration/2]
1 S root         7     1  0  94  19 -     0 ksofti Dec17 ?        00:00:00 [ksoftirqd/2]


  
SZ : approximate amount of swap space that would be required if the process were to dirty all
                           writable pages and then be swapped out. This number is very rough!






No Format
$> ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  4772  564 ?        S    Dec17   0:01 init [5]
root         2  0.0  0.0     0    0 ?        S    Dec17   0:00 [migration/0]
root         3  0.0  0.0     0    0 ?        SN   Dec17   0:00 [ksoftirqd/0]
root         4  0.0  0.0     0    0 ?        S    Dec17   0:00 [migration/1]
root         5  0.0  0.0     0    0 ?        SN   Dec17   0:00 [ksoftirqd/1]
root         6  0.0  0.0     0    0 ?        S    Dec17   0:01 [migration/2]
 
RSS : resident set size, the non-swapped physical memory that a task has used (in kiloBytes).
VSZ : virtual memory usage of entire process.
 

...