From: ban@pc.mei.melco.co.jp
Newsgroups: fj.questions.unix
Subject: Re: KILL Idle connection program.
Date: 22 Dec 92 00:22:00 GMT
	<YOUKI.92Dec18004128@nozomi.rd.ecip.osaka-u.ac.jp>
Followup-To: fj.questions.unix
Distribution: fj
Organization: Mitsubishi Electric Corp. Nagoya Works, Japan.
In-reply-to: youki@rd.ecip.osaka-u.ac.jp's message of 18 Dec 1992 09:17:00 JST

In article <YOUKI.92Dec18004128@nozomi.rd.ecip.osaka-u.ac.jp> youki@rd.ecip.osaka-u.ac.jp (Youki Kadobayashi) writes:

$@;0I)EE5!$N:d$G$9!#(J
  $@LgNS$5$s!"(J{V}$@$h$7$N$U(J $@$5$s!"%U%)%m!<$"$j$,$H$&$4$6$$$^$7$?!#(J

$@Lg(J$@NS$5$s(J >$@%7%'%k%9%/%j%W%H$G!"$G$-$=$&$G$9$M!#(J
$@LgNS$5$s(J>
$@LgNS$5$s(J>ls -lt /dev/tty* | grep -v root | tail
$@LgNS$5$s(J>
$@LgNS$5$s(J>$@$N=PNO$r!"$I$&$K$+$9$k$H$+!#(J

$@$J$k$[$I!"$3$&$$$&J}K!$,$"$k$H$OCN$j$^$;$s$G$7$?!#(J$@0l$D8-$/$J$j$^$7$?!#(J :-)
$@$?$@!"(JIdle $@;~4V$r<+J,$G7W;;$7$J$$$H$$$1$J$$$N$G!J$?$$$7$?$3$H$J$$$1$I!K!"(J
$@<!(J$@8uJd$K$7$?$$$H;W$$$^$9!#(J

$@LgNS$5$s(J>
$@LgNS$5$s(J>finger | grep '1:[0-9][0-9]'
$@LgNS$5$s(J>
$@LgNS$5$s(J>$@$N=PNO$r(J$@!"$I$&$K$+$9$k$H$+!#B>$K$b$$$m$$$m$"$k$H;W$$$^$9$1$I!#(J

  $@$3$l$O(J very good $@$J$N$G$9$,!":#2s$N(J BBS $@%7%9(J$@%F%`$H$$$&FC<l$J4D6-$G$O!"(J
$@$&$^$/$$$+$J$$$h$&$G$9!#(J

  $@$H$$$&$N$O!"(JBBS $@<+BN$O(J UNIX $@>e$GF0$/%"%W%j%1!<(J$@%7%g%s$G$9$,!"(JBBS $@$NCf$G(J
UNIX $@$N%m%0%$%sL>$H$OA4$/JL$N!"FH<+$N%f!<%6!<$N@$3&$r;}$C$F$*$j$^$9!#(J
$@$3$N$?(J$@$a!"(J/etc/ttytab,/etc/gettytab $@Ey$G!"DL>o(J $@$N(J /bin/login $@$G$J$/!"(J
BBS $@MQ$N(J login $@$,5/F0$5$l$k$h$&$K$7$F(J$@$*$j$^$9!#(J
  $@$=$7$F!"(JBBS $@$G(J login $@$9$k$H!"$3$NCf$G(J $@DL>o$N(J UNIX $@$N4D6-JQ?t(J(TERM,SHELL,
HOME,USER $@$J$I!K(J$@$,(J BBS $@MQ$K=q$-49$($i$l$k$h$&$G$9!#(J
  $@FC$K!"4D6-JQ?t(J USER $@$,(J BBS $@$N%f!<%6!<(JID $@$G$"$k(J mtc00001 $@$H$$$&$h(J$@$&$J(J
UNIX $@>e$G$OB8:_$7$J$$%f!<%6!<L>(J($@%m%0%$%sL>(J)$@$K=q$-49$($i$l$k$?$a!"(Junix $@>e(J
$@$N%3%^%s%I$G$$$m$$$m$HIT(J$@ET9g$,@8$8$F$-$^$9!#(J
$@!J>e5-$N(J SHELL,USER $@$J$I$N4D6-JQ?t$r;2>H$7$FF0$/%3%^%s%I$d!"(J/etc/passwd 
$@$r;2>H$7(J$@$FF0$/%3%^%s%I!#!K(J
  $@$=$N0l$D$,!"(Jfinger $@$H$$$&Lu$G$9!#(J
$@$A$J$_$K!"$3$N(J BBS $@%[%9%H%^%7%s$G!"(J who,finger $@$r<B9T$9$k$H<!$N$h$&$K(J
$@$J$j$^$9!#(J

%who
mtc00001 ttyy00  Dec 22 13:14
ban      ttyp0   Dec 22 14:02	(msun220)
%finger
Login       Name              TTY Idle    When    Where
mtc00001              ???
ban      Kazuyuki Ban.         p0      Tue 14:02  msun220             
%

  $@$H$$$&Lu$G!"(Jfinger $@$G$O(J $@$&(J$@$^$/$$$+$J$$$N$G$9$,!"9,$$(J w $@$@$H(J
$@$&$^$/$$$-$=$&$J$N$G!"$3$l$r;H$C$F%7%'%k%9%/%j%W%H$r=q$$$F$_$h$&$H(J
$@;W$C$F$$$^$9!#(J

%w
  2:06pm  up 33 days,  2:07,  2 users,  load average: 0.07, 0.00, 0.00
User     tty       login@  idle   JCPU   PCPU  what
mtc00001 ttyy00    1:14pm    51                msh -d724937529 
ban      ttyp0     2:05pm                      w 

  $@$I$&$bM-Fq$&$4$6$$$^$7$?!#(J


--
-----
  $@:d(J  $@0l9,(J (Ban Kazuyuki)  E-mail: ban@pc.mei.melco.co.jp 
  $@;0I)EE5!!J3t!KL>8E20@=:n=j(J $@#F#A%7%9%F%`It(J  $@#P#C(J$@1~MQ5!4o3+H/2](J
  TEL: (052)712-2362      FAX: (052)722-1851 
Newsgroups: fj.questions.unix