10-19-2010
1) compare $( wc -l <file ) to $( sort -u file | wc -l ) to detect dups, echo "Message $variables more message!" | mailx -s subject-line email_addr@their_host
2) echo "Message $variables more message $( wc -l <file ) !" | mailx -s subject-line email_addr@their_host
3) see 1.
4) if ( rows affected from whatever db tool output) == 0 != ( wc -l file ) then echo "Message $variables more ( rows affected from whatever db tool output) message $( wc -l <file ) !" | mailx -s subject-line email_addr@their_host
BTW, Date/Time stamps in the email subject are nice. Host names or something to identify test versus production is very good, too.
3 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
We are searching for DEVICE MAPPER TABLE FORMAT and how to access it through user space??
We are working on enhancement in multipatrhing as 1] scalable path testing 2] event mechanism 3] i/o load sharing.
So we need to access device info as well as all paths to that device, devices status,paths... (1 Reply)
Discussion started by: rajaryan99
1 Replies
2. UNIX for Dummies Questions & Answers
Hi..
when i delete a Lun from a Array on a SAN, and again when i create a Lun it shows that the newly created Lun has the ID of the Old deleted Lun which is leading to data corruption. All this is handled by the Multipath software. can anybody help. (0 Replies)
Discussion started by: Praveen13
0 Replies
3. Shell Programming and Scripting
I have below folder structure
.
|--summit
| |----xpnldetails
| |----trades
| |----svar
| | |------checksum
| |----xpnl
| |----adjustment
| | |------summit
| | |------ap
| |----risks
| |----hypopnl
| |----fxeffect
| |----audittrail
|... (0 Replies)
Discussion started by: manas_ranjan
0 Replies
LEARN ABOUT DEBIAN
insanity-compare
GST-QA-SYSTEM(1) gst-qa-system User Manual GST-QA-SYSTEM(1)
NAME
insanity-compare - program to compare two test results in database
SYNOPSIS
insanity-compare {testrundbfile} {testrunid} {testrunid}
DESCRIPTION
This manual page documents briefly the insanity-compare command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
insanity-compare is a program that can compare two test results by their testrunid.
SEE ALSO
insanity-dumpresults(1), insanity-run(1)
AUTHOR
Ying-Chun Liu <paul.liu@linaro.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2011 Ying-Chun Liu (PaulLiu)
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1
or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL-2.1.
insanity-compare 12/26/2011 GST-QA-SYSTEM(1)