2005-12-09 14:48:56 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2005-12-22 07:34:49 +00:00
|
|
|
sys - Reports the compile-time CPU/operating system type
|
2005-12-09 14:48:56 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
2005-12-22 07:34:49 +00:00
|
|
|
B<sys>
|
2005-12-09 14:48:56 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-22 07:34:49 +00:00
|
|
|
The B<sys> command displays the string set at compile time that indicates
|
|
|
|
the local machine's CPU/operating system (OS) type, conventionally called
|
|
|
|
the I<sysname>. This string is the default for the value stored in kernel
|
|
|
|
memory. The Cache Manager substitutes this string for the I<@sys>
|
2010-05-26 18:20:57 +01:00
|
|
|
variable which can occur in AFS pathnames; the I<OpenAFS Quick Start
|
|
|
|
Guide> and I<OpenAFS Administration Guide> explain how using I<@sys> can
|
|
|
|
simplify cell configuration.
|
2005-12-22 07:34:49 +00:00
|
|
|
|
|
|
|
To set a new value in kernel memory, use the B<fs sysname> command. To
|
|
|
|
view the current value set in the kernel, use either B<fs sysname> or
|
|
|
|
B<livesys>.
|
|
|
|
|
|
|
|
=head1 CAUTIONS
|
|
|
|
|
|
|
|
You almost always want to use B<livesys> rather than this command. The
|
|
|
|
B<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 B<fs
|
|
|
|
sysname>, or if you run a version of B<sys> compiled differently than the
|
2011-02-03 20:22:02 +00:00
|
|
|
Cache Manager running on the system, the value returned will not match the
|
2005-12-22 07:34:49 +00:00
|
|
|
behavior of the Cache Manager. The only reason to use B<sys> is that
|
|
|
|
B<livesys> wasn't available in older versions of AFS.
|
2005-12-09 14:48:56 +00:00
|
|
|
|
|
|
|
=head1 OUTPUT
|
|
|
|
|
|
|
|
The machine's system type appears as a text string:
|
|
|
|
|
|
|
|
I<system_type>
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2011-06-24 21:25:46 +01:00
|
|
|
The following example shows the output produced on a Sun Netra T1
|
|
|
|
running Solaris 10:
|
2005-12-09 14:48:56 +00:00
|
|
|
|
|
|
|
% sys
|
2011-06-24 21:25:46 +01:00
|
|
|
sun4x_510
|
2005-12-09 14:48:56 +00:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-22 07:34:49 +00:00
|
|
|
L<fs_sysname(1)>,
|
|
|
|
L<livesys(1)>
|
2005-12-09 14:48:56 +00:00
|
|
|
|
2010-05-26 18:20:57 +01:00
|
|
|
The I<OpenAFS Quick Start Guides> at L<http://docs.openafs.org/>.
|
2005-12-09 14:48:56 +00:00
|
|
|
|
2010-05-26 18:20:57 +01:00
|
|
|
The I<OpenAFS Administration Guide> at
|
|
|
|
L<http://docs.openafs.org/AdminGuide/>.
|
2005-12-09 14:48:56 +00:00
|
|
|
|
|
|
|
=head1 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.
|