Chinaunix

标题: 用啊? [打印本页]

作者: kinghood    时间: 2005-04-09 21:57
标题: 用啊?
晕倒啊,每次都报时间格式不对
作者: wildcat707    时间: 2005-04-09 22:20
标题: 用啊?
你要在后面加上时间 吗?-T后面是分钟数。
作者: UNIX-COW    时间: 2005-04-09 22:37
标题: 用啊?
#man shutdown
作者: kinghood    时间: 2005-04-11 20:07
标题: 用啊?
man shutdown 解决不了这个问题,我需要实现多少秒后关机!
作者: platinum    时间: 2005-04-11 20:59
标题: 用啊?
[quote]原帖由 "kinghood"]man shutdown 解决不了这个问题,我需要实现多少秒后关机![/quote 发表:

man shutdown!!!!!!!!!!!!!!!!!!!!!
不解决问题?你看了吗?!你试了吗??!!
    

作者: mocou    时间: 2005-04-11 21:32
标题: 用啊?
偶看了      

      -t sec Tell  init(  to wait sec seconds between sending processes the
              warning and the kill signal, before  changing  to  another  run-
              level.
作者: niao7409    时间: 2005-04-11 23:50
标题: 用啊?
-t 后面根时间23:00 就可以写成2300
作者: 網中人    时间: 2005-04-12 00:41
标题: 用啊?
[quote]原帖由 "niao7409"]-t 后面根时间23:00 就可以写成2300[/quote 发表:

這是錯的.

老話: man shutdown
作者: ctqucl    时间: 2005-04-12 01:12
标题: 用啊?
-t sec Tell  init(  to wait sec seconds between sending processes the
              warning and the kill signal, before  changing  to  another  run-
              level.

       -k     Don't  really shutdown; only send the warning messages to every-
              body.

       -r     Reboot after shutdown.

       -h     Halt or poweroff after shutdown.

       -H     Halt action is to halt or drop into boot monitor on systems that
              support it.

       -P     Halt action is to turn off the power.

       -n     [DEPRECATED]  Don't  call  init(  to do the shutdown but do it
              ourself.  The use of this option is discouraged, and its results
              are not always what you'd expect.

       -f     Skip fsck on reboot.

       -F     Force fsck on reboot.

       -n     [DEPRECATED]  Don't  call  init(  to do the shutdown but do it
              ourself.  The use of this option is discouraged, and its results
              are not always what you'd expect.

       -f     Skip fsck on reboot.

       -F     Force fsck on reboot.

       -c     Cancel  an  already  running shutdown. With this option it is of
              course not possible to give the time argument, but you can enter
              a  explanatory  message on the command line that will be sent to
              all users.

       time   When to shutdown.


-t 后面加秒数

shutdown  10     就是10分种后关 机
shutdown  2:00      就是2:00关
关机后别忘了关电源    -h      节约能源啊
作者: 寂寞烈火    时间: 2005-04-12 02:13
标题: 用啊?
-t:init在发送警告后sec秒杀掉进程!
作者: Mscong    时间: 2005-04-12 02:35
标题: 用啊?
[quote]原帖由 "platinum"][/quote 发表:


   嘿...都替楼主着急!!!!
作者: kinghood    时间: 2005-04-12 13:43
标题: 用啊?
欢迎使用并且成功过的人来回答.谢谢
作者: myy_yoyo    时间: 2005-04-12 13:48
标题: 用啊?
为什么一定要用-t呢?可以用-G后加上秒数!
作者: kinghood    时间: 2005-04-12 13:50
标题: 用啊?
不好意思,我的turbo没有-G
作者: NTT2    时间: 2005-04-12 14:34
标题: 用啊?
怎么会没有G呢?郁闷..........




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2