10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies
2. Shell Programming and Scripting
I have two dates in below format, how would I find the hours difference between the two dates. Im using AIX and ksh.
Current date : Wed May 17 14:34:41 SGT 2017
File date : Thu Apr 27 20:52:41 SGT 2017 (3 Replies)
Discussion started by: simpltyansh
3 Replies
3. Solaris
Hi
I need to setuop a cron entry to run every 5 min, only in office hours (between 8:00AM to 18:00PM, I did the following:
0,5,10,15,20,25,30,35,40,45,50,55 8,9,10,11,12,13,14,15,16,17,18 * * * /home/xxx/zzz.ksh
But somehow does not work.
Could it be wrong? (8 Replies)
Discussion started by: fretagi
8 Replies
4. Shell Programming and Scripting
I have unix epoch time 1441678454803, Can you please help me to print this time in below format ?
DAY,HOUR,MIN,SEC
Appreciate your help!!!
Thanks,
Prince (7 Replies)
Discussion started by: prince1987
7 Replies
5. Shell Programming and Scripting
Hi,
i have a date 1- 2013101511
date2 -2013101812
need toget the no of hours between them,can any one tellme the logic. (6 Replies)
Discussion started by: sandeep karna
6 Replies
6. Shell Programming and Scripting
Hi,
I have a text file containing numbers. There are up to 6 numbers per row and I need to read them, check if they are 0 and if they are not zero check if they are within a given interval (min,max). If they exceed the max or min they should be set to max or min respectively, if they are in the... (4 Replies)
Discussion started by: f_o_555
4 Replies
7. Shell Programming and Scripting
Hi,
Can any one help me on this.
How to capture the running process for two hours with an interval of 10 sec.
Thanks in andvance (1 Reply)
Discussion started by: sarathkumar
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Can any one help me on this.
How to capture the running process for two hours with an interval of 10 sec.
Thanks in andvance
Double post, continued here, thread closed (0 Replies)
Discussion started by: sarathkumar
0 Replies
9. Shell Programming and Scripting
Hi All,
How to get previous 5 min time stamp in hh:mm format ?
suresh (1 Reply)
Discussion started by: suresh3566
1 Replies
10. Shell Programming and Scripting
Hi experts,
I am reading two log files and passing dates as output to a txt file.
Code is given below:
echo "Start Time:" >> Report.txt
cat start.log | while read LINE1
do
echo $DATE1 >> Report.txt
done
echo "End Time:" >> Report.txt
cat end.log | while read LINE2
... (7 Replies)
Discussion started by: Sreejith_VK
7 Replies