Re: 2.6.14-rc4-rt1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Fernando Lopez-Lezcano <[email protected]> wrote:

> > Or maybe:
> > 'time sleep 10'
> > 
> > Lets the machine time it.
> 
> My first thought was "this can't work" as I imagined the same timing 
> services would be used and you would get always 10 secs or so...

yeah, was my initial thought too. If you have an ssh login on any other 
local box (and have ssh autologin enabled), then there's a good way to 
script this:

	time ssh otherbox "time ssh thisbox \"sleep 10\""

this way you'll get two time measurements of the same timeout, one on 
the other box (which shouldnt be running the buggy kernel :-), one on 
this box, while the timer runs on this box. Here it gives:

earth3:~> time ssh pluto "time ssh earth3 \"sleep 10\""

real    0m10.141s
user    0m0.012s
sys     0m0.008s

real    0m10.278s
user    0m0.024s
sys     0m0.004s

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux