Changeset bdad5b9caa6873d370daf5229bc8d12f5518c49c

Show
Ignore:
Timestamp:
02/19/10 21:24:41 (5 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1266614681 +0000
git-parent:

[bab121b19bfb4f44d00ce8073f4bbac2677ddaa3]

git-author:
Mark Harrison <mark@omniti.com> 1266614681 +0000
Message:

Fix the inodes check on openbsd

git-svn-id: https://labs.omniti.com/resmon/trunk@246 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Module/INODES.pm

    r9621bed rbdad5b9  
    1313                      $dfregex = '(\d+)\s+(\d+)\s+(\d+)\s+(\d+)%'} 
    1414    case 'openbsd'  { $dfcmd = 'df -i'; 
    15                       $dfregex = '(\d+)\s+(\d+)\s+(-?\d+)\s+(\d+)%\s+(\d+)\s+(\d+)\s+(\d+)%'} 
     15                      $dfregex = '\d+\s+\d+\s+-?\d+\s+\d+%\s+()(\d+)\s+(\d+)\s+(\d+)%'} 
    1616    else            { $dfcmd = 'df -iP'; 
    1717                      $dfregex = '(\d+)\s+(\d+)\s+(\d+)\s+(\d+)%'}