SolarisInternals

Categories
OpenSolaris
directiostat
etruss
filebench
filestat
cpustat
mdb
::memstat
memtool
pmap
prstat
ptools
se toolkit
statit
taz
tnf
trapstat
vmstat/memstat
Hardware Performance Counters
Documentation

Hardware Statistics Tool

  • Version 1.3 is out! Download executable (shift-click on Netscape, chmod +x har after download).
  • Overview:
    # har -h
    Usage:  har [-{i|s|r|M}] [-{u|a|k}] [-Dnmh] [interval [count]]
    
            -i        outputs per-instruction stats (default)
            -s        outputs per-second stats
            -r        outputs per-reference stats
            -M        switches to memory bandwidth stats
            -u        tracks user mode (default)
            -k        tracks kernel mode
            -a        tracks both kernel and user modes
            -n        suppress titles
            -p        includes per-cpu output
            -D        enable debug mode
            -m        outputs MAX cpu stats (instead of AVG)
            -h        print extended usage information
    
    
    Version 1.3 2001/07/27
    
    Statistics:
            mips:   million instructions per second
            bus:    percentage utilization of address bus from CPUs
            flops:  million floating-point instructions per second
            cpi:    cycles per instruction
            dcm:    data-cache misses
            icm:    instruction-cache miss
            ecm:    external-cache misses
            itlb:   instruction TLB misses
            dtlb:   data TLB misses
            brr:    branch rate
            bmr:    branch misses
            dsr:    data stall rate
            isr:    instruction stall rate
            fsr:    FP-unit stall rate
            bsr:    branch-misprediction stall rate
    
    US-III Memory Controller Statistics:
            bw:   total bandwidth in MB/s
            rd:   total read bandwidth in MB/s
            wr:   total write bandwidth in MB/s
    
    Getting started:
            o per-instruction and per-second stats are ratios
            o per-reference stats are percentages
            o works with UltraSPARC I/II/III and Solaris 8
            o needs to be run as root
            o be careful with interpreting data on idle systems
            o some counters may not be working properly
    

Links



Browse the book online via Safari

Original Material © 2000-2005 Richard McDougall & Jim Mauro
Last Updated Dec 02 2005 00:21