NAME

livesys - Reports the configured CPU/operating system type [UNIX only]

SYNOPSIS

livesys

DESCRIPTION

The livesys command displays the string stored by the Cache Manager 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 Auristor Quick Start Guide and Auristor Administration Guide explain how using @sys can simplify cell configuration.

To assign a new value to the Cache Manager, 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).

OUTPUT

The machine's system type appears as a text string, by itself, on a single line.

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)

COPYRIGHT

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.

ACKNOWLEDGEMENTS

"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)

"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)

The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).

"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).

"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.