Skip to content

Instantly share code, notes, and snippets.

@sargun
Created October 22, 2012 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sargun/3933225 to your computer and use it in GitHub Desktop.
Save sargun/3933225 to your computer and use it in GitHub Desktop.
sdhillon@worker-007:~$ sudo cat /proc/5423/status
Name: ruby
State: R (running)
Tgid: 5423
Pid: 5423
PPid: 5422
TracerPid: 0
Uid: 20000 20000 20000 20000
Gid: 10003 10003 10003 10003
FDSize: 512
Groups: 10003
VmPeak: 4257096 kB
VmSize: 4257092 kB
VmLck: 0 kB
VmHWM: 3417264 kB
VmRSS: 3415684 kB
VmData: 4013960 kB
VmStk: 9200 kB
VmExe: 872 kB
VmLib: 24820 kB
VmPTE: 7144 kB
VmSwap: 3500 kB
Threads: 2
SigQ: 0/257749
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000186007e47
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed: ffffff
Cpus_allowed_list: 0-23
Mems_allowed: 00000000,00000003
Mems_allowed_list: 0-1
voluntary_ctxt_switches: 58870564
nonvoluntary_ctxt_switches: 4853226
sdhillon@worker-007:~$ sudo cat /proc/5423/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 10485760 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set 838860800 838860800 bytes
Max processes 257749 257749 processes
Max open files 1048576 1048576 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 257749 257749 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment