- online man pages   

SunOS man pages : showrev (1)

Maintenance Commands                                  showrev(1M)


showrev - show machine and software revision information


/usr/bin/showrev [ -a ] [ -p ] [ -w ] [ -c command ] [ -s hostname ]


showrev displays revision information for the current hardware and software. With no arguments, showrev shows the system revision information including hostname, hostid, release, kernel architecture, application architecture, hardware provider, domain, and kernel version. If a command is supplied with the -c option, showrev shows the PATH and LD_LIBRARY_PATH and finds out all the direc- tories within the PATH that contain it. For each file found, its file type, revision, permissions, library information, and checksum are printed as well.


The following options are supported: -a Print all system revision information available. Win- dow system and patch information are added. -p Print only the revision information about patches. -w Print only the OpenWindows revision information. -c command Print the revision information about command. -s hostname Perform this operation on the specified hostname. The -s operation completes correctly only when hostname is running Solaris 2.5 or compatible versions.


Varies, based on flags passed. If no flags are passed, out- put similar to the following appears: Hostname: system1 Hostid: 7233808e Release: 5.4 Kernel architecture: sun4m Application architecture: sparc Hardware provider: Sun_Microsystems Domain: Kernel version: SunOS 5.4 generic July 1994 SunOS 5.8 Last change: 11 Feb 1999 1 Maintenance Commands showrev(1M)


The following error values are returned: 0 Successful completion. >0 An error occurred.


See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWadmc | |_____________________________|_____________________________|


arch(1), ldd(1), mcs(1), sum(1), patchadd(1M), attributes(5)


For the -s option to work when hostname is running a version of Solaris prior to 2.5, the Solstice AdminSuite must be installed on hostname. SunOS 5.8 Last change: 11 Feb 1999 2