Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

lshal(8)

Name

lshal - list HAL devices

Synopsis

/usr/sbin/lshal [options]

Description

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.

Options

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.

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/hal
Interface Stability
Volatile

See Also

attributes(7), hal-device(8), hald(8)