LinuxParty
Inxi, es un script de Perl, hasta la fecha de escribir este artículo, viene preinstalado en las distribuciones: Arch Linux, Ubuntu y Linux Mint y generalmente no viene preinstalado en el resto de las distribuciones, como Fedora, Debian, CentOS o RedHat.
Para CentOS y RedHat, es posible que tengas que instalar el repositorio EPEL.
Cómo habilitar el repositorio EPEL en RHEL / RedHat / CentOS 5 / 6 / 7?
Cómo instalar inxi
inxi está presente en el repositorio por defecto de la mayoría de distribuciones, de modo que es posible instalarlo con los siguientes comandos:
Instalar inxi en Arch y derivados:
# pacman -S inxi
Instalar inxi en Debian/Ubuntu y derivados:
# apt-get install inxi
Instalar inxi en Fedora y derivados:
# yum install inxi
Cómo utilizar inxi
Simplemente hay que abrir un terminal y ejecutar el script:
inxi
Es posible limitar la información a mostrar en base a los siguientes parámetros:
Conocer la marca y modelo de la Placa Base.
inxi -M
Mostrar la información de la tarjeta de sonido.
inxi -A
Mostrar información del CPU, incluyendo la velocidad de reloj del CPU.
inxi -C
Mostrar información del disco duro, no sólo el modelo.
inxi -D
Mostrar información de la tarjeta gráfica (tarjeta, tipo, resolución, procesador glx, versión, etc.).
inxi -G
Conocer los datos de los dispositivos de Red.
inxi -N
Toda la información del sistema en una única pantalla
inxi -F[javier@nLinuxParty ~]$ inxi -F
System:
Host: nLinuxParty Kernel: 6.4.7-200.fc38.x86_64 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.6 Distro: Fedora release 38 (Thirty Eight)
Machine:
Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop X1605PA_F1605PA
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: X1605PA v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: X1605PA.201 date: 11/03/2022
Battery:
ID-1: BAT0 charge: 42.8 Wh (100.0%) condition: 42.8/42.1 Wh (101.8%)
CPU:
Info: quad core model: 11th Gen Intel Core i5-11300H bits: 64 type: MT MCP
cache: L2: 5 MiB
Speed (MHz): avg: 1731 min/max: 400/4400 cores: 1: 953 2: 3100 3: 839
4: 945 5: 3100 6: 3100 7: 827 8: 991
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
Device-2: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.9
compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
dri: iris gpu: i915 resolution: 1: 1366x768 2: 1368x768
API: OpenGL v: 4.6 Mesa 23.1.5 renderer: Mesa Intel Xe Graphics (TGL GT2)
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio
driver: sof-audio-pci-intel-tgl
Device-2: ASUSTek C-Media Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB
API: ALSA v: k6.4.7-200.fc38.x86_64 status: kernel-api
Server-1: PipeWire v: 0.3.77 status: active
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi
IF: wlo1 state: up mac: c8:cb:9e:ec:4d:43
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
type: USB
Report: rfkill ID: hci0 state: up address: see --recommends
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
Drives:
Local Storage: total: 476.94 GiB used: 346.32 GiB (72.6%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNU512GZ size: 476.94 GiB
Partition:
ID-1: / size: 475.35 GiB used: 346.01 GiB (72.8%) fs: btrfs
dev: /dev/nvme0n1p3
ID-2: /boot size: 973.4 MiB used: 298.7 MiB (30.7%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 475.35 GiB used: 346.01 GiB (72.8%) fs: btrfs
dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: zram size: 7.44 GiB used: 434 MiB (5.7%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 41.0 C mobo: N/A
Fan Speeds (RPM): cpu: 1900
Info:
Processes: 315 Uptime: 1h 3m Memory: available: 7.44 GiB
used: 3.48 GiB (46.7%) Shell: Bash inxi: 3.3.27
[javier@nLinuxParty ~]$
[javier@nLinuxParty ~]$ rpm -qi inxi
Name : inxi
Version : 3.3.27
Release : 1.fc38
Architecture: noarch
Install Date: lun 07 ago 2023 19:43:58
Group : Unspecified
Size : 2024899
License : GPL-3.0-or-later
Signature : RSA/SHA256, mar 23 may 2023 12:28:45, Key ID 809a8d7ceb10b464
Source RPM : inxi-3.3.27-1.fc38.src.rpm
Build Date : mar 23 may 2023 12:17:03
Build Host : buildvm-x86-29.iad2.fedoraproject.org
Packager : Fedora Project
Vendor : Fedora Project
URL : http://smxi.org/docs/inxi.htm
Bug URL : https://bugz.fedoraproject.org/inxi
Summary : A full featured system information script
Description :
Inxi offers a wide range of built-in options, as well as a good number of extra
features which require having the script recommends installed on the system.
[javier@nLinuxParty ~]$
Otras más información sobre Inxi:
-I Información general: procesos activos, tiempo de actividad, memoria, cliente de IRC, versión inxi.
-l Mostrar etiquetas de las particiones.
-n Mostrar información avanzada de la tarjeta de red. Igual que -Nn. Muestra la interfaz, velocidad, dirección MAC, estado, etc.
Con: inxi -h, obtendremos toda la información:
[javier@localhost ~]$ inxi -h inxi supports the following options. You can combine these or list them one by one. For more detailed information, see man inxi. Examples: inxi -v4 -c6 OR inxi -bDc 6. If you start inxi with no arguments, it will display a short system summary. The following options, if used without -F, -b, or -v, will show option line(s): A, B, C, D, G, I, M, N, P, R, S, W, d, f, i, l, m, n, o, p, r, s, t, u, w, --slots, --usb - you can use these alone or together to show just the line(s) you want to see. If you use them with -v [level], -b or -F, inxi will combine the outputs. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Output Control Options: -a, --admin Adds advanced sys admin data (only works with verbose or line output, not short form): -C If available: CPU vulnerabilities (bugs); family, model-id, stepping - format: hex (decimal) if greater than 9, otherwise hex; microcode - format: hex. -d If available: logical and physical block sizes. -p,-P If available: raw size of partition, percent available for user, block size of file system (root required); for swap, shows swapiness and vfs cache pressure, and if values are default or not. -A, --audio Audio/sound card(s), driver, sound server. -b, --basic Basic output, short form. Same as inxi -v 2. -B, --battery System battery info, including charge and condition, plus extra info (if battery present). -c, --color Set color scheme (0-42). For piped or redirected output, you must use an explicit color selector. Example: inxi -c 11 Color selectors let you set the config file value for the selection (NOTE: IRC and global only show safe color set) 94 Console, out of X 95 Terminal, running in X - like xTerm 96 Gui IRC, running in X - like Xchat, Quassel, Konversation etc. 97 Console IRC running in X - like irssi in xTerm 98 Console IRC not in X 99 Global - Overrides/removes all settings. Setting specific removes global. -C, --cpu CPU output, including per CPU clock speed and max CPU speed (if available). -d, --disk-full, --optical Optical drive data (and floppy disks, if present). Triggers -D. -D, --disk Hard Disk info, including total storage and details for each disk. Disk total used percentage includes swap partition size(s). -f, --flags All CPU flags. Triggers -C. Not shown with -F to avoid spamming. -F, --full Full output. Includes all Upper Case line letters except -W, plus -s and -n. Does not show extra verbose options such as -d -f -i -l -m -o -p -r -t -u -x, unless specified. -G, --graphics Graphics info (card(s), driver, display protocol (if available), display server, resolution, renderer, OpenGL version). -i, --ip WAN IP address and local interfaces (requires ifconfig or ip network tool). Triggers -n. Not shown with -F for user security reasons. You shouldn't paste your local/WAN IP. -I, --info General info, including processes, uptime, memory, IRC client or shell type, inxi version. -l, --label Partition labels. Triggers -P. For full -p output, use -pl. -m, --memory Memory (RAM) data. Requires root. Numbers of devices (slots) supported and individual memory devices (sticks of memory etc). For devices, shows device locator, size, speed, type (e.g. DDR3). If neither -I nor -tm are selected, also shows RAM used/total. -M, --machine Machine data. Device type (desktop, server, laptop, VM etc.), motherboard, BIOS and, if present, system builder (e.g. Lenovo). Shows UEFI/BIOS/UEFI [Legacy]. Older systems/kernels without the required /sys data can use dmidecode instead, run as root. Dmidecode can be forced with --dmidecode -n, --network-advanced Advanced Network card info. Triggers -N. Shows interface, speed, MAC id, state, etc. -N, --network Network card(s), driver. -o, --unmounted Unmounted partition info (includes UUID and Label if available). Shows file system type if you have lsblk installed (Linux) or, for BSD/GNU Linux, if 'file' installed and you are root or if you have added to /etc/sudoers (sudo v. 1.7 or newer). Example: ALL = NOPASSWD: /usr/bin/file -p, --partitions-full Full partition information (-P plus all other detected partitions). -P, --partitions Basic partition info. Shows, if detected: / /boot /home /opt /tmp /usr /usr/home /var /var/log /var/tmp. Use -p to see all mounted partitions. -r, --repos Distro repository data. Supported repo types: APK, APT, EOPKG, PACMAN, PACMAN-G2, PISI, PORTAGE, PORTS (BSDs), SLACKPKG, TCE, URPMQ, XBPS, YUM/ZYPP. -R, --raid RAID data. Shows RAID devices, states, levels, and components. md-raid: If device is resyncing, also shows resync progress line. -s, --sensors Sensors output (if sensors installed/configured): mobo/CPU/GPU temp; detected fan speeds. GPU temp only for Fglrx/Nvidia drivers. Nvidia shows screen number for > 1 screen. IPMI sensors if present. --slots PCI slots: type, speed, status. Requires root. -S, --system System info: host name, kernel, desktop environment (if in X/Wayland), distro. -t, --processes Processes. Requires extra options: c (CPU), m (memory), cm (CPU+memory). If followed by numbers 1-x, shows that number of processes for each type (default: 5; if in IRC, max: 5). Make sure that there is no space between letters and numbers (e.g. -t cm10). --usb Show USB data: Hubs and Devices. -u, --uuid Partition UUIDs. Triggers -P. For full -p output, use -pu. -v, --verbosity Set inxi verbosity level (0-8). Should not be used with -b or -F. Example: inxi -v 4 0 Same as: inxi 1 Basic verbose, -S + basic CPU + -G + basic Disk + -I. 2 Networking card (-N), Machine (-M), Battery (-B; if present), and, if present, basic RAID (devices only; notes if inactive). Same as inxi -b 3 Advanced CPU (-C), battery (-B), network (-n); triggers -x. 4 Partition size/used data (-P) for (if present) /, /home, /var/, /boot. Shows full disk data (-D). 5 Audio card (-A), sensors (-s), memory/RAM (-m), partition label (-l), UUID (-u), short form of optical drives, standard RAID data (-R). 6 Full partition (-p), unmounted partition (-o), optical drive (-d), USB (--usb), full RAID; triggers -xx. 7 Network IP data (-i); triggers -xxx. 8 Everything available, including repos (-r), processes (-tcm), PCI slots (--slots). -w, --weather Local weather data/time. To check an alternate location, see -W. -W, --weather-location [location] Supported options for [location]: postal code; city, state/country; latitude, longitude. Only use if you want the weather somewhere other than the machine running inxi. Use only ASCII characters, replace spaces in city/state/country names with '+'. Example: inxi -W new+york,ny --weather-unit Set weather units to metric (m), imperial (i), metric/imperial (mi), or imperial/metric (im). -x, --extra Adds the following extra data (only works with verbose or line output, not short form): -B Vendor/model, status (if available); attached devices (e.g. wireless mouse, keyboard, if present). -C CPU flags, Bogomips on CPU; CPU microarchitecture + revision (if found, or unless --admin, then shows as 'stepping'). -d Extra optical drive features data; adds rev version to optical drive. -D HDD temp with disk data if you have hddtemp installed, if you are root, or if you have added to /etc/sudoers (sudo v. 1.7 or newer). Example: ALL = NOPASSWD: /usr/sbin/hddtemp -G Direct rendering status (in X); Screen number GPU is running on (Nvidia only). -i For IPv6, show additional scope addresses: Global, Site, Temporary, Unknown. See --limit for large counts of IP addresses. -I Default system GCC. With -xx, also shows other installed GCC versions. If running in shell, not in IRC client, shows shell version number, if detected. Init/RC type and runlevel (if available). -m Max memory module size (if available), device type. -N -A Version/port(s)/driver version (if available). -N -A -G PCI Bus ID/USB ID number of card. -R md-raid: second RAID Info line with extra data: blocks, chunk size, bitmap (if present). Resync line, shows blocks synced/total blocks. Hardware RAID driver version, bus ID. -s Basic voltages (ipmi, lm-sensors if present): 12v, 5v, 3.3v, vbat. -S Kernel gcc version; system base of distro (if relevant and detected) -t Adds memory use output to CPU (-xt c), and CPU use to memory (-xt m). --usb For Device: driver. -w -W Wind speed and direction, humidity, pressure, and (-w only) time zone. -xx, --extra 2 Show extra, extra data (only works with verbose or line output, not short form): -A Chip vendor:product ID for each audio device. -B Serial number, voltage now/minimum (if available). -C L1/L3 cache (if root and dmidecode installed). -D Disk transfer speed; NVMe lanes; Disk serial number. -G Chip vendor:product ID for each video card; OpenGL compatibility version, if free drivers and available; compositor (experimental); alternate Xorg drivers (if available). Alternate means driver is on automatic driver check list of Xorg for the card vendor, but is not installed on system. -I Other detected installed gcc versions (if present). System default runlevel. Adds parent program (or tty) for shell info if not in IRC. Adds Init version number, RC (if found). -m Manufacturer, part number; single/double bank (if found). -M Chassis info, BIOS ROM size (dmidecode only), if available. -N Chip vendor:product ID. -R md-raid: Superblock (if present), algorithm. If resync, shows progress bar. Hardware RAID Chip vendor:product ID. -s DIMM/SOC voltages (ipmi only). -S Display manager (dm) in desktop output (e.g. kdm, gdm3, lightdm); active window manager if detected; desktop toolkit, if available (Xfce/KDE/Trinity only). --slots Slot length. --usb Vendor:chip ID. -w -W Wind chill, dew point, heat index, if available. -xxx, --extra 3 Show extra, extra, extra data (only works with verbose or line output, not short form): -A Specific vendor/product information (if relevant), serial number. -B Chemistry, cycles, location (if available). -C CPU boost (turbo) enabled/disabled, if present. -D Firmware rev. if available; partition scheme, in some cases; disk rotation speed (if detected). -G Specific vendor/product information (if relevant); compositor version (if detectable). -I For 'Shell:' adds ([su|sudo|login]) to shell name if present; for 'running in:' adds (SSH) if SSH session. -m Width of memory bus, data and total (if present and greater than data); Detail for Type, if present; module voltage, if available; serial number. -N Specific vendor/product information (if relevant); serial number. -R zfs-raid: portion allocated (used) by RAID devices/arrays. md-raid: system md-raid support types (kernel support, read ahead, RAID events). Hardware RAID rev, ports, specific vendor/product information. -S Panel/tray/bar/dock info in desktop output, if in X (like lxpanel, xfce4-panel, mate-panel); (if available) dm version number, window manager version number. --usb For Device: serial number (if present), interface count; USB speed. -w -W Location (uses -z/irc filter), weather observation time, altitude (shows extra lines for data where relevant). -y, --width Output line width max (integer >= 80). Overrides IRC/Terminal settings or actual widths. Example: inxi -y 130 -z, --filter Adds security filters for IP/MAC addresses, serial numbers, location (-w), user home directory name. Default on for IRC clients. -Z, --filter-override Absolute override for output filters. Useful for debugging networking issues in IRC, for example. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Additional Options: -h, --help This help menu. --recommends Checks inxi application dependencies + recommends, and directories, then shows what package(s) you need to install to add support for that feature. -V, --version Prints inxi version info then exits. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Advanced Options: --alt Trigger for various advanced options: 40 Bypass Perl as a downloader option. 41 Bypass Curl as a downloader option. 42 Bypass Fetch as a downloader option. 43 Bypass Wget as a downloader option. 44 Bypass Curl, Fetch, and Wget as downloader options. Forces Perl if HTTP::Tiny present. --display [:[0-9]] Try to get display data out of X (default: display 0). --dmidecode Force use of dmidecode data instead of /sys where relevant (e.g. -M, -B). --downloader Force inxi to use [curl|fetch|perl|wget] for downloads. --host Turn on hostname for -S. --indent-min Set point where inxi autowraps line starters. --limit [-1; 1-x] Set max output limit of IP addresses for -i (default 10; -1 removes limit). --no-host Turn off hostname for -S. Useful if showing output from servers etc. --no-ssl Skip SSL certificate checks for all downloader actions (Wget/Fetch/Curl only). --output [json|screen|xml] Change data output type. Requires --output-file if not screen. --output-file [Full filepath|print] Output file to be used for --output. --partition-sort [dev-base|fs|id|label|percent-used|size|uuid|used] Change sort order of partition output. See man page for specifics. --sleep [0-x.x] Change CPU sleep time, in seconds, for -C (default: 0.35). Allows system to catch up and show a more accurate CPU use. Example: inxi -Cxxx --sleep 0.15 --usb-sys Force USB data to use /sys as data source (Linux only). --usb-tool Force USB data to use lsusb as data source (Linux only). --wm Force wm: to use wmctrl as data source. Default uses ps. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Debugging Options: --debug Triggers debugging modes. 1-3 On screen debugger output. 10 Basic logging. 11 Full file/system info logging. The following create a tar.gz file of system data, plus inxi output. To automatically upload debugger data tar.gz file to ftp.techpatterns.com: inxi --debug 21 20 Full system data collection: /sys; xorg conf and log data, xrandr, xprop, xdpyinfo, glxinfo etc.; data from dev, disks, partitions, etc. 21 Upload debugger dataset to inxi debugger server automatically, removes debugger data directory, leaves tar.gz debugger file. 22 Upload debugger dataset to inxi debugger server automatically, removes debugger data directory and debugger tar.gz file. --debug-proc Force debugger parsing of /proc as sudo/root. --debug-proc-print To locate file that /proc debugger hangs on. --debug-no-sys Skip /sys debugging in case of a hang. --debug-sys Force PowerPC debugger parsing of /sys as sudo/root. --debug-sys-print To locate file that /sys debugger hangs on. --ftp Use with --debugger 21 to trigger an alternate FTP server for upload. Format: [ftp.xx.xx/yy]. Must include a remote directory to upload to. Example: inxi --debug 21 --ftp ftp.myserver.com/incoming - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [javier@localhost ~]$
-
Hardware
- Cómo Imprimir desde la Línea de Comandos en Linux y Solucionar Problemas con Impresoras en Red
- Los 5 mejores comandos de Linux para solucionar problemas (y cómo los uso)
- 5 comandos de Linux para encontrar rápidamente la información de tu Sistema Operativo
- El controlador de gráficos NVIDIA 560 Linux adoptará completamente módulos de kernel de GPU de código abierto
- El 84% de los usuarios de PC no están dispuestos a pagar más por un hardware con soporte para IA, según una encuesta
- ¿PC con Linux o Windows 11 Copilot+? TUXEDO presenta el portátil Snapdragon X Elite ARM
- La startup finlandesa 'Flow' afirma que puede multiplicar por 100 la potencia de cualquier CPU con su chip complementario
- China lanza el buque portacontenedores eléctrico más grande del mundo
- Testar el rendimiento de discos duros en Linux
- ¿Por qué los portátiles están soldando sus RAM a la placa?
- TUXEDO Sirius 16 Gen2, el portátil de juegos Linux completamente AMD, recibe un CPU Ryzen 7 más rápido
- Clonezilla Live ahora está parcheado contra la puerta trasera XZ, con tecnología Linux 6.7
- La computadora de escritorio LXQt 2.0 se lanza en abril con un nuevo menú de aplicaciones y portado a Qt 6
- Lanzamiento del controlador de gráficos NVIDIA 550.54.14 para Linux con muchas mejoras
- El firmware BIOS/UEFI de código abierto Libreboot agrega más soporte de hardware