System Administration Guide: Advanced Administration

ProcedureHow to Display General System Information

  1. To display general system information, use the showrev command.

    $ showrev options

    Prints all system revision information available.

    -c (command)

    Prints the revision information about command


    Prints only the revision information about patches.

    -R (root_path)

    Defines the full path name of a directory to use as the root_path.

    -s (host name)

    Performs this operation on the specified host name


    Prints only the OpenWindows revision information.

    You can also use the uname command to display system information. The following example shows the uname command output. The -a option displays the operating system name as well as the system node name, operating system release, operating system version, hardware name, and processor type.

    $ uname
    $ uname -a
    SunOS starbug 5.10 Generic sun4u sparc SUNW,Ultra-5_10

Example 5–3 Displaying General System Information

The following example shows the showrev command output. The -a option displays all available system information.

% showrev -a
Hostname: suwat
Hostid: 830915da
Release: 5.11
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: boulder.Central.Sun.COM
Kernel version: SunOS 5.11 SunOS_Development

OpenWindows version: 
Solaris X11 Version 6.6.3 12 October 2005

Patch: 116298-08 Obsoletes:  Requires:  Incompatibles: Packages: SUNWxsrt, ...
Patch: 116302-02 Obsoletes:  Requires:  Incompatibles: Packages: SUNWxrpcrt