Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

livesys(1) [redhat man page]

LIVESYS(1)                                                     AFS Command Reference                                                    LIVESYS(1)

NAME
livesys - Reports the configured CPU/operating system type SYNOPSIS
livesys DESCRIPTION
The livesys command displays the string stored in kernel memory that indicates the local machine's CPU/operating system (OS) type, conventionally called the sysname. The Cache Manager substitutes this string for the @sys variable which can occur in AFS pathnames; the OpenAFS Quick Start Guides and OpenAFS Administration Guide explain how using @sys can simplify cell configuration. To set a new value in kernel memory, use the fs sysname command, which can also be used to view the current value. If a sysname list was set using fs sysname, only the first value in the list will be reported by livesys. CAUTIONS
To see the full sysname list, use fs sysname rather than this command. livesys 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 @sys, for example). livesys first appeared in OpenAFS 1.2.2. Scripts that need to support older versions of AFS should parse the output of fs sysname or use sys. OUTPUT
The machine's system type appears as a text string: I<system_type> EXAMPLES
The following example shows the output produced on a Linux system with a 2.6 kernel: % livesys i386_linux26 PRIVILEGE REQUIRED
None SEE ALSO
fs_sysname(1), sys(1) The OpenAFS Quick Start Guides at <http://docs.openafs.org/>. The OpenAFS Administration Guide at <http://docs.openafs.org/AdminGuide/>. COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. Copyright 2005 Russ Allbery <rra@stanford.edu> This documentation is covered by the IBM Public License Version 1.0. It was written by Russ Allbery based on the sys man page. OpenAFS 2012-03-26 LIVESYS(1)

Check Out this Related Man Page

SYS(1)							       AFS Command Reference							    SYS(1)

NAME
sys - Reports the compile-time CPU/operating system type SYNOPSIS
sys DESCRIPTION
The sys command displays the string set at compile time that indicates the local machine's CPU/operating system (OS) type, conventionally called the sysname. This string is the default for the value stored in kernel memory. The Cache Manager substitutes this string for the @sys variable which can occur in AFS pathnames; the OpenAFS Quick Start Guide and OpenAFS Administration Guide explain how using @sys can simplify cell configuration. To set a new value in kernel memory, use the fs sysname command. To view the current value set in the kernel, use either fs sysname or livesys. CAUTIONS
You almost always want to use livesys rather than this command. The sys command displays a single value hard-coded at compile time. It does not query the Cache Manager for the current value and it does not report sysname lists. If you have changed the local system type with fs sysname, or if you run a version of sys compiled differently than the Cache Manager running on the system, the value returned will not match the behavior of the Cache Manager. The only reason to use sys is that livesys wasn't available in older versions of AFS. OUTPUT
The machine's system type appears as a text string: I<system_type> EXAMPLES
The following example shows the output produced on a Sun SPARCStation running Solaris 5.7: % sys sun4x_57 PRIVILEGE REQUIRED
None SEE ALSO
fs_sysname(1), livesys(1) The OpenAFS Quick Start Guides at <http://docs.openafs.org/>. The OpenAFS Administration Guide at <http://docs.openafs.org/AdminGuide/>. 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. OpenAFS 2012-03-26 SYS(1)
Man Page