2
votes
2answers
54 views

How to get the time in Hawaii from the OS X command line?

As the title states, I would like to get the current time in Hawaii (UTC -10:00) from the OS X command line. Could anyone help?
1
vote
2answers
315 views

Measure a process' run time in Windows and Linux

I'm writing a program that performs certain optimizations on an executable file and am looking for a way to measure the time the executable took to run. I've been using a script that measures the ...
2
votes
2answers
169 views

Converting epoch seconds to time inline (preferably vim, but command line would be cool)

I have a file with the format 47 2013-05-01 1367406011 2 30 15 47 2013-05-01 1367406388 1 29 14 43 2013-05-01 1367407469 1 26 12 42 2013-05-01 1367407489 1 25 11 42 2013-05-01 1367407810 1 24 11 39 ...
0
votes
1answer
385 views

Need a script to calculate batch file execution time

I need a script that I can call/include from another batch file (.bat) that can calculate the amount of time it takes to execute the first batch file. The script would be used for automation on both ...
12
votes
3answers
158k views

How can I check a system's current NTP configuration?

I need to verify the current NTP configuration on some Windows systems. Ideally, I'd like to be able to do this via command line instead of navigating through configuration screens (especially since ...
2
votes
1answer
118 views

How can I access a more accurate time in a command prompt

I am running a batch script to retrieve information from a device. Tieing this up with a separate log file requires accuracy greater than the minute accuracy I can get using time /t. This question ...
1
vote
2answers
474 views

Find command taking too long on ubuntu 10.10

The find command is taking too long on my machine to complete. When I use time command, I find that sys time and user time are too small as compared to real time. Is my find process not getting ...
2
votes
3answers
363 views

Where does `time` output its result?

I'm on Ubuntu. Running time seems to output its result to something other than STDOUT or STDERR. Here's why I think so: [siminm@amide ~]$ time echo hi hi real 0m0.000s user 0m0.000s sys ...
5
votes
4answers
4k views

Timezone conversion by command line

I know about http://www.timeanddate.com/worldclock/converter.html I can't figure out how to query http://www.google.com in a sane natural format like "5pm BST in PST". Or do I have to write such an ...
1
vote
6answers
834 views

Need a Linux command that takes much time

Don't ask why, but I would like to know a linux command, besides "la -laR", since that could not take that long according to where you are in the folder structure, that takes much time to complete.
2
votes
2answers
2k views

ls in cmd window gives one hour off time

I have ls installed on my Windows XP computer. It came with msysgit. I've had it a while and it turns out I use it quite a lot even in the DOS prompt. More than dir. The thing is that it gives me ...
2
votes
2answers
5k views

Syncing your clock from command line

I manage a bunch of kiosk style PCs and I have noticed that my test machines have their time drifting a bit. I'm curious, does anyone know of an freeware time syncing application that can easily be ...
2
votes
2answers
355 views

timing a program

I am runnning a program in a linux server as well as timing its time usage by command time. Looking at the final output, I am confused since I thought "real=sys+user" or it at least approximately ...
6
votes
4answers
5k views

Easiest way to time a command line tool

What is the easiest/quickest way to time a command line tool? It doesn't have to be super accurate (+/- seconds is okay) since I expect this to take minutes or even 1 hour+. And writing a batch file ...