Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 1999 22:23:44 +0930 (CST)
From:      Matthew Thyer <matt@camtech.net.au>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/sleep sleep.1 sleep.c
Message-ID:  <Pine.BSF.4.10.9910042220480.308-100000@localhost>
In-Reply-To: <199910010753.AAA82201@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
A similar change for top(1) would be useful but I suppose we dont
normally add extra functionality to contributed software.

I think it would be good to be able to run "top -s0.5"

We'd only need 10ths of a second I think.


On Fri, 1 Oct 1999, Ruslan Ermilov wrote:

> ru          1999/10/01 00:53:41 PDT
> 
>   Modified files:
>     bin/sleep            sleep.1 sleep.c 
>   Log:
>   Let sleep(1) handle fractions of a second (up to nanosecond).
>   
>   This is a conservative change.  It does the same thing in weird
>   cases like the old one.  For example, 'sleep abcd' still sleeps
>   for zero seconds.  `sleep 10.a' and `sleep 10.05aa' do the best
>   and not abort (ie: 10.a == 10 seconds, 10.05a == 10.05 seconds).
>   
>   Revision  Changes    Path
>   1.13      +17 -9     src/bin/sleep/sleep.1
>   1.9       +57 -5     src/bin/sleep/sleep.c
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe cvs-all" in the body of the message
> 

-- 
/=======================================================================\
| Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au |
\=======================================================================/
"If it is true that our Universe has a zero net value for all conserved
quantities, then it may simply be a fluctuation of the vacuum of some
larger space in which our Universe is imbedded. In answer to the
question of why it happened, I offer the modest proposal that our
Universe is simply one of those things which happen from time to time."
 E. P. Tryon   from "Nature" Vol.246 Dec.14, 1973



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910042220480.308-100000>