LinuxCommandLibrary

inxi

Show system hardware and software information

TLDR

Print a summary of CPU, memory, hard drive and kernel information

$ inxi
copy

Print a full description of CPU, memory, disk, network, and process information and filter sensitive information
$ inxi [[-ez|--expanded --filter]]
copy

Print a summary of CPU information
$ inxi [[-C|--cpu]]
copy

Print a summary of graphics information
$ inxi [[-G|--graphics]]
copy

Print a summary of system RAM
$ inxi [[-m|--memory]]
copy

Print a summary of system audio
$ inxi [[-A|--audio]]
copy

Print available sensor data
$ inxi [[-s|--sensors]]
copy

Print information about the distribution's repositories
$ inxi [[-r|--repos]]
copy

SYNOPSIS

inxi [options]

Examples:
inxi -F
inxi -S -C -G -N
inxi -t c -t m

PARAMETERS

-F
    Outputs a full system report, including system, CPU, graphics, drives, network, and other common information.

-S
    Displays system information, including host, kernel, distro, uptime, and desktop environment.

-C
    Shows CPU information, such as model, core count, speed, and CPU flags.

-G
    Provides detailed graphics information, including graphics card model, display server, and driver details.

-M
    Outputs motherboard information, including manufacturer, model, and BIOS/UEFI version.

-D
    Lists disk drives, their sizes, models, and partition usage.

-N
    Displays network card information, including device, driver, and MAC address.

-A
    Shows audio device information and drivers.

-R
    Lists repository information for supported distributions (e.g., APT, RPM).

-t
    Reports temperatures. Use 'c' for CPU, 'g' for GPU, 'd' for disks. Optional number specifies verbosity or top processes.

-v
    Sets verbosity level (0-8). Higher levels provide more detailed output for various sections.

-h
    Displays the help message with available options.

DESCRIPTION

inxi is a powerful and versatile command-line script designed to provide comprehensive system information in an easy-to-read format. It gathers data from various sources, including system utilities and kernel files, to present detailed insights into hardware, software, and system health.

Users can quickly retrieve information about their CPU, GPU, motherboard, memory, storage devices, network interfaces, audio devices, kernel, running processes, temperatures, and much more. It's an invaluable tool for system diagnostics, troubleshooting, reporting bugs, or simply understanding your system's configuration. Its output is designed to be easily shareable, making it popular in support forums and IRC channels for quick system specification sharing.

CAVEATS

inxi relies on various underlying system utilities (e.g., lm_sensors, pciutils, usbutils). If these are not installed or correctly configured, some information might be missing or incomplete.

While highly informative, sharing the full output of inxi -F publicly should be done with care, as it contains detailed system specifications which could potentially be used for targeted attacks, though generally, it's considered safe for support contexts.

USAGE IN SUPPORT AND DEBUGGING

Due to its comprehensive and human-readable output, inxi is frequently requested in technical support forums, bug reports, and IRC channels. The -F option is particularly useful for providing a quick, all-encompassing snapshot of a system, which greatly aids in diagnosing issues.

DEPENDENCIES AND ACCURACY

The accuracy and completeness of inxi's output often depend on the presence of optional dependencies like lm_sensors for temperature readings, pciutils for PCI device details, and usbutils for USB device enumeration. Ensuring these are installed can enhance the depth of information provided.

HISTORY

inxi originated in 2007, created by locsmif for an IRC channel to quickly get system information for support purposes. It was designed as a simple Bash script but rapidly evolved into a sophisticated diagnostic tool. Its development focused on readability, portability across various Linux distributions, and extensive data gathering capabilities, making it a widely adopted standard for system information reporting in the Linux community.

SEE ALSO

lshw(1), lspci(8), lsusb(8), dmidecode(8), free(1), df(1), uname(1)

Copied to clipboard