System Administration Guide: Advanced Administration

ProcedureHow to Display General System Information

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


    $ showrev options
    
    -a

    Prints all system revision information available.

    -c (command)

    Prints the revision information about command.

    -p

    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.

    -w

    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
    SunOS
    $ 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: stonetouch
Hostid: 8099dfb9
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: boulder.Central.Sun.COM
Kernel version: SunOS 5.10 s10_46

OpenWindows version: 
Solaris X11 Version 6.6.2 20 October 2003

No patches are installed