I originally posted this at http://bdgregg.blogspot.com/2005/06/dexplorer-ive-just-uploaded-dexplorer.html.
I've just uploaded dexplorer ver 0.75, and it's shaping up to be quite a useful tool. It runs a series of DTrace scripts that monitor generic system activity, and saves the output in a .tar.gz file with a meaningful structure:
http://www.brendangregg.com/dtrace.html#DExplorer
http://www.opensolaris.org/os/community/dtrace/dexplorer
The idea came from David Visser, Christopher Wells, and several other people I met while in Melbourne, Australia last week. It's a great idea – it makes a lot of sense. It is also inspired by the Sun explorer tool that Sun support uses to collect configuration information from a system.
Here I've expanded a .tar.gz file created by dexplorer to demo the contents:
# find de_jupiter_200506272230 -type f de_jupiter_200506272230/Cpu/interrupt_by_cpu de_jupiter_200506272230/Cpu/interrupt_time de_jupiter_200506272230/Cpu/dispqlen_by_cpu de_jupiter_200506272230/Cpu/sdt_count de_jupiter_200506272230/Disk/pgpgin_by_process de_jupiter_200506272230/Disk/fileopen_count de_jupiter_200506272230/Disk/sizedist_by_process de_jupiter_200506272230/Mem/minf_by_process de_jupiter_200506272230/Mem/vminfo_by_process de_jupiter_200506272230/Net/mib_data de_jupiter_200506272230/Net/tcpw_by_process de_jupiter_200506272230/Proc/sample_process de_jupiter_200506272230/Proc/syscall_by_process de_jupiter_200506272230/Proc/syscall_count de_jupiter_200506272230/Proc/readb_by_process de_jupiter_200506272230/Proc/writeb_by_process de_jupiter_200506272230/Proc/sysinfo_by_process de_jupiter_200506272230/Proc/newprocess_count de_jupiter_200506272230/Proc/signal_count de_jupiter_200506272230/Proc/syscall_errors de_jupiter_200506272230/Info/uname-a de_jupiter_200506272230/Info/psrinfo-v de_jupiter_200506272230/Info/prtconf de_jupiter_200506272230/Info/df-k de_jupiter_200506272230/Info/ifconfig-a de_jupiter_200506272230/Info/ps-o de_jupiter_200506272230/Info/uptime de_jupiter_200506272230/log
Lots of goodies to pick over.
The names of the files should indicate their contents. Many of them contain quite generic data, the idea is that one dexplorer file should contain as many statistics as possible.
Check for updates. I'll also throw it in the DTraceToolkit.