Skip to content

Instantly share code, notes, and snippets.

@rednaxelafx
Created May 29, 2011 11:45
Show Gist options
  • Save rednaxelafx/997679 to your computer and use it in GitHub Desktop.
Save rednaxelafx/997679 to your computer and use it in GitHub Desktop.
prtstat example: using prtstat on a groovysh process on Ubuntu 10.10 x64
$ prtstat 4394
Process: java State: S (sleeping)
CPU#: 2 TTY: 136:39 Threads: 16
Process, Group and Session IDs
Process ID: 4394 Parent ID: 4341
Group ID: 4394 Session ID: 4341
T Group ID: 4394
Page Faults
This Process (minor major): 64582 18
Child Processes (minor major): 3193 2
CPU Times
This Process (user system guest blkio): 4.69 0.20 0.00 0.03
Child processes (user system guest): 0.00 0.00 0.00
Memory
Vsize: 2468 MB
RSS: 183 MB RSS Limit: 18446744073709 MB
Code Start: 0x40000000 Code Stop: 0x40008ec8
Stack Start: 0x7fff54e72b90
Stack Pointer (ESP): 0x7fff54e708f0 Inst Pointer (EIP): 0x7fcded691285
Scheduling
Policy: normal
Nice: 0 RT Priority: 0 (non RT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment