[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[connect24h:02833] Re:



あ、そうか…

At Mon, 14 May 2001 13:40:38 +0900 (JST),
cn24h@xxxxxxxxxxxxxx wrote:
> 
> > Webとか、POPとか、そんなものなら数分できれてもどうでもいいんですけど、
> > telnetとかsshでつないでると、(;_;)ですわ。
> > 仕方ないので、使ってない時はtop とかを動かすように気をつけてるんですが
> > 忘れてしまうと、(;_;)
> 
> 3分おきに Are You There? を実行するとか、そういう Heart Beat 機能を持っ
> たプロトコルを探すくらいしかないんでしょうか...

man tcshで、

       watch (+)
               A list of user/terminal pairs to watch for  logins
               and logouts.  If either the user is `any' all ter-
               minals are watched for the  given  user  and  vice
               versa.   Setting  watch to `(any any)' watches all
               users and terminals.  For example,

                   set watch = (george ttyd1  any  console  $user
                   any)

               reports  activity  of  the user `george' on ttyd1,
               any user on the console, and oneself (or  a  tres-
               passer) on any terminal.

               Logins and logouts are checked every 10 minutes by
               default, but the first word of watch can be set to
               a  number  to  check  every  so many minutes.  For
               example,

                   set watch = (1 any any)

               reports any login/logout once every  minute.   For
               the  impatient, the log builtin command triggers a
               watch report at any time.  All current logins  are
               reported  (as  with the log builtin) when watch is
               first set.


っていうのがあるなあ。これを、1分置きにしておけばいいかも。
-- 
-----
AOKI Tetsuo/Communications Research Lab., MPT., Japan
Tel: 042-327-7595 Fax: 042-327-6667

------------------------------------------------------------------------
           ふとした疑問ありますか?           
   http://www.infoseek.co.jp/GHome?pg=gn_top.html&svx=971122