logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

livesys - Reports the configured CPU/operating system type

Cautions

       To see the full sysname list, use fssysname 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 fssysname or use sys.

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 OpenAFSQuickStartGuides and OpenAFSAdministrationGuide explain how using @sys can simplify cell configuration.

       To set a new value in kernel memory, use the fssysname command, which can also be used to view the
       current value.  If a sysname list was set using fssysname, only the first value in the list will be
       reported by livesys.

Examples

       The following example shows the output produced on a Linux system with a 2.6 kernel:

          % livesys
          i386_linux26

Name

       livesys - Reports the configured CPU/operating system type

Output

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

Privilege Required

       None

See Also

fs_sysname(1), sys(1)

       The OpenAFSQuickStartGuides at <http://docs.openafs.org/>.

       The OpenAFSAdministrationGuide at <http://docs.openafs.org/AdminGuide/>.

Synopsis

livesys

See Also