手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

uadmin(1M)

名称

uadmin - administrative control

用法概要

/usr/sbin/uadmin cmd fcn [mdep]

描述

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 converted 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”

属性

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

另请参见

halt(1M), reboot(1M), uadmin(2), attributes(5)

警告

Shutting down or halting the system by means of uadmin does not update the boot archive. Avoid using this command after

  • editing of files such as /etc/system

  • installing new driver binaries or kernel binaries

  • updating existing driver binaries or kernel binaries.

Use reboot(1M) or halt(1M) instead.