What is uadmin in Solaris?

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值