man pages section 1M: System Administration Commands
검색에만이 책은
이 책의 내용보기:
PDF로 이 문서 다운로드 (4770 KB)

showrev(1M)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OUTPUT | EXIT STATUS | ATTRIBUTES | SEE ALSO | BUGS

NAME

    showrev- show machine, software revision, and patch revision information

SYNOPSIS

    /usr/bin/showrev [-a] [-p| -p -R root_path] [-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 LD_LIBRARY_PATH and finds out all the directories 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 available. Window system and patch information are added.

    -c command

    Print the revision information about command.

    -p

    Print only the revision information about patches.

    -R root_path

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

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

OUTPUT

    Varies, based on flags passed. If no flags are passed, output similar to the following appears:


    Hostname: system1
    	Hostid: 7233808e
    	Release: 5.9
    	Kernel architecture: sun4u
    	Application architecture: sparc
    	Hardware provider: Sun_Microsystems
    	Domain: a.network.COM
    	Kernel version: SunOS 5.9 generic February 2001

EXIT STATUS

    The following error values are returned:

    0

    Successful completion.

    >0

    An error occurred.

ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPEATTRIBUTE VALUE
    AvailabilitySUNWadmc

SEE ALSO

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.9 Last Revised 3 Jan 2002

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OUTPUT | EXIT STATUS | ATTRIBUTES | SEE ALSO | BUGS