10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Is there any command to add additional time to date command. I need to add 5 hours to the present system time. I am getting the time by using date command.
WORKFLOW_START_TIME=`date +%m/%d/%Y\ %H:%M:%S`
Thanks (8 Replies)
Discussion started by: nag_sathi
8 Replies
2. Shell Programming and Scripting
Hi ,
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
Discussion started by: sushwey
9 Replies
3. Solaris
On Solaris 10 server the system date won't match with the timestamp on files created by a cron jobs, Please help
here is what i get when i check for system date
infodba-ie10ux014:/tcpdv1_ie10/tcadmin/bin\n\r-> date
Tue Apr 24 15:27:43 GMT 2012at same time i executed a cron job, and checked... (4 Replies)
Discussion started by: karghum
4 Replies
4. Shell Programming and Scripting
I am trying to write a script which will compare the start time of a process with the current time. but I am having trouble finding the command to get the current time. (3 Replies)
Discussion started by: akabir77
3 Replies
5. Solaris
i am using function
gethrtime() in sun solaries
to get the time independent of the system time.Problem with this function is if we restart the system time will change to '0'.is there any other way to resolve this problem.
thanks & regards
suresh (3 Replies)
Discussion started by: suresh_rtp
3 Replies
6. Shell Programming and Scripting
I have a requirement of checking the current system time and performing certain actions in a shell script. example:
if the current system time is greater than 1400 hrs, then perform step 1,2,3
if the current system time is greater than 1000 hrs, then perform step 1,2
if the current system time... (2 Replies)
Discussion started by: zainravi
2 Replies
7. Shell Programming and Scripting
Hey all,
I need to write a script which will invoke another script everything 5 minutes until certain time is reached (say 4:00 pm). Can anyone give me some pointers please? Thanks! (1 Reply)
Discussion started by: mpang_
1 Replies
8. Programming
I would like to get the system time down to the milli second. Is there any way to do this.
clock_gettime only gives you the time to the nearest second. How can I get it down to the nearest milli second?
THanks (1 Reply)
Discussion started by: dmirza
1 Replies
9. Solaris
I've installed Solaris 8, but didn't quite give it the correct (machine) time.
Think the machine is out of sync.
Can I change that afterwards or do I have to do another install right from the beginning? (1 Reply)
Discussion started by: kuultak
1 Replies
10. Shell Programming and Scripting
Hi,
I am new to Unix. I have an application which i need to monitor it for the available system time. If the system is down, i need to send an email notifying the downtime. Can someone provide a sample code or shell script to perform the above activity.
Thanks (3 Replies)
Discussion started by: borncrazy
3 Replies