System News for Sun Users - The Blog

05
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.

Leave a Reply

You must be logged in to post a comment.

© 2008 System News for Sun Users - The Blog | Entries (RSS) and Comments (RSS)

Design by Web4 Sudoku - Powered By Wordpress