LinuxCommandLibrary

st-info

Display information about ST-Link programmers

TLDR

Display amount of program memory available

$ st-info --flash
copy

Display amount of SRAM memory available
$ st-info --sram
copy

Display summarized information of the device
$ st-info --probe
copy

SYNOPSIS

st-info [options]

PARAMETERS

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

-v, --version
    Show program version and exit.

--short
    Short output.

--devices
    Show device names and paths.

--modules
    Show kernel module information.

--block
    Show block device information.

--system
    Show system information.

--memory
    Show memory information.

--cpu
    Show CPU information.

--pci
    Show PCI device information.

--usb
    Show USB device information.

--net
    Show network interface information.

--audio
    Show audio device information.

--video
    Show video device information.

--bluetooth
    Show bluetooth adapter information.

--serial
    Show serial port information.

--input
    Show input device information.

--platform
    Show platform information.

--kernel
    Show kernel information.

--os
    Show operating system information.

--shell
    Show shell information.

--battery
    Show battery information.

--smbios
    Show SMBIOS (System Management BIOS) information.

--all
    Show all available information (default).

DESCRIPTION

st-info is a command-line utility designed to provide detailed information about the hardware components of a Linux system.
It leverages various system files and tools, such as dmidecode, lscpu, lspci, and lsusb, to gather data related to the CPU, memory, motherboard, graphics card, network interfaces, and storage devices.
The information is presented in a human-readable format, making it easier for users to understand their system's configuration. st-info aims to consolidate hardware details into a single, easily accessible tool, eliminating the need to run multiple commands separately.
It can be useful for system administrators, developers, and general users who need to quickly identify hardware specifications for troubleshooting, system auditing, or software compatibility purposes. The command can display everything or be limited to specific hardware by calling specific options.
st-info may depend on the availability of specific system tools and their configuration. Note that certain functionalities might require root privileges to access some of the required system files.

CAVEATS

The accuracy and completeness of the information provided by st-info depend on the availability and accuracy of data in the underlying system files and tools. Some information might require root privileges to access.

EXIT STATUS

The st-info command typically returns an exit status of 0 upon successful execution and a non-zero exit status to indicate an error.

SEE ALSO

dmidecode(8), lscpu(1), lspci(8), lsusb(8)

Copied to clipboard