1
vote
1answer
356 views

Significance behind January 6 1980 server time

Today my iPhone reset it's date to Jan. 6 1980... I googled it and apparently it's a very common problem (A ton of results for January 1980... Most if not all were in January 6th of 1980)... the ...
1
vote
2answers
171 views

Linux, Unix, Windows… Is access/modify time relative to system time?

I have searched, but can't find the right terminology. For example, if today was Friday, and a file was modified on Wednesday, then when I change the system time to Saturday, does the file's mtime ...
0
votes
4answers
357 views

How to set the time temporarily in Linux

I am testing some code with some random numbers generated with the current time as the seed using srand(time(0)) I'd like to get the same random numbers every time when I run it. So I want to set ...
3
votes
1answer
321 views

Using time to get CPU usage of a process, but not its children

When using time some_executable - the system and user CPU time returned actually includes all the CPU time of any child processes launched by the named executable (this was news to me, actually). I ...
3
votes
1answer
384 views

How do I use options with time?

Whenever I try to use options with the time command, such as format (-f, --FORMAT), I get the following error: bash: -f: command not found How do I use options with time?
0
votes
3answers
76 views

Is there any file I can read in unix which contains the time

Is there any file in unix based system which I can read, to get the same value that time() in php would return?
0
votes
1answer
194 views

Can I set a unique date/time for a single user in Ubuntu?

Is there a way to give different users unique system date/times in Ubuntu? For example, if I wanted the date to always be June 22nd for user Bob (because that's his birthday) but still have the ...
2
votes
1answer
200 views

How do I find the amount of minor page faults using “time”?

How do I use the time utility to show the number of minor page faults?
2
votes
2answers
388 views

time command - what intervals do user and sys parameters measure?

I did a time on my script and this is what I got: $ time <myscript> real 7m5.458s user 0m7.444s sys 0m3.748s $ which means that it ran for 7 minutes and 5.458 seconds. What do the ...
2
votes
3answers
259 views

How short a time can time (the Linux program) measure?

I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of ...
2
votes
1answer
81 views

saving the results of the time command while discarding the results of the command being timed (unix)

I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't ...
1
vote
2answers
86 views

Time synchronisation service on UNIX

I have a VPS running Debian. The time that it reports from the date command is two minutes fast. Is there a service that I can install that will keep the time correct?