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

退出打印视图

更新时间: 2014 年 7 月
 
 

lshal(1M)

名称

lshal - list HAL devices

用法概要

/usr/sbin/lshal [options]

描述

The lshal command displays items in the HAL device database.

When invoked without options, lshal defaults to long output (–l). Long output includes all devices and all properties associated with each device.

The –s option lists only UDIs (Unique Device Identifier) for all HAL devices.

The –t option prints the HAL device tree, reflecting parent-child relationships with whitespace indentation.

The –u option limits output to the specified device.

When invoked with –m option, lshal monitors HAL device changes, such as property modification and device addition and removal. This option can be combined with the –u option to monitor a particular device.

选项

The following options are supported:

–h, –-help

Show help information.

–l, –-long

Long output.

–m, –-monitor

Monitor device list.

–s, –-short

Short output (display only non-static part of UDI).

–t, –-tree

Tree view.

–u, –-show udi

Show only the specified device.

–V, –-version

Display version number.

属性

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/hal
Interface Stability
Volatile

另请参见

hald(1M), hal-device(1M), attributes(5)