LinuxCommandLibrary

hsw-cli

Manage Intel hardware system health

TLDR

Unlock the current wallet (timeout in seconds)

$ hsw-cli unlock [passphrase] [timeout]
copy

Lock the current wallet
$ hsw-cli lock
copy

View the current wallet's details
$ hsw-cli get
copy

View the current wallet's balance
$ hsw-cli balance
copy

View the current wallet's transaction history
$ hsw-cli history
copy

Send a transaction with the specified coin amount to an address
$ hsw-cli send [address] [1.05]
copy

View the current wallet's pending transactions
$ hsw-cli pending
copy

View details about a transaction
$ hsw-cli tx [transaction_hash]
copy

SYNOPSIS

hsw-cli [options] [command]

PARAMETERS

-h, --help
    Display help message and exit.

-v, --version
    Display version information and exit.

monitor
    Start monitoring hardware status.

list
    List available hardware components and sensors.

get
    Get the current value of a specific sensor.

set
    Set the monitoring threshold for a specific sensor.

alert
    configure alert actions for triggers.

DESCRIPTION

The hsw-cli command provides a command-line interface to monitor and manage hardware components, particularly Intel CPUs, memory, and storage devices, using the Hardware Status Watcher (HSW) framework. It allows users to query the status of various sensors (temperature, voltage, current, power consumption), configure monitoring thresholds, and trigger alerts based on predefined conditions.

HSW is designed to provide a comprehensive view of system health and performance, enabling administrators and developers to identify potential issues early on and optimize system behavior.

With hsw-cli, you can diagnose hardware problems, monitor system performance under load, and ensure that your hardware is operating within safe limits.

CAVEATS

The availability and functionality of sensors depend on the hardware and kernel drivers.

EXAMPLES

hsw-cli list : Lists all supported devices.
hsw-cli get temp1: shows the temperature from temp1 sensor.
hsw-cli monitor: starts monitoring hardware stats.

SEE ALSO

sensors(1), smartctl(8)

Copied to clipboard