10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
developing a monitoring shell script to have my queue depth count over mail .
here is the sample input file to the script which has all the queue names 1 : DISPLAY QUEUE(*) WHERE (CURDEPTH GT 0)
ZFC8409: Display Queue details.
QUEUE(QL.GVR.ATA.CACHE.01) ... (10 Replies)
Discussion started by: wims
2. Shell Programming and Scripting
I am on AIX using ksh; I am processing the input files and generating a awk_output.txt file using AWK. By reading that awk_output.txt file, I am building a output.html file which is cat and then fed to /usr/sbin/sendmail .When the shell script is triggered through command... (2 Replies)
Discussion started by: chill3chee
3. Shell Programming and Scripting
I have database table let say t_filenames which stores filenames and date_format in two columns.
Actual files are available in a directory (say /tmp), actual files are with... (2 Replies)
Discussion started by: pointers1234
4. Shell Programming and Scripting
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
LST_NM... (6 Replies)
Discussion started by: dani1234
5. Shell Programming and Scripting
I want to redirect the output of 3 scripts to a file and then mail the output of those three scripts.
I used below but it is not working:
echo "report1 details" > $OFILE
=/home/home1/1.sh > $OFILE
echo... (7 Replies)
Discussion started by: Vivekit82
6. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
7. Shell Programming and Scripting
Hi all, I'd like to capture the output from the 'top' command to monitor my CPU and Mem utilisation.Currently my command isecho date
`top -b -n1 | grep -e Cpu -e Mem` I get the output in 3 separate lines.Tue Feb 24 15:00:03
Cpu(s): 3.4% us, 8.5% sy .. ..
Mem: 1011480k total, 226928k used, ....... (4 Replies)
Discussion started by: new2ss
8. Shell Programming and Scripting
i need to send 2 diff mail in a single script:Below the script
echo "enter the number"
mail -s "test" email@example.com
mail -s "test" firstname.lastname@example.org,email@example.com
echo "test again"
fi... (5 Replies)
Discussion started by: ali560045
9. UNIX for Advanced & Expert Users
i am using a script to create a file which contains the mail to be sent.in every steo this file grts appended through out the script using several variables.now i want to convert it into html format so that the mail will have better look and feel and the font color and size can be changed.
i tried... (3 Replies)
Discussion started by: dr46014
10. Shell Programming and Scripting
I have a script that runs off the cron and creates a report, carries out a few checks and then sends the info in a email (i'm using mailx).
To exectute the sending from the script all I do is,
cat $reportfile | mailx -s "The Subject" firstname.lastname@example.org
When I test running this... (4 Replies)
Discussion started by: nhatch