Search Results

Search: Posts Made By: lstorm2003
6,019
Posted By lstorm2003
-F or --retry doesn't seem to work on my system...
-F or --retry doesn't seem to work on my system (AIX 5.3):
$>tail -n1 -F IMC_Stats.log
Usage: tail [-f] [-c Number|-n Number|-m Number|-b Number|-k Number] [File]
Usage: tail [-r] [-n Number]...
47,383
Posted By lstorm2003
Try: 0,5,10,15,20,25,30,35,40,45,50,55 * * *...
Try:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/shahnaz/abc.sh >> /home/shahnaz/abc.log 2>&1
38,938
Posted By lstorm2003
How about: #!/bin/sh ...
How about:


#!/bin/sh

#############################################################################
# This script is for monitoring disk usage and for alerting when the disk
# usage exceed...
2,819
Posted By lstorm2003
How about: #!/bin/ksh values=`cat...
How about:

#!/bin/ksh

values=`cat testvalue`
DATABASES=`echo "select agroup,tgroup from acc_gen..agroups where tgroup in ( $values )
go
" | isql -Uro -Pcup0fj0e -Sdev1client420 | grep acc_`...
6,019
Posted By lstorm2003
How do I get my script to monitor a new file using tail?
Hi,

I have a script which basically watches a log file for new lines using tail, then takes action based on what is logged. I wrote a script to do this for me and its working great, my only...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 02:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy