Show
Ignore:
Timestamp:
04/25/10 22:16:59 (4 years ago)
Author:
Jason Dixon <jdixon@omniti.com>
git-committer:
Jason Dixon <jdixon@omniti.com> 1272233819 +0000
git-parent:

[f24888a3fadc40802cd1a85d2e6c7aa416a5aadd]

git-author:
Jason Dixon <jdixon@omniti.com> 1272233819 +0000
Message:

freebsd support

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Core/Memstat.pm

    rf24888a r1e9cbdd  
    112112        close(MEMINFO); 
    113113        return \%metrics; 
    114     } elsif ($osname eq 'openbsd') { 
     114    } elsif ($osname eq 'openbsd' || $osname eq 'freebsd') { 
    115115        my $output = run_command("$vmstat_path"); 
    116116        if ($output =~ /.*cs\s+us\s+sy\s+id\n\s+\d+\s+\d+\s+\d+\s+(\d+)\s+(\d+).*/) {