HAMMER utilities: automatic sync/sleep
commit002d955f56f4771ca6bd0b94da961c10bfe0a597
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 03:57:58 +0000 (25 03:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 03:57:58 +0000 (25 03:57 +0000)
treee684ad7e6cc6262504ec9981bdd706f78b63ac75
parent1ae2fd35b998bb4fae6b9caa9d232e57f3686715
HAMMER utilities: automatic sync/sleep

* Add 64 bit versions of the 'now' and 'stamp' commands, called
  'now64' and 'stamp64'.

* The 'now' and 'now64' commands now automatically sync.

* The 'now' command also sleeps until the second hand turns over.

* Add a new option, -x, which may be used to disable the automatic sync &
  sleep.  The stamp and stamp64 commands do not sync or sleep.

Suggested-by: "Thomas E. Spanjaard" <tgen@netphreax.net>
sbin/hammer/hammer.8
sbin/hammer/hammer.c