MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                        showrev(1M)



NAME
     showrev - show machine, software revision, and  patch  revi-
     sion information

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


DESCRIPTION
     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  LDLIBRARYPATH 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.

OPTIONS
     The following options are supported:

     -a              Print all system revision information avail-
                     able.  Window  system  and patch information
                     are added.


     -c command      Print the revision  information  about  com-
                     mand.


     -p              Print only the  revision  information  about
                     patches.


     -R rootpath    Define the full path name of a directory  to
                     use as the rootpath. By specifying the root
                     path, showrev retrieves the revision  infor-
                     mation  about  the patch from package system
                     information files located under a  directory
                     tree  starting  at  rootpath. The rootpath
                     can be specified when  retrieving  installed
                     patch information in a client from a server,
                     for example, /export/root/client1.

                     Note -

                       The root file  system  of  any  non-global



SunOS 5.11           Last change: 6 Apr 2005                    1






System Administration Commands                        showrev(1M)



                       zones  must  not be referenced with the -R
                       option. Doing so might damage  the  global
                       zone's  file  system, might compromise the
                       security of the  global  zone,  and  might
                       damage  the non-global zone's file system.
                       See zones(5).


     -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.


     -w              Print only the OpenWindows revision informa-
                     tion.


OUTPUT
     Varies, based on flags passed. If no flags are passed,  out-
     put similar to the following appears:

            Hostname: system1
            Hostid: 7233808e
            Release: 5.10
            Kernel architecture: sun4u
            Application architecture: sparc
            Hardware provider: SunMicrosystems
            Domain: a.network.COM
            Kernel version: SunOS 5.10 generic



EXIT STATUS
     The following error values are returned:

     0     Successful completion.


     >0    An error occurred.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:










SunOS 5.11           Last change: 6 Apr 2005                    2






System Administration Commands                        showrev(1M)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWadmc                    
    


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

BUGS
     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.11           Last change: 6 Apr 2005                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™