Re: BSD sleep

看板FB_questions作者時間12年前 (2013/05/30 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串15/16 (看更多)
On Tue, 28 May 2013 at 19:01 -0000, Kenta Suzumoto wrote: > Hi. Is there no built-in way of making "sleep" sleep in increments > of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep > 1h" for an hour. The FreeBSD one's manpage leads me to believe we > can only use seconds, which is kind of annoying. Is there an > undocmented or missing feature here? Seems really trivial to > implement. > > ~ $ sleep 1h > usage: sleep seconds See also /usr/ports/misc/delay. Stuart _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1HfcN3A3 (FB_questions)
文章代碼(AID): #1HfcN3A3 (FB_questions)