1showrev(1M) System Administration Commands showrev(1M)
2
3
4
6 showrev - show machine, software revision, and patch revision informa‐
7 tion
8
10 /usr/bin/showrev [-a] [-p | -p -R root_path] [-w]
11 [-c command] [-s hostname]
12
13
15 showrev displays revision information for the current hardware and
16 software. With no arguments, showrev shows the system revision informa‐
17 tion including hostname, hostid, release, kernel architecture, applica‐
18 tion architecture, hardware provider, domain, and kernel version.
19
20
21 If a command is supplied with the -c option, showrev shows the PATH and
22 LD_LIBRARY_PATH and finds out all the directories within the PATH that
23 contain it. For each file found, its file type, revision, permissions,
24 library information, and checksum are printed as well.
25
27 The following options are supported:
28
29 -a Print all system revision information available. Window
30 system and patch information are added.
31
32
33 -c command Print the revision information about command.
34
35
36 -p Print only the revision information about patches.
37
38
39 -R root_path Define the full path name of a directory to use as the
40 root_path. By specifying the root path, showrev
41 retrieves the revision information about the patch from
42 package system information files located under a direc‐
43 tory tree starting at root_path. The root_path can be
44 specified when retrieving installed patch information
45 in a client from a server, for example,
46 /export/root/client1.
47
48 Note -
49
50 The root file system of any non-global zones must not
51 be referenced with the -R option. Doing so might dam‐
52 age the global zone's file system, might compromise
53 the security of the global zone, and might damage the
54 non-global zone's file system. See zones(5).
55
56
57 -s hostname Perform this operation on the specified hostname. The
58 -s operation completes correctly only when hostname is
59 running Solaris 2.5 or compatible versions.
60
61
62 -w Print only the OpenWindows revision information.
63
64
66 Varies, based on flags passed. If no flags are passed, output similar
67 to the following appears:
68
69 Hostname: system1
70 Hostid: 7233808e
71 Release: 5.10
72 Kernel architecture: sun4u
73 Application architecture: sparc
74 Hardware provider: Sun_Microsystems
75 Domain: a.network.COM
76 Kernel version: SunOS 5.10 generic
77
78
79
81 The following error values are returned:
82
83 0 Successful completion.
84
85
86 >0 An error occurred.
87
88
90 See attributes(5) for descriptions of the following attributes:
91
92
93
94
95 ┌─────────────────────────────┬─────────────────────────────┐
96 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
97 ├─────────────────────────────┼─────────────────────────────┤
98 │Availability │SUNWadmc │
99 └─────────────────────────────┴─────────────────────────────┘
100
102 arch(1), ldd(1), mcs(1), sum(1), patchadd(1M), attributes(5)
103
105 For the -s option to work when hostname is running a version of Solaris
106 prior to 2.5, the Solstice AdminSuite must be installed on hostname.
107
108
109
110SunOS 5.11 6 Apr 2005 showrev(1M)