10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Attached is a generated script of the database files if/when we want to run dbv = dbverify.
The script runs fine by itself but it does take awhile to finish. In a worse case scenario, it can take up to 7 hours to finish as the dbv runs serially.
I need help and guidance to somehow... (5 Replies)
Discussion started by: newbie_01
5 Replies
2. Shell Programming and Scripting
Hi All,
I have scenario where i have to compare two dates.
I thought of converting them to epoch seconds and do a numeric comparison.
This works fine on Linux systems.
$ date -d '2015/12/31' +%s
1451538000
$ date +%s
1449159121
But we don't have -d option in HPUX.
What would be... (5 Replies)
Discussion started by: veeresh_15
5 Replies
3. Shell Programming and Scripting
Hello All,
I am working on script where I need to add hours,minutes or seconds in the time.Time is not the current but it could be future time.I thought I can store that time in variable and add hours.minutes or second but I am not able to add that in the time that is stores in a variable.
Time... (9 Replies)
Discussion started by: anuragpgtgerman
9 Replies
4. Shell Programming and Scripting
Hi friends,
I have a file with contents below:
01.m4a 00:14:45.82, 01.mp4 00:03:46.05, -659.770000
05.m4a 00:27:43.51, 05.mp4 00:27:45.10, 1.590000
06.m4a 00:11:39.73, 06.mp4 00:11:44.60, 4.870000
If 5th column value more than 3 or less than -3 then I should get its name (from first... (2 Replies)
Discussion started by: magnus29
2 Replies
5. Shell Programming and Scripting
Hi,
I am looking to write a script to kill the process which are running for more than 7 days.
So i have a command like
"ps -eo pid,etime,args | grep -i xxxx" ( process which has xxx in it and running for more than 7 days needs to be killed ).
When i exeucte the above command , i am... (2 Replies)
Discussion started by: forums123456
2 Replies
6. Shell Programming and Scripting
Dear experts,
I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140
1302501033105
1302511536485
1302512669550
I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies
7. Shell Programming and Scripting
I'm Using this script to find the time of a file. I'm very much new to PERL
and found this script posted by some one on this forum.
It runs perfectly fine, just that it gives me following errors with the
accurate output as well. I jus want the output to be stored in another file
so that i can... (0 Replies)
Discussion started by: bankimmehta
0 Replies
8. Shell Programming and Scripting
Hi All
I need to convert a number of fields in a record from seconds to hh:mm:ss ( or possibly hhh:mm:ss ). I'm guessing awk is the way to go .
File has multiple records and each record contains 101 fields - can awk handle that ? The seconds values will be in fields 3 - 101 and could be 0.
... (4 Replies)
Discussion started by: Mudshark
4 Replies
9. Shell Programming and Scripting
Does anyone know of a way to convert "seconds" to time of day in "hh:mm:ss" ?
Trying to do in awk with strftime but with no luck.
Thanks (2 Replies)
Discussion started by: timj123
2 Replies
10. Shell Programming and Scripting
Is there an easy method to do an on the fly conversion of a standard epoch time (seconds from 1970) to more readable date format?
Does Unix have anything built in to do this? (4 Replies)
Discussion started by: LordJezo
4 Replies