9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to calculate avg response time on hourly basis from the log file which has millions of records.
As of now I am trying with creating temp file which will have lines with unique id and start time and end time and after that another script will run on this temp file to... (7 Replies)
Discussion started by: random_thoughts
7 Replies
2. Shell Programming and Scripting
Hey all,
I have a set of 5-second data as shown below. I need to find an hourly average of this data.
date co2
25/06/2011 08:04:00 8.30
25/06/2011 08:04:05 8.31
25/06/2011 08:04:10 8.32
25/06/2011 08:04:15 8.33
25/06/2011 08:04:20 ... (5 Replies)
Discussion started by: gd9629
5 Replies
3. Shell Programming and Scripting
Hi,
I have to upload a file test_201105281100.txt to a ftp location.
The files will be created on hourly basis like test_201105281100.txt, test_201105281200.txt & so on.
After a file is uploaded successfully, I need to rename the file as test_201105281100.success & if it is not uploaded... (11 Replies)
Discussion started by: SunilB2011
11 Replies
4. UNIX for Advanced & Expert Users
In my cron job on one system I have log files removed older than 3 days, like so: find /u01/arch/PRD8 -mtime +3 -a -name "*.log" -exec rm {} \;
On another system I would like to check and remove anything older than 2 hours.
Any help would be greatly appreciated :wall: (7 Replies)
Discussion started by: georgia
7 Replies
5. Shell Programming and Scripting
dear all,
pls help on this script..
i have many files which will be created every mins in particular directory.
i want to grep a particular string from only for unique hour files.
from the below code i want to grep a string from only 9th hour files .
Ex files:
-rw-r--r-- 1 root ... (5 Replies)
Discussion started by: steve2216
5 Replies
6. UNIX for Dummies Questions & Answers
I have a system where i take hourly back-ups of the system.The script for maintaining full backup for the last 5 days is
find /backup/server -type f -mtime +4 -exec rm -f {} \;
works fine for keeping the files of some 5 days old.
In the case of hourly backups.How do we write to keep... (2 Replies)
Discussion started by: ravi55055
2 Replies
7. Solaris
I need to capture the following data on an hourly basis through cronjob scheduling:-
1. load averages
2. Total no. of processes.
3. CPU state
4. Memory
5. Top 3 process details.
All the above information is available through the command 'top'. But here we need to automate the same and... (4 Replies)
Discussion started by: subharai
4 Replies
8. Red Hat
I need to Change threshold of rotation of kannel logs.
At the moment, Kannel (the SMS gateway system) logs activities in log files which are rotated daily.
Due to high traffic, the logs grow fast every day before they are rotated; meaning that the write speeds while logging slow down due to large... (2 Replies)
Discussion started by: Targ
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
New to the forum, Great site, I can learn a lot from here!! :cool:
I would like to know how to automate a command that checks the Sybase database's are "alive" on an hourly basis, and mails outlook if they are not (1 Reply)
Discussion started by: mals
1 Replies