equal
deleted
inserted
replaced
1 # FreeBSD specific checks |
1 # FreeBSD specific checks |
2 |
2 |
3 # Number of port vulnerabilities (need to have portaudit(1) installed) |
3 # Number of port vulnerabilities (need to have portaudit(1) installed) |
4 UserParameter=portaudit.problems,portaudit |grep 'problem(s)'|cut -f1 -d" " |
4 UserParameter=portaudit.problems,portaudit |grep 'problem(s)'|cut -f1 -d" " |
5 |
5 |
|
6 # Disk statistics - iostat(8): |
|
7 # The extended iostat device display, with the -x flag specified, |
|
8 # shows the following statistics: |
|
9 # |
|
10 # r/s read operations per second |
|
11 # w/s write operations per second |
|
12 # kr/s kilobytes read per second |
|
13 # kw/s kilobytes write per second |
|
14 # wait transactions queue length |
|
15 # svc_t average duration of transactions, in milliseconds |
|
16 # %b % of time the device had one or more outstanding transac- |
|
17 # tions |
|
18 # E.g. iostat[ad10,4], parameter $2 starts from 2 (first is the disk identifier) |
|
19 UserParameter=iostat[*],iostat -x $1|tail -1|tr -s ' '|cut -d' ' -f $2 |
|
20 |