3 livesys - Reports the configured CPU/operating system type
11 The B<livesys> command displays the string stored in kernel memory that
12 indicates the local machine's CPU/operating system (OS) type,
13 conventionally called the I<sysname>. The Cache Manager substitutes this
14 string for the I<@sys> variable which can occur in AFS pathnames; the
15 I<IBM AFS Quick Beginnings> and I<IBM AFS Administration Guide> explain
16 how using I<@sys> can simplify cell configuration.
18 To set a new value in kernel memory, use the B<fs sysname> command, which
19 can also be used to view the current value. If a sysname list was set
20 using B<fs sysname>, only the first value in the list will be reported by
25 To see the full sysname list, use B<fs sysname> rather than this command.
26 B<livesys> is mostly useful for scripts that need to know the primary
27 sysname for the local system (to create directories that will later be
28 addressed using I<@sys>, for example).
30 B<livesys> first appeared in OpenAFS 1.2.2. Scripts that need to support
31 older versions of AFS should parse the output of B<fs sysname> or use
36 The machine's system type appears as a text string:
42 The following example shows the output produced on a Linux system with a
48 =head1 PRIVILEGE REQUIRED
57 I<IBM AFS Quick Beginnings>
59 I<IBM AFS Administration Guide>
63 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
65 Copyright 2005 Russ Allbery <rra@stanford.edu>
67 This documentation is covered by the IBM Public License Version 1.0. It
68 was written by Russ Allbery based on the B<sys> man page.