package HotSaNICmod::OSdep; sub version { ($VERSION = '$Revision: 1.5 $') =~ s/.*(\d+\.\d+).*/$1/; return "$^O.pm $VERSION"; } sub sample { my ($drive,$KBt,$xfr,$time,$MBs); open IOSTAT, "/usr/sbin/iostat -Ix |" or die time."diskio: $!"; while () { chomp; ($drive,$KBt,$xfr,$time,$MB) = split / +/, $_; next if ($drive =~ /device/); HotSaNICmod::do_rrd($drive,"U",time,$KBt*1024,$xfr,$time,$MB*1024*1024); } close IOSTAT; } 1; WebSVN - hotsanic - Blame - Rev 9 - /branches/HotSaNIC-0.5.0-pre6/modules/diskio/platform/netbsd.pm
  jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-pre6/] [modules/] [diskio/] [platform/] [netbsd.pm] - Blame information for rev 9

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1