OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / SysVinit / draft / man8 / runlevel.8
1 .\" This page is originally in the SysVinit package.
2 .\"
3 .\" Translated Fri 14 Feb 1997 by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
4 .\" Updated Wed  3 May 2000 by Kentaro Shirakata <argrath@ub32.org>
5 .\"
6 .TH RUNLEVEL 8 "May 27, 1997" "" "Linux System Administrator's Manual"
7 .SH Ì¾Á°
8 runlevel \- ¸½ºßµÚ¤Ó°ì¤ÄÁ°¤Î¥é¥ó¥ì¥Ù¥ë¤òÄ´¤Ù¤ë¡£
9 .SH ½ñ¼°
10 .B runlevel 
11 .RI [ utmp ]
12 .SH ÀâÌÀ
13 .\"O .B Runlevel
14 .\"O reads the system
15 .\"O .I utmp
16 .\"O file (typically 
17 .\"O .IR /var/run/utmp )
18 .\"O to locate the runlevel record, and then
19 .\"O prints the previous and current system runlevel on its standard output, 
20 .\"O separated by a single space. If there is no previous system
21 .\"O runlevel, the letter \fBN\fP will be printed instead.
22 .B runlevel
23 ¤Ï¥é¥ó¥ì¥Ù¥ë¥ì¥³¡¼¥É¤òÄ´¤Ù¤ë¤¿¤á¤Ë¥·¥¹¥Æ¥à
24 .I utmp
25 ¥Õ¥¡¥¤¥ë(°ìÈ̤ˤÏ
26 .IR /var/run/utmp )
27 ¤òÆɤ߹þ¤ß¡¢
28 ¸½ºßµÚ¤Ó¤½¤Î°ì¤ÄÁ°¤Î¥·¥¹¥Æ¥à¤Î¥é¥ó¥ì¥Ù¥ë¤ò¡¢É¸½à½ÐÎÏ
29 ¤Ë°ìʸ»úʬ¤Î¥¹¥Ú¡¼¥¹¤ò¶õ¤±¤Æɽ¼¨¤¹¤ë¡£
30 °ì¤ÄÁ°¤Î¥é¥ó¥ì¥Ù¥ë¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï¡¢Âå¤ï¤ê¤Ë\fBN\fP¤È¤¤¤¦Ê¸»ú¤òɽ¼¨¤¹¤ë¡£
31 .PP
32 .\"O If no
33 .\"O .I utmp
34 .\"O file exists, or if no runlevel record can be found,
35 .\"O .B runlevel
36 .\"O prints the word \fBunknown\fP and exits with an error.
37 .I utmp
38 ¥Õ¥¡¥¤¥ë¤¬¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï¥é¥ó¥ì¥Ù¥ë¥ì¥³¡¼¥É¤¬¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¡¢
39 \fBunknown\fP ¤Îʸ»ú¤ò½ÐÎϤ·¤Æ¡¢°Û¾ï½ªÎ»¤¹¤ë¡£
40 .PP
41 .\"O .B Runlevel
42 .\"O can be used in \fIrc\fP scripts as a substitute for the System-V
43 .\"O \fBwho -r\fP command. 
44 .B runlevel
45 ¤Ï¡¢\fIrc\fP¥¹¥¯¥ê¥×¥È¤ÎÃæ¤ÇSystem-V¤Î\fPwho -r\fP¥³¥Þ¥ó¥É¤ÎÂå¤ï¤ê¤Ë
46 »È¤¦¤³¤È¤¬½ÐÍè¤ë¡£
47 .\"O However, in newer versions of \fBinit\fP(8) this information
48 .\"O is also available in the environment variables \fBRUNLEVEL\fP and
49 .\"O \fBPREVLEVEL\fP.
50 ¤·¤«¤·¡¢¿·¤·¤¤ÈǤÎ\fBinit\fP(8)¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ï
51 \fBRUNLEVEL\fPµÚ¤Ó\fBPREVLEVEL\fP¤È¤¤¤¦´Ä¶­ÊÑ¿ô¤«¤é
52 ¤³¤ì¤é¤Î¾ðÊó¤òÆÀ¤ë¤³¤È¤â½ÐÍè¤ë¡£
53 .SH ¥ª¥×¥·¥ç¥ó
54 .\"{{{ utmp
55 .IP \fIutmp\fP 
56 .\"O The name of the \fIutmp\fP file to read.
57 Æɤ߹þ¤à\fIutmp\fP¥Õ¥¡¥¤¥ë¤Î̾Á°¡£
58 .\"}}}
59 .SH ´ØÏ¢¹àÌÜ
60 .BR init (8),
61 .BR utmp (5)
62 .SH Ãø¼Ô
63 Miquel van Smoorenburg, miquels@cistron.nl
64