The Japanese Manual team(man-jp@jp.FreeBSD.ORG) has translated and keeps maintaining them. Submitted by: Kazuo Horikawa <horikawa@isrd.hitachi.co.jp>
97 lines
3.2 KiB
Groff
97 lines
3.2 KiB
Groff
.\" Copyright (c) 1983, 1990, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)logger.1 8.1 (Berkeley) 6/6/93
|
|
.\" jpman %Id: logger.1,v 1.3 1997/09/05 09:02:40 horikawa Stab %
|
|
.\"
|
|
.Dd June 6, 1993
|
|
.Dt LOGGER 1
|
|
.Os BSD 4.3
|
|
.Sh ̾¾Î
|
|
.Nm logger
|
|
.Nd ¥·¥¹¥Æ¥à¤Î¥í¥°¤ËµÏ¿¤ò»Ä¤¹
|
|
.Sh ½ñ¼°
|
|
.Nm
|
|
.Op Fl is
|
|
.Op Fl f Ar file
|
|
.Op Fl p Ar pri
|
|
.Op Fl t Ar tag
|
|
.Op Ar message ...
|
|
.Sh ²òÀâ
|
|
.Nm logger
|
|
¤Ï¡¢
|
|
.Xr syslog 3
|
|
¥·¥¹¥Æ¥à¥í¥°µÏ¿¥â¥¸¥å¡¼¥ë¤È¤Î¥·¥§¥ë¥³¥Þ¥ó¥É¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£
|
|
.Pp
|
|
¥ª¥×¥·¥ç¥ó:
|
|
.Bl -tag -width "message"
|
|
.It Fl i
|
|
logger ¥×¥í¥»¥¹¤Î¥×¥í¥»¥¹ ID ¤ò³Æ¹Ô¤ËµÏ¿¤·¤Þ¤¹¡£
|
|
.It Fl s
|
|
¥·¥¹¥Æ¥à¤Î¥í¥°¤ÈƱÍͤˡ¢É¸½à¥¨¥é¡¼½ÐÎÏ¤Ë¥í¥°¤ò½ÐÎϤ·¤Þ¤¹¡£
|
|
.It Fl f Ar file
|
|
»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤ÎÆâÍÆ¤ò¥í¥°¤È¤·¤ÆµÏ¿¤·¤Þ¤¹¡£
|
|
.It Fl p Ar pri
|
|
»ØÄꤷ¤¿Í¥Àè½ç°Ì¤Ç¥á¥Ã¥»¡¼¥¸¤òÆþÎϤ·¤Þ¤¹¡£Í¥Àè½ç°Ì¤Ï¡¢
|
|
¿ô»ú¤Ç»ØÄꤹ¤ë¤«¡¢``¥Õ¥¡¥·¥ê¥Æ¥£.¥ì¥Ù¥ë'' ¤ÎÁȤǻØÄꤵ¤ì¤Þ¤¹¡£
|
|
¤¿¤È¤¨¤Ð¡¢``\-p local3.info'' ¤Ï
|
|
.Ar local3
|
|
¥Õ¥¡¥·¥ê¥Æ¥£¤Ë¡¢¾ðÊó(
|
|
.Ar info
|
|
)¥ì¥Ù¥ë¤Ç¥á¥Ã¥»¡¼¥¸¤òµÏ¿¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï¡¢``user.notice'' ¤Ç¤¹¡£
|
|
.It Fl t Ar tag
|
|
³Æ¹Ô¤Ë»ØÄꤷ¤¿
|
|
.Ar tag
|
|
¤òËä¤á¹þ¤ß¤Þ¤¹¡£
|
|
.It Ar message
|
|
¤³¤Î
|
|
.Ar message
|
|
¤ò¥í¥°¤È¤·¤ÆµÏ¿¤·¤Þ¤¹¡£¤³¤ì¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢
|
|
.Fl f
|
|
¤â»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢É¸½àÆþÎϤò¥í¥°¤È¤·¤ÆµÏ¿¤·¤Þ¤¹¡£
|
|
.El
|
|
.Pp
|
|
.Nm
|
|
¤ÏÀ®¸ù¤·¤¿¾ì¹ç¤Ï 0 ¤ò¡¢¥¨¥é¡¼¤¬µ¯¤¤¿¾ì¹ç¤Ï 0 ¤è¤êÂ礤ÊÃͤòÊÖ¤·¤Þ¤¹¡£
|
|
.Sh »ÈÍÑÎã
|
|
.Bd -literal -offset indent -compact
|
|
logger System rebooted
|
|
|
|
logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc
|
|
.Ed
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr syslog 3 ,
|
|
.Xr syslogd 8
|
|
.Sh µ¬³Ê
|
|
.Nm
|
|
¤Ï
|
|
.St -p1003.2
|
|
½àµò¤Ç¤¹¡£
|