Search Results

Search: Posts Made By: mskalyani9
9,178
Posted By mskalyani9
HI Iam looking for the time when the file has...
HI
Iam looking for the time when the file has been modified/created.
actually through one cron the files are getting created every min. so for every 3 hours i want to delete the old files which are...
9,178
Posted By mskalyani9
files older than few hours
Hi All
I need to know the command which can be used to list the files which are 3 hours old so that it can be deleted.
1,331
Posted By mskalyani9
log monitoring continously and executing commands
Hi
I want a script which continously searches for a work "MAX xonnections reached" in log file . As soon as it sees the message it needs to do series of steps
1) execute netstat command and...
1,991
Posted By mskalyani9
hi i need to monitor the log file and need to...
hi i need to monitor the log file and need to perform the series of steps as soon as i see some text .the below code is just greeping data .
1,991
Posted By mskalyani9
Pager Alert
I want to check the log file continoulsy and to send a page alert if i see specific message like Reached Max Connrctions . Please suggest how to do this through script
DO i need to enable the...
2,772
Posted By mskalyani9
Text to XML conversion using script
Hi
I have a file in the format with so many records
DB2 Universal JDBC Driver Provider,wdialdcsq,New JDBC Datasource,jdbc/wdialdcsq,,dcsqdb2n,cldrdgw1.is.chrysler.com,2998,DB2,10,1,180,0,1800
i...
11,465
Posted By mskalyani9
Hi that worked thanks . If my file is...
Hi
that worked thanks . If my file is /clocal/www/logs/IHS/webs5486/access.29Oct-12:15AM.gz

how can i get the path /clocal/www/logs/IHS/webs5486/? from the above line?
11,465
Posted By mskalyani9
when i tried the command echo "$fname" | sed...
when i tried the command
echo "$fname" | sed 's/\(access\).\([0-9][0-9]*\)\([JFMASOND][a-z][a-z]\)-\([0-9][0-9]*\):\([0-9][0-9]*\)\([AP]M\)$/\1 \2 \3 \4 \5 \6/' | read a b c d e f

i got all...
11,465
Posted By mskalyani9
Awk command to split file name
Hi
I have few files with format access.2Nov-12:15AM.
These files will be generated daily . I need to write a script so that if today's date is less than 10 then it has to zip the file and rename it...
Showing results 1 to 9 of 9

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