#Linux - System Information
You can use inxi
to show details of your system configuration. Inxi is a bash script which ties in a number of other commands to provide an overview of the system configuration.
$ inxi
produces:
CPU~Dual core Intel Pentium D CPU (-MCP-) clocked at 3192.247 Mhz Kernel~3.5.0-17-generic x86_64
Up~10 days Mem~2359.0/3009.6MB HDD~2000.4GB(4.0% used) Procs~196 Client~Shell inxi~1.8.4
inxi has a huge range of information it can provide. Details can be found using inxi --help
. For example, inxi -F
will produce a full output as follows:
System: Host: nodenx001 Kernel: 3.5.0-17-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 14 Nadia
Machine: System: Dell product: Dell DXP051
Mobo: Dell model: 0YC523 Bios: Dell version: A03 date: 01/03/2006
CPU: Dual core Intel Pentium D CPU (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 vmx)
Clock Speeds: 1: 3192.247 MHz 2: 3192.247 MHz
Graphics: Card: NVIDIA NV41.1 [GeForce 6800]
X.Org: 1.13.0 drivers: (unloaded: fbdev,vesa) FAILED: nouveau Resolution: [email protected], [email protected]
GLX Renderer: Gallium 0.4 on NV42 GLX Version: 2.1 Mesa 9.0.3
Audio: Card: Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel Sound: ALSA ver: 1.0.25
Network: Card: Intel 82573L Gigabit Ethernet Controller driver: e1000e
IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:13:72:09:b3:40
Drives: HDD Total Size: 2000.4GB (4.0% used) 1: id: /dev/sda model: WDC_WD20EARX size: 2000.4GB
Partition: ID: / size: 1.8T used: 74G (5%) fs: ext4 ID: swap-1 size: 3.22GB used: 1.61GB (50%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A gpu: 4.0
Info: Processes: 209 Uptime: 14 days Memory: 2608.9/3009.6MB Client: Shell inxi: 1.8.4
Running inxi --recommends
will provide a list of the component commands which it uses and tell you if some are missing.
inxi will now begin checking for the programs it needs to operate. First a check of
the main languages and tools inxi uses. Python is only for debugging data collection.
-----------------------------------------------------------------------------------------
Bash version: 4.2.37(1)-release
Gawk version: 4.0.1
Sed version: 4.2.1
Sudo version: 1.8.5p2
Python version: 2.7.3
-----------------------------------------------------------------------------------------
Test One: Required System Directories.
If one of these system directories is missing, inxi cannot operate:
Required file system: /proc................................................. Present
Required file system: /sys.................................................. Present
All the required directories are present.
-----------------------------------------------------------------------------------------
Test Two: Required Core Applications.
If one of these applications is missing, inxi cannot operate:
Required application: df (info: partition data)............................. /bin/df
Required application: free (info: system memory)............................ /usr/bin/free
Required application: gawk (info: core tool)................................ /usr/bin/gawk
Required application: grep (info: string search)............................ /bin/grep
Required application: lspci (info: hardware data)........................... /usr/bin/lspci
Required application: ps (info: process data)............................... /bin/ps
Required application: readlink.............................................. /bin/readlink
Required application: sed (info: string replace)............................ /bin/sed
Required application: tr (info: character replace).......................... /usr/bin/tr
Required application: uname (info: kernel data)............................. /bin/uname
Required application: uptime................................................ /usr/bin/uptime
Required application: wc (info: word character count)....................... /usr/bin/wc
All the required applications are present.
-----------------------------------------------------------------------------------------
Test Three: Script Recommends for Graphics Features. If you do not use X these do not matter.
If one of these applications is missing, inxi will have incomplete output:
Recommended X application: glxinfo (info: -G glx info)...................... /usr/bin/glxinfo
Recommended X application: xdpyinfo (info: -G multi screen resolution)...... /usr/bin/xdpyinfo
Recommended X application: xprop (info: -S desktop data).................... /usr/bin/xprop
Recommended X application: xrandr (info: -G single screen resolution)....... /usr/bin/xrandr
All the recommended applications are present.
-----------------------------------------------------------------------------------------
Test Four: Script Recommends for Remaining Features.
If one of these applications is missing, inxi will have incomplete output:
Recommended application: file (info: -o unmounted file system).............. /usr/bin/file
Recommended application: hddtemp (info: -Dx show hdd temp).................. /usr/sbin/hddtemp
Recommended application: ifconfig (info: -i ip lan-deprecated).............. /sbin/ifconfig
Recommended application: ip (info: -i ip lan)............................... /sbin/ip
Recommended application: sensors (info: -s sensors output).................. /usr/bin/sensors
Recommended application: lsusb (info: -A usb audio;-N usb networking)....... /usr/bin/lsusb
Recommended application: modinfo (info: -Ax,-Nx module version)............. /sbin/modinfo
Recommended application: runlevel (info: -I runlevel)....................... /sbin/runlevel
Recommended application: sudo (info: -Dx hddtemp-user;-o file-user)......... /usr/bin/sudo
All the recommended applications are present.
-----------------------------------------------------------------------------------------
Test Five: System Directories for Various Information.
If one of these directories is missing, inxi will have incomplete output:
System directory: /sys/class/dmi/id (info: -M system, motherboard, bios).... Present
System directory: /dev (info: -l,-u,-o,-p,-P,-D disk partition data)........ Present
System directory: /dev/disk/by-label (info: -l,-o,-p,-P partition labels)... Missing
System directory: /dev/disk/by-uuid (info: -u,-o,-p,-P partition uuid)...... Present
The following directories are missing from your system:
Directory: /dev/disk/by-label
These directories are created by the kernel, so don't worry if they are not present.
-----------------------------------------------------------------------------------------
All tests completed.
##CPU Info You can also use:
lscpu
to get information on the cpu. The output will be like:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 15
Model: 6
Stepping: 2
CPU MHz: 3192.247
BogoMIPS: 6384.49
Virtualization: VT-x
L1d cache: 16K
L2 cache: 2048K
NUMA node0 CPU(s): 0,1