Skip to content

Instantly share code, notes, and snippets.

@keilmillerjr
Last active February 16, 2023 13:20
Show Gist options
  • Save keilmillerjr/aa682f9daf1df28bee2aaa8f72b1017c to your computer and use it in GitHub Desktop.
Save keilmillerjr/aa682f9daf1df28bee2aaa8f72b1017c to your computer and use it in GitHub Desktop.
Linux System Information

Linux System Information

System Information

inxi

inxi is a command line system information tool. Personally identifiable information like serial numbers and MAC addresses will be filtered out by the folowing command. This command is most helpful.

$ inxi --admin --verbosity=7 --filter --no-host
System:
  Kernel: 5.9.11-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=8ddaa5e3-9f1d-4233-a023-29ea2cad9e44 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: GNOME 3.38.1 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.38.2 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Gigabyte product: A320M-S2H v: N/A serial: <filter> 
  Mobo: Gigabyte model: A320M-S2H-CF v: x.x serial: <filter> 
  UEFI: American Megatrends v: F52 date: 08/03/2020 
Memory:
  RAM: total: 15.65 GiB used: 6.47 GiB (41.4%) 
  RAM Report: 
  permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701021 
  L2 cache: 3072 KiB bogomips: 86272 
  Speed: 3592 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 
  1: 3764 2: 3593 3: 3763 4: 3593 5: 3592 6: 3626 7: 3611 8: 3643 9: 3833 
  10: 3881 11: 4030 12: 3839 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total 
  cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid 
  f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs 
  irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe 
  msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae 
  pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb 
  pfthreshold pge pni popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a 
  rdtscp rep_good sep sev sha_ni skinit smap smca sme smep ssbd sse sse2 
  sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext 
  tsc tsc_scale umip v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd 
  wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Tonga PRO [Radeon R9 285/380] vendor: PC Partner Limited 
  driver: amdgpu v: kernel bus ID: 07:00.0 chip ID: 1002:6939 
  Display: x11 server: X.Org 1.20.10 compositor: gnome-shell 
  driver: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
  display ID: :1 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 82 
  size: 598x336mm (23.5x13.2") diag: 686mm (27") 
  OpenGL: renderer: AMD Radeon R9 380 Series (TONGA DRM 3.39.0 
  5.9.11-3-MANJARO LLVM 11.0.0) 
  v: 4.6 Mesa 20.2.3 direct render: Yes 
Audio:
  Device-1: AMD Tonga HDMI Audio [Radeon R9 285/380] 
  vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 07:00.1 
  chip ID: 1002:aad8 
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 09:00.4 chip ID: 1022:1487 
  Sound Server: ALSA v: k5.9.11-3-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: f000 bus ID: 06:00.0 
  chip ID: 10ec:8168 
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  IF-ID-2: virbr0-nic state: down mac: <filter> 
  WAN IP: <filter> 
Drives:
  Local Storage: total: 4.13 TiB used: 3.79 TiB (91.8%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: Mushkin model: MKNSSDRE256GB size: 238.47 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 7C scheme: GPT 
  ID-2: /dev/sdb vendor: Mushkin model: MKNSSDSR250GB size: 232.89 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 2A0 scheme: GPT 
  ID-3: /dev/sdc type: USB vendor: SanDisk model: Ultra size: 28.64 GiB 
  block size: physical: 512 B logical: 512 B serial: <filter> rev: 1.00 
  scheme: MBR 
  ID-4: /dev/sdd type: USB vendor: Western Digital model: WD easystore 25FA 
  size: 3.64 TiB block size: physical: 4096 B logical: 512 B 
  serial: <filter> rev: 1013 scheme: GPT 
  Message: No Optical or Floppy data was found. 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / raw size: 238.17 GiB size: 233.43 GiB (98.01%) 
  used: 159.30 GiB (68.2%) fs: ext4 dev: /dev/sda2 label: N/A 
  uuid: 8ddaa5e3-9f1d-4233-a023-29ea2cad9e44 
  ID-2: /boot/efi raw size: 300.0 MiB size: 299.4 MiB (99.80%) 
  used: 280 KiB (0.1%) fs: vfat dev: /dev/sda1 label: N/A uuid: 5759-F02A 
  ID-3: /mnt/ssd2 raw size: 232.88 GiB size: 228.23 GiB (98.00%) 
  used: 55.86 GiB (24.5%) fs: ext4 dev: /dev/sdb1 label: SSD2 
  uuid: e4cc1477-ad3f-4b63-99f1-83e07b0d347e 
  ID-4: /run/media/keiljr/A320M-S2H raw size: 28.64 GiB 
  size: 28.63 GiB (99.95%) used: 16.2 MiB (0.1%) fs: vfat dev: /dev/sdc1 
  label: A320M-S2H uuid: 5F74-3363 
  ID-5: /run/media/keiljr/ARCADE raw size: 3.64 TiB size: 3.64 TiB (100.00%) 
  used: 3.58 TiB (98.4%) fs: ntfs dev: /dev/sdd1 label: ARCADE 
  uuid: 6C06E3FE06E3C6E4 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 9 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 
  Device-1: 1-9:2 info: Corsair CORSAIR Lighting Node CORE type: HID 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
  chip ID: 1b1c:0c1a serial: <filter> 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 3 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
  Device-1: 2-2:2 info: SanDisk Ultra type: Mass Storage driver: usb-storage 
  interfaces: 1 rev: 3.0 speed: 5 Gb/s chip ID: 0781:5581 serial: <filter> 
  Device-2: 2-3:3 info: Western Digital easystore Portable 5TB (WDBKUZ0050) 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.0 
  speed: 5 Gb/s chip ID: 1058:25fa serial: <filter> 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 
  Device-1: 3-2:2 info: Innomedia NEOGEOX Arcade Stick type: HID 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s 
  chip ID: 1292:4e47 
  Device-2: 3-3:3 info: Logitech G413 Gaming Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  chip ID: 046d:c33a serial: <filter> 
  Device-3: 3-4:4 info: Kensington Orbit Trackball with Scroll Ring 
  type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0 
  speed: 1.5 Mb/s chip ID: 047d:2048 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 

NeoFetch

NeoFetch gives a pretty system overview in the terminal.

$ pacman -S
$ neofetch
                   -`                    keiljr@keil-dt 
                  .o+`                   -------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: A320M-S2H 
               `+oooooo:                 Kernel: 5.16.10-arch1-1 
               -+oooooo+:                Uptime: 15 mins 
             `/:-:++oooo+:               Packages: 1904 (pacman), 15 (snap) 
            `/++++/+++++++:              Shell: zsh 5.8.1 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: GNOME 41.4 
         ./ooosssso++osssssso+`          WM: Mutter 
        .oossssso-````/ossssss+`         WM Theme: Adwaita 
       -osssssso.      :ssssssso.        Theme: Adwaita-maia-compact-dark [GTK2 
      :osssssss/        osssso+++.       Icons: Papirus-Adapta-Nokto-Maia [GTK2 
     /ossssssss/        +ssssooo/-       Terminal: gnome-terminal 
   `/ossssso+/:-        -:/+osssso+-     CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz 
  `+sso+:-`                 `.-/+oso:    GPU: AMD ATI Radeon R9 285/380 
 `++:.                           `-/+/   Memory: 3220MiB / 16010MiB 
 .`                                 `/

Linux Kernel

$ uname -r
5.8.6-1-MANJARO

Manjaro

$ cat /etc/lsb-release
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.1
DISTRIB_CODENAME=Mikah
DISTRIB_DESCRIPTION="Manjaro Linux"

Gnome Shell

$ gnome-shell --version
GNOME Shell 3.36.6

Manjaro HardWare Detection

Installed Driver Configs

$ sudo mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
@djhunter67
Copy link

I think it would be a good idea to add this to your gists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment