sys(1)

sys1

Reports the compile-time cpu/operating system type

Usage

sys

Overview

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 Netra T1 running Solaris 10:

   % sys
   sun4x_510

Privilege required

None

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

From openafs-client 1.8.13.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.