Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/solaris/fsstat_bytes | ||
|---|---|---|
| 9 | 9 |
Tested with Solaris 10 and 11. |
| 10 | 10 |
|
| 11 | 11 |
Note: |
| 12 |
In Solaris 11, fsstat command can get stats for each non-global zones in
|
|
| 12 |
In Solaris 11, fsstat command can get stats for each non-global zones in |
|
| 13 | 13 |
global zone. (see man fsstat) |
| 14 |
In global zone, this plugin gets stats of only global zone.
|
|
| 14 |
In global zone, this plugin gets stats of only global zone. |
|
| 15 | 15 |
In non-global zones, this plugin reports stats of the non-global zones. |
| 16 | 16 |
|
| 17 | 17 |
=head1 CONFIGURATION |
| ... | ... | |
| 86 | 86 |
|
| 87 | 87 |
zoneid=0 |
| 88 | 88 |
osver=$( uname -r | cut -d. -f2 ) |
| 89 |
|
|
| 89 |
|
|
| 90 | 90 |
if [ "$osver" -ge 11 ]; then |
| 91 | 91 |
zonename=$( zonename ) |
| 92 | 92 |
zoneid=$( /usr/sbin/zoneadm list -p | awk -F: '$2 == "'"$zonename"'" { print $1 }' )
|
Formats disponibles : Unified diff