Clocking issues in VM under Solaris

brettw

Member
I'm rebuilding the VM for Solaris now but last night I observed that on scripts / binaries etc. that have a timing function (e.g. ".... timeout in 5 seconds with default" ) it would wait only about 1 sec before execution.

Could someone on Linux and / or Solaris try this below and let us know if the results are odd ?

$ time sh -c 'sleep 5'

results should be something like this:

real 0m5.020s
user 0m0.000s
sys 0m0.020s


thanks ...
 
Linux Leda 2.6.12-10-386 #1 Sat Mar 11 16:13:17 UTC 2006 i686 GNU/Linux
Parallels Workstation
Last login: Mon Apr 10 19:06:14 2006
Leda:~> time sh -c 'sleep 5'
0.000u 0.015s 0:05.01 0.1% 0+0k 0+0io 0pf+0w
Leda:~> time sh -c 'sleep 5'
0.000u 0.013s 0:05.00 0.2% 0+0k 0+0io 0pf+0w
 
sas - thanks .... that at least tells me it works on linux .... I'm still a bit confused about why it would pretty much bypass time events on solaris ... for example the boot loader doesn't pause for the 5 secs it normally does. I'll have to investigate further once I get a new load done.
 
Back
Top