10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a log file that looks like this. the lines are grouped. 2 lines per entry.
M: 2019-01-25 13:02:31.698 P25, received network transmission from KI4EKI to TG 10282
M: 2019-01-25 13:02:35.694 P25, network end of transmission, 4.3 seconds, 1% packet loss
M: 2019-01-25 13:02:38.893 P25,... (7 Replies)
Discussion started by: ae4ml
2. Shell Programming and Scripting
I am still new to UNIX, and am having trouble figuring out how to create a script to scan a log file to look for errors based on a string.
We run AIX 5.3, and would like the ability to report all the instances of WebSphere Broker Execution groups crashing. This script would... (8 Replies)
Discussion started by: jimbojames
3. Shell Programming and Scripting
I have a log file that I need to check every 10 minutes to find if a specific error exists but only in that 10 minute period. The reason is that the log is quite large, and will frequently contain these errors, so I only want alerting if it in the last 10 minutes - I don't want... (3 Replies)
Discussion started by: paul_vf
4. Shell Programming and Scripting
Can we capture and write all the error messages which were being displayed on the command prompt screen during execution of a program into a log file?
If yes, can anyone please let me know on how to do it?
I am using ksh and working on AIX server.
Thank you in advance. (4 Replies)
Discussion started by: vpv0002
5. Shell Programming and Scripting
OS: SuSE Linux Enterprise Server 10
To track the errors in log file, If they exits users will be notify by email.
We have a script below:
http:// ! -f PATH/alert.last && touch PATH/alert.last
egrep $SrchKey $LogFile... (3 Replies)
Discussion started by: sdhn1900
6. Shell Programming and Scripting
i have this script which works fine but shows errors when it runs..these are more like warnings and the script runs fine.. i am on a sun machine.. i know it writes all the error messages to a master log file.. is there any way i can turn off these warnings/error messages and prevent them from being... (2 Replies)
Discussion started by: npatwardhan
7. Shell Programming and Scripting
script outputting cant find anything wrong with the script either... :
#count execution script
time=`expr $time + 1`
echo "The current tick is 100"
fi (2 Replies)
Discussion started by: aspect_p
8. Shell Programming and Scripting
I am working on a generic script that will run a shell script with the arguments passed and redirect errors to one file, and all other output to another file. Then if there is anything in the error file it emails the error to me, otherwise it exits.
The advantage for this approach is that I... (0 Replies)
Discussion started by: gandolf989
9. Shell Programming and Scripting
Well I have a 3000 lines result log file that contains all the machine data when it does the testing... It has 3 different section that i am intrsted in
1) starting with "20071126 11:11:11 Machine Header 1"
"End machine header 1"
2) starting with "20071126 12:12:12 Machine... (5 Replies)
Discussion started by: vikas.iet
10. Shell Programming and Scripting
This is the file am having:
I want to display the output in three files... (23 Replies)
Discussion started by: dave_nithis