bash-3.2# man uadmin
Reformatting page. Please Wait... done
System Administration Commands uadmin(1M)
NAME
uadmin - administrative control
SYNOPSIS
/usr/sbin/uadmin cmd fcn [mdep]
/sbin/uadmin cmd fcn [mdep]
DESCRIPTION
The uadmin command provides control for basic administrative
functions. This command is tightly coupled to the system
administration procedures and is not intended for general
use. It may be invoked only by the super-user.
Both the cmd (command) and fcn (function) arguments are con-
verted to integers and passed to the uadmin system call. The
optional mdep (machine dependent) argument is only available
for the cmd values of 1 (A_REBOOT), 2 (A_SHUTDOWN), or 5
(A_DUMP). For any other cmd value, no mdep command-line
argument is allowed.
When passing an mdep value that contains whitespaces, the
string must be grouped together as a single argument
enclosed within quotes, for example:
uadmin 1 1 "-s kernel/unix"
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcsu |
|_____________________________|_____________________________|
SEE ALSO
uadmin(2), attributes(5)
WARNINGS
On x86 systems, shutting down the system by means of uadmin
does not update the boot archive. Avoid using this command
SunOS 5.11 Last change: 11 Apr 2005 1
System Administration Commands uadmin(1M)
after manual editing of files such as /etc/system or
driver.conf(4).
SunOS 5.11 Last change: 11 Apr 2005 2
=================================================================================
Q: What are all the options to uadmin?
A:
uadmin 2 0 sync the filesystems and drops system to ok prompt
uadmin 2 1 sync the filesystems and reboots to multi-user mode
uadmin 2 2 sync the filesystems and reboots interactively
uadmin 2 3 sync the filesystems and reboots to single-user mode
uadmin 2 6 sync the filesystems and powers off the system
uadmin 1 0 do not sync filesystems and drops system to ok prompt
uadmin 1 1 do not sync filesystems and reboots to multi-user mode
uadmin 1 2 do not sync filesystems and reboots interactively
uadmin 1 3 do not sync filesystems and reboots to single-user mode
uadmin 1 6 do not sync filesystems and powers off the system
What is uadmin in Solaris?
最新推荐文章于 2021-06-23 15:45:20 发布