Ver código fonte

Updated usage example

Paul Trost 11 anos atrás
pai
commit
3316470050
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      lib/Disk/SMART.pm

+ 4 - 1
lib/Disk/SMART.pm

@@ -19,9 +19,12 @@ Disk::SMART - Provides an interface to smartctl to return disk stats and to run
 =head1 SYNOPSIS
 
 Disk::SMART is an object oriented module that provides an interface to get SMART disk info from a device as well as initiate testing.
+
     use Disk::SMART;
 
-    my $smart = Disk::SMART->new('/dev/sda');
+    my $smart = Disk::SMART->new('/dev/sda', '/dev/sdb');
+
+    my $disk_health = $smart->get_disk_health('/dev/sda');
 
 =cut