Comment 8 for bug 1574342

Revision history for this message
Eric Desrochers (slashd) wrote :

@rlageer,

At least the program have a "--help" argument

Example :
---
$ /usr/sbin/arcstat.py --help
---
Usage: arcstat.py [-hvx] [-f fields] [-o file] [-s string] [interval [count]]

  -h : Print this help message
  -v : List all possible field headers and definitions
  -x : Print extended stats
  -f : Specify specific fields to print (see -v)
  -o : Redirect output to the specified file
  -s : Override default field separator with custom character or string

Examples:
 arcstat.py -o /tmp/a.log 2 10
 arcstat.py -s "," -o /tmp/a.log 2 10
 arcstat.py -v
 arcstat.py -f time,hit%,dh%,ph%,mh% 1
---

Eric