=head1 NAME livesys - Reports the configured CPU/operating system type =head1 SYNOPSIS =for html
B =for html
=head1 DESCRIPTION The B command displays the string stored in kernel memory that indicates the local machine's CPU/operating system (OS) type, conventionally called the I. The Cache Manager substitutes this string for the I<@sys> variable which can occur in AFS pathnames; the I and I explain how using I<@sys> can simplify cell configuration. To set a new value in kernel memory, use the B command, which can also be used to view the current value. If a sysname list was set using B, only the first value in the list will be reported by B. =head1 CAUTIONS To see the full sysname list, use B rather than this command. B is mostly useful for scripts that need to know the primary sysname for the local system (to create directories that will later be addressed using I<@sys>, for example). B first appeared in OpenAFS 1.2.2. Scripts that need to support older versions of AFS should parse the output of B or use B. =head1 OUTPUT The machine's system type appears as a text string: I =head1 EXAMPLES The following example shows the output produced on a Linux system with a 2.6 kernel: % livesys i386_linux26 =head1 PRIVILEGE REQUIRED None =head1 SEE ALSO L, L I I =head1 COPYRIGHT IBM Corporation 2000. All Rights Reserved. Copyright 2005 Russ Allbery This documentation is covered by the IBM Public License Version 1.0. It was written by Russ Allbery based on the B man page.