1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="bos_getrestart8">
4 <refentrytitle>bos getrestart</refentrytitle>
5 <manvolnum>8</manvolnum>
8 <refname>bos getrestart</refname>
9 <refpurpose>Displays the automatic restart times for server processes</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">bos getrestart</emphasis> <emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>> [<emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>>]
14 [<emphasis role="bold">-noauth</emphasis>] [<emphasis role="bold">-localauth</emphasis>] [<emphasis role="bold">-help</emphasis>]</para>
16 <para><emphasis role="bold">bos getr</emphasis> <emphasis role="bold">-s</emphasis> <<emphasis>machine name</emphasis>> [<emphasis role="bold">-c</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-n</emphasis>]
17 [<emphasis role="bold">-l</emphasis>] [<emphasis role="bold">-h</emphasis>]</para>
21 <title>Description</title>
22 <para>The bos getrestart command displays two restart times from the
23 <replaceable>/usr/afs/local/BosConfig</replaceable> file on the server machine named by the
24 <emphasis role="bold">-server</emphasis> argument:</para>
28 <para>The <emphasis>general restart</emphasis> time at which the BOS Server process automatically
29 restarts itself and all processes marked with status <computeroutput>Run</computeroutput> in the
30 <replaceable>BosConfig</replaceable> file. The default is Sunday at 4:00 a.m.</para>
34 <para>The <emphasis>binary restart</emphasis> time at which the BOS Server automatically restarts
35 any process for which the time stamp on the binary file in the
36 <replaceable>/usr/afs/bin</replaceable> directory is later than the last restart time for the
37 process. The default is 5:00 a.m. Use the <emphasis role="bold">bos getdate</emphasis> command to list a
38 binary file's timestamp, and the <emphasis role="bold">-long</emphasis> flag to the <emphasis role="bold">bos status</emphasis>
39 command to display a process's most recent restart time.</para>
43 <para>Use the <emphasis role="bold">bos setrestart</emphasis> command to set the restart times.</para>
47 <title>Options</title>
50 <term><emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>></term>
52 <para>Indicates the server machine for which to display the restart
53 times. Identify the machine by IP address or its host name (either
54 fully-qualified or abbreviated unambiguously). For details, see <link linkend="bos8">bos(8)</link>.</para>
59 <term><emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>></term>
61 <para>Names the cell in which to run the command. Do not combine this argument
62 with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see <link linkend="bos8">bos(8)</link>.</para>
67 <term><emphasis role="bold">-noauth</emphasis></term>
69 <para>Assigns the unprivileged identity <computeroutput>anonymous</computeroutput> to the issuer. Do not
70 combine this flag with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see
71 <link linkend="bos8">bos(8)</link>.</para>
76 <term><emphasis role="bold">-localauth</emphasis></term>
78 <para>Constructs a server ticket using a key from the local
79 <replaceable>/usr/afs/etc/KeyFile</replaceable> file. The <emphasis role="bold">bos</emphasis> command interpreter presents the
80 ticket to the BOS Server during mutual authentication. Do not combine this
81 flag with the <emphasis role="bold">-cell</emphasis> or <emphasis role="bold">-noauth</emphasis> options. For more details, see
82 <link linkend="bos8">bos(8)</link>.</para>
87 <term><emphasis role="bold">-help</emphasis></term>
89 <para>Prints the online help for this command. All other valid options are
98 <para>The output consists of two lines:</para>
101 Server &lt;machine_name&gt; restarts at &lt;time&gt;
102 Server &lt;machine_name&gt; restarts for new binaries at &lt;time&gt;
105 <para>Possible values for <time> include:</para>
109 <para><computeroutput>never</computeroutput>, indicating that the BOS Server never performs that type of
114 <para><computeroutput>now</computeroutput>, indicating that the BOS Server performs that type of restart only
115 each time it restarts.</para>
119 <para>A specified day and time, indicating that the BOS Server performs that
120 type of restart once per week. Example: <computeroutput>sun 4:00 am</computeroutput>.</para>
124 <para>A specified time, indicating that the BOS Server performs that type of
125 restart once per day. Examples: <computeroutput>11:00 pm</computeroutput>, <computeroutput>3:00 am</computeroutput>.</para>
131 <title>Examples</title>
132 <para>The following example displays the restart times for the machine
133 <computeroutput>db2.abc.com</computeroutput>:</para>
136 % bos getrestart db2.abc.com
137 Server db2.abc.com restarts at sun 4:00 am
138 Server db2.abc.com restarts for new binaries at 2:15 am
141 <para>In the following example, the issuer abbreviates the machine name
142 <computeroutput>fs1.abc.com</computeroutput> to <computeroutput>fs1</computeroutput>, relying on the cell's name server to resolve the
143 name. The output echoes the abbreviated form.</para>
147 Server fs1 restarts at sat 5:00 am
148 Server fs1 restarts for new binaries at 11:30 pm
153 <title>Privilege Required</title>
158 <title>See Also</title>
159 <para><link linkend="BosConfig5">BosConfig(5)</link>,
160 <link linkend="KeyFile5">KeyFile(5)</link>,
161 <link linkend="bos8">bos(8)</link>,
162 <link linkend="bos_getdate8">bos_getdate(8)</link>,
163 <link linkend="bos_setrestart8">bos_setrestart(8)</link>,
164 <link linkend="bos_status8">bos_status(8)</link></para>
168 <title>Copyright</title>
169 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
171 <para>This documentation is covered by the IBM Public License Version 1.0. It was
172 converted from HTML to POD by software written by Chas Williams and Russ
173 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>