Sar and mail


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Sar and mail
# 1  
Old 05-31-2005
Sar and mail

I am generating a SAR output file every minute for 8 hours to stress test the box. Whenever i hit %idle less than 20.00, I need to grep for it and send an email or send a page. How would i write a shell script for this?

Thanks, ST2000
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies

2. UNIX for Advanced & Expert Users

Sar during a test

Hi All, I am trying to run sar on a Redhat server during a test I am performing for a couple of hours. I would like to get the sar metrics for every second (instead of the regularly set up 10 minute interval in the cron). What is the most efficient way to do this? Thanks, Shahzad (6 Replies)
Discussion started by: sleo
6 Replies

3. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

4. AIX

SAR

I am running below script to display last 48 hour data but the output is not displaying heading - AIX eqrdb26u1 1 6 00CFD5E34C00 01/21/10 System configuration: lcpu=8 ent=2.00 mode=Uncapped 22:31:40 %usr %sys %wio %idle physc %entc and footer - Average 25 9 ... (1 Reply)
Discussion started by: noorm
1 Replies

5. AIX

sar

I am trying to set up sar on my AIX server. We have been running sar and getting reports on out Linux boxes in the past but would like to try to do the same in AIX. On my Linux i have a sar.sh that looks like this: #!/bin/bash LC_ALL=C sar -A -f /var/log/sa/sa27 > /server023.txt LC_ALL=C sar -A... (1 Reply)
Discussion started by: seacros
1 Replies

6. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

7. HP-UX

Sar

Hey guys in sar -v 5 5 command what is the proc means. (1 Reply)
Discussion started by: sbn
1 Replies

8. UNIX for Advanced & Expert Users

sar error

at work i have a HP-UX box. i attempt to use sar to monitor but it comes up with following message: can't open /var/adm/sa/sa13 i recreated the file as i thought that was the problem but it was not. cheers hush (2 Replies)
Discussion started by: hu$h
2 Replies

9. AIX

error with sar

hello when i want to launch tha sar command with some arguments, i have this message : sar -mu -P ALL sar: 0551-201 Cannot open /var/adm/sa/sa08. sar: 0551-213 Try running /usr/lib/sa/sa1 <increment> <number> if I look in /var/adm/sa, there is nothing, no file. the sar 2 5 is available.... (2 Replies)
Discussion started by: pascalbout
2 Replies

10. Filesystems, Disks and Memory

sar

We have a script that uses sar -u 1 10 | awk '/Average/ { print ( $2 + $3 ) }' to get the CPU usage of a mutli engine machine. We think we are getting wrong information from the above string. We think it is adding up the total of the 12 engines and reporting back the total not the overall... (5 Replies)
Discussion started by: kevinb
5 Replies
Login or Register to Ask a Question
CAPISUITEFAX(1) 														   CAPISUITEFAX(1)

NAME
capisuitefax - sending faxes with the CapiSuite default scripts SYNOPSIS
capisuitefax [-q] [-n] [-u user] [-A adr] [-S subj] -d number file... capisuitefax [-q] -a id capisuitefax -h capisuitefax -l DESCRIPTION
The default scripts for CapiSuite come with the tool capisuitefax for sending faxes. It will be called with some parameters telling it which file to send (it currently only supports PostScript and PDF files) and to which number. It will then enqueue the job converted to the right format into the send queue from which it's collected by another CapiSuite script and sent to the destination. If the sending was completed successfully or failed finally after trying for some time, the according user will get an email telling him/her what has happened. OPTIONS
-a id Abort the job with the given id. To get a job id, use the -l option. -A adr The addressee of the fax. This option is (currently) only for informational purposes and will be quoted in the sent status mail. -d number The number which should be called (destination of the fax) -h Show a short commandline help -l Shows the jobs which are currently in the send queue. -n Don't use the configured dial prefix for this job. Useful for internal jobs. -q Be quiet, don't output informational messages -S subj A subject for the fax. This option is (currently) only for informational purposes and will be quoted in the sent status mail. -u user Send fax as another user. Only allowed if capisuitefax is called as user root. This is mainly helpful for realizing extensions to e.g. do network faxing. file... One or more PostScript/PDF files to send to this destination. More than one PostScript file will produce several separate fax jobs. SEE ALSO
capisuite(8), capisuite.conf(5), fax.conf(5), answering_machine.conf(5) AUTHOR
Gernot Hillier <gernot@hillier.de>. CAPISUITEFAX(1)