HAMMER utilities: automatic sync/sleep
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 03:57:58 +0000 (03:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 03:57:58 +0000 (03:57 +0000)
commitd71afe7b92ab5574e720bf7d4908350f9595ab60
tree2704b94241231a49f5ae58dfd5e74ef7cc57bdd2
parentb58c6388a61db3df6185f0527dfe6bff829997bd
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