Skip to content

Instantly share code, notes, and snippets.

@homer6
Created November 13, 2011 00:07
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 homer6/1361344 to your computer and use it in GitHub Desktop.
Save homer6/1361344 to your computer and use it in GitHub Desktop.
Comparing two processes.
Server 1:
cat /proc/28889/status
Name: geoipd
State: S (sleeping)
Tgid: 28889
Pid: 28889
PPid: 1
TracerPid: 0
Uid: 1004 1004 1004 1004
Gid: 1004 1004 1004 1004
FDSize: 64
Groups: 1004
VmPeak: 705824 kB
VmSize: 640288 kB
VmLck: 0 kB
VmHWM: 517692 kB
VmRSS: 517692 kB
VmData: 590588 kB
VmStk: 136 kB
VmExe: 236 kB
VmLib: 7852 kB
VmPTE: 1092 kB
VmSwap: 0 kB
Threads: 1
SigQ: 0/59609
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed: 3
Cpus_allowed_list: 0-1
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 10507
nonvoluntary_ctxt_switches: 0
Server 2:
cat /proc/16587/status
Name: geoipd
State: S (sleeping)
Tgid: 16587
Pid: 16587
PPid: 1
TracerPid: 0
Uid: 1004 1004 1004 1004
Gid: 1004 1004 1004 1004
FDSize: 64
Groups: 1004
VmPeak: 574752 kB
VmSize: 574752 kB
VmLck: 0 kB
VmHWM: 517688 kB
VmRSS: 517688 kB
VmData: 525052 kB
VmStk: 136 kB
VmExe: 236 kB
VmLib: 7852 kB
VmPTE: 1084 kB
VmSwap: 0 kB
Threads: 1
SigQ: 0/59609
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed: 3
Cpus_allowed_list: 0-1
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 10206
nonvoluntary_ctxt_switches: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment