showrev - show machine, software revision, and patch revision information
/usr/bin/showrev [-a] [-p | -p -R root_path] [-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 directories 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
-c command
-p
-R root_path
Note -
-s hostname
-w
Varies, based on flags passed. If no flags are passed, output similar to the following appears:
Hostname: system1 Hostid: 7233808e Release: 5.10 Kernel architecture: sun4u Application architecture: sparc Hardware provider: Sun_Microsystems Domain: a.network.COM Kernel version: SunOS 5.10 generic
The following error values are returned:
0
>0
See attributes(5) for descriptions of the following attributes:
|
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.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |