Changeset ce65f3a2497dc3e397249ce0721ff283be8b603e
- Timestamp:
- 12/06/07 17:23:16
(5 years ago)
- Author:
- Brian Holcomb <holcomb@omniti.com>
- git-committer:
- Brian Holcomb <holcomb@omniti.com> 1196961796 +0000
- git-parent:
[bf11e9eb11e24e5675b3a6a4eb98b9235c4d2ed4]
- git-author:
- Brian Holcomb <holcomb@omniti.com> 1196961796 +0000
- Message:
fix weird lines at beginning of file, linux df command in case of long device names (-P forces all info on one line)
git-svn-id: https://labs.omniti.com/resmon/trunk@62 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbf11e9e |
rce65f3a |
|
| 1 | | keri@ngs-va-01[/opt/resmon/lib/Resmon/Module]$ sudo svcadm refresh resmon |
|---|
| 2 | | keri@ngs-va-01[/opt/resmon/lib/Resmon/Module]$ more INODES.pm |
|---|
| 3 | 1 | package Resmon::Module::INODES; |
|---|
| 4 | 2 | use Resmon::ExtComm qw/cache_command/; |
|---|
| … | … | |
| 7 | 5 | @ISA = qw/Resmon::Module/; |
|---|
| 8 | 6 | |
|---|
| 9 | | my $dfcmd = ($^O eq 'solaris') ? 'df -Fufs -oi' : 'df -i'; |
|---|
| | 7 | my $dfcmd = ($^O eq 'solaris') ? 'df -Fufs -oi' : 'df -iP'; |
|---|
| 10 | 8 | |
|---|
| 11 | 9 | sub handler { |
|---|