lkml.org 
[lkml]   [2005]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.14-rc4-rt1

* Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-14 06:06    [W:3.031 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site