BOS_GETRESTART(8)
π BOS_GETRESTART(8) π
okay bestie, this is a page from the AFS Command Reference and it's literally the lil command that tells you when your server processes are gonna do their lil scheduled glow-up (a.k.a. restart) β¨
πΈ NAME πΈ
bos_getrestart β she displays the automatic restart times for server processes π
π SYNOPSIS π
bos getrestart -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos getr -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
π¦ DESCRIPTION π¦
so bos getrestart reads the tea straight off of the /etc/openafs/BosConfig file on whatever server machine you named with the -server argument, and it shows you two restart times, no cap:
- The general restart time β this is when the BOS Server process auto-restarts itself plus every process marked with status
"Run"in the BosConfig file. The default? Sunday at 4:00 a.m. π΄ - The binary restart time β this is when the BOS Server automatically restarts any process whose binary file in the
/usr/lib/openafsdirectory has a time stamp later than that process's last restart time. The default is 5:00 a.m. Want to see a binary file's timestamp? That's thebos getdatecommand. Want a process's most recent restart time? That's the-longflag on thebos statuscommand. iykyk π«Ά
When you're ready to set these restart times instead of just peeking at them, use bos setrestart. periodt π
β¨ OPTIONS β¨
-server <machine name>β tells you which server machine to pull the restart times from. Identify it by IP address or host name (fully-qualified, or abbreviated as long as the abbreviation is unambiguous). For details, seebos(8).-cell <cell name>β names the cell where the command runs. Do not combine this argument with the-localauthflag. For more details, seebos(8).-noauthβ assigns the unprivileged identity"anonymous"to the issuer. Do not combine this flag with the-localauthflag. For more details, seebos(8).-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFileor/etc/openafs/server/KeyFileExtfile. Theboscommand interpreter presents that ticket to the BOS Server during mutual authentication. Do not combine this flag with the-cellor-noauthoptions. For more details, seebos(8).-helpβ prints the online help for this command. All other valid options are ignored (she's not listening, bestie π).
π OUTPUT π
the output is two lines, and they're giving very much:
Server <machine_name> restarts at <time>
Server <machine_name> restarts for new binaries at <time>
Possible values for <time> include:
"never"β meaning the BOS Server literally never does that type of restart. π"now"β meaning the BOS Server only performs that type of restart each time it restarts.- A specified day and time β meaning the BOS Server performs that type of restart once per week. Example:
"sun 4:00 am". - A specified time β meaning the BOS Server performs that type of restart once per day. Examples:
"11:00 pm","3:00 am".
π EXAMPLES π
this first one shows the restart times for the machine "db2.example.com":
% bos getrestart db2.example.com
Server db2.example.com restarts at sun 4:00 am
Server db2.example.com restarts for new binaries at 2:15 am
and in this next one, the issuer abbreviates the machine name "fs1.example.com" down to "fs1", letting the cell's name server resolve the name. The output echoes the abbreviated form β not her fixing it for you, just matching your vibe fr fr:
% bos getrestart fs1
Server fs1 restarts at sat 5:00 am
Server fs1 restarts for new binaries at 11:30 pm
π PRIVILEGE REQUIRED π
None. zero. you don't need anything, you're already that girl π
π SEE ALSO π
BosConfig(5), KeyFile(5), KeyFileExt(5), bos(8), bos_getdate(8), bos_setrestart(8), bos_status(8)
π COPYRIGHT π
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
and that's the whole page bestie!! πβ¨ this gem comes to you from OpenAFS, dated 2026-07-27 β mwah, slay, go read your BosConfig ππ¦
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms