05
Mar
Mar
Handy DTrace Shell Commands
Robert Weeks has posted a summary of handy DTrace shell commands created by Brendan Gregg called one liners. These script commands cover:
- New processes with arguments
- Files opened by process
- Syscall count by program
- Syscall count by syscall
- Syscall count by process
- Read bytes by process
- Write bytes by process
- Read size distribution by process
- Write size distribution by process
- Disk size by process
- Pages paged in by process
- Minor faults by process
- Interrupts by CPU
- New processes with arguments and time
- Successful signal details
Examples for each are also included.