Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!news.trc!imnet3!news.imnet.ad.jp!news.join.ad.jp!Q.T.Honey!onodera-news!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed1.dti.ad.jp!newsfeed2.dti.ad.jp!taurus!usenet
From: manmos@stellar.co.jp (Hideo "Sir MaNMOS" Morishita)
Subject: Re: syslog =?ISO-2022-JP?B?GyRCJE5AX0RqJCwkRyQtJEokJBsoQg==?=
X-Nntp-Posting-Host: hydra
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <squ3dt3f151.fsf_-_@stellar.co.jp>
Sender: usenet@stellar.co.jp
Organization: Stellar Craft, Inc. Osaka,Japan.
X-Newsreader: Gnus v5.4.66/Emacs 19.34
References: <834umi$2c7$1@pink.sun-net.ne.jp> <KAWAI.99Dec15131643@scotch.cks.canon.co.jp> <83ao2m$i58$1@pastel.front.nest.or.jp>
Mime-Version: 1.0 (generated by tm-edit 7.92)
Date: Thu, 16 Dec 1999 13:47:38 GMT
Lines: 47
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:10131
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=10131&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.


psi@felicia.fortune.nest.or.jp (SHIROYAMA Takayuki) writes:
>  In <<KAWAI.99Dec15131643@scotch.cks.canon.co.jp>>, K.[NAO-NAO].Kawai wrote:
> > 
> > # touch /var/log/logfile
> > $B$O!)(B
> > $BIaDL$N(B syslogd $B$O!"$"$i$?$K(B file $B$r!":n$j$^$;$s!#(B
> 
> 
> $B$3$N!"(Bsyslogd$B$,?7$?$K%m%0%U%!%$%k$r:n$i$J$$$N$O!"2?$+0UL#(B
> $B$,$"$k$N$G$7$g$&$+(B?

$B%U%!%$%k$N%Q!<%_%C%7%g%s4X78$G$J$$$+$HA[A|$9$k$H$3$m$J$s$G$9$1$I!"$I$&(B
$B$G$7$g$M!#(B

> $B$3$N;v$rK:$l$F%m%0%U%!%$%k$r:n$i$:(Bsyslog$B$K@_Dj$@$1$r$7$F!"(B
> $B!V$"$l!"%m%0%U%!%$%k$,$G$-$F$3$J$$!"%m%0$,=P$J$$!W$HF,$r(B
> $B$+$+$($?;v$,$"$j$^$7$F!&!&!&$J$s$G$=$&$$$&;EMM$J$N$+$H5U(B
> $B:($_$7$F$$$k=j$G$9(B(^^;)

---
#! /bin/sh
touch /tmp/hogehoge.log
kill -HUP `cat /etc/syslog.pid`
---

$B$H$+(B
---
#! /bin/sh
rm /tmp/hogehoge.log
kill -HUP `cat /etc/syslog.pid`
---

$B$H$+$G%m%0$N@)8f$,=PMh$k$N$GJXMx$@$H;W$C$F$$$k$N$G$9$,!#$*7y$$$G$9$+!"(B
$B$=$&$G$9$+!#(B

$B$=$l$h$j$b(Bsyslog.conf$B$N(B'\t'$B$G6h@Z$kJ}$,7y$$$G$9$J!#$9$0$K$o$+$i$J$$$N(B
$B$G!#FC$K%G%U%)%k%H$N:G8e$N%?%V$,$A$g$&$I#1%+%i%`J,$GM>7W$K$o$+$i$J$/$F(B
$B7y$$$G$9$J!#(B

$B!t$^$"!"0lHV:G=i$K%A%'%C%/$9$k$1$I!#(B

-- 
   ___     $B$o$7$O!";3?a?'$N$+$9$F!<$i$,Bg9%$-$G$N$%(B
 [[o o]]            $B$U$)$C$U$)$C$U$)(B
   'J'     $B?92<(B $B$*Be41MM(B $B#M#a#N#M#O#S(B $B1QIW!w%9%F%i%/%i%U%H(B
PGP Finger = CD EA D5 A8 AD B2 FE 7D  02 74 87 52 7C B7 39 37
