User Tools

Site Tools


sar_reporting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sar_reporting [2011/10/02 15:54]
k2patel [sa report]
sar_reporting [2012/04/30 15:15]
k2patel [Notify Script]
Line 35: Line 35:
 </​code>​ </​code>​
  
 +==== Terms Used ====
 +<code text>
 +    tps: total number of transfers/​sec
 +    rtps: total number of read requests/​sec
 +    wtps: total number of write requests/​sec
 +    bread/s: Total amount of data read from the drive in blocks per second. A block is 512 bytes.
 +    bwrtn/s: Total amount of date written to the drive in blocks per second.
 +</​code>​
 ==== sa report ==== ==== sa report ====
 This script goes to cron. This script goes to cron.
Line 87: Line 95:
 my $DEFAULT_SENDER = '​k2patel@localhost.localdomain';​ my $DEFAULT_SENDER = '​k2patel@localhost.localdomain';​
 my $DEFAULT_RECIPIENT = '​k2patel@hotmail.com';​ my $DEFAULT_RECIPIENT = '​k2patel@hotmail.com';​
 +my $def_cc = '​sjohn@live.com';​
  
 my $stamp = `date -d 'now -1 days' +%b-%d-%y`; my $stamp = `date -d 'now -1 days' +%b-%d-%y`;
Line 106: Line 115:
 From => $o{f}, From => $o{f},
 To => $o{t}, To => $o{t},
 +cc => ($def_cc),
 Subject => $o{s}, Subject => $o{s},
 Data => "​Hi",​ Data => "​Hi",​
Line 118: Line 128:
 $msg->​send();​ $msg->​send();​
 </​code>​ </​code>​
- 
 ==== SE Linux  ==== ==== SE Linux  ====
 Following rules add exceptiong for selinux. Following rules add exceptiong for selinux.
sar_reporting.txt ยท Last modified: 2020/08/10 02:35 (external edit)