linux:hardware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:hardware [2017/07/11 05:41] – lamboringolinux:hardware [2026/09/25 07:14] (current) – lamboringo
Line 1: Line 1:
 +==== Hardware info ====
 +
 +https://opensource.com/article/19/9/linux-commands-hardware-information
 +
 +=== summary ===
 +  inxi -Fxzm
 +  lshw -short
 +
 === memory === === memory ===
   lshw -short -C memory   lshw -short -C memory
   cat /proc/meminfo   cat /proc/meminfo
 +  dmidecode --type 17
  
 === cpu === === cpu ===
Line 9: Line 18:
   lsusb -t   lsusb -t
  
-=== gamborimbo == +=== gpu === 
-<code> +  lspci -vnn | grep VGA -A 20 
-H/W path           Device      Class          Description +
-========================================================= +
-/0/0                           memory         1MiB BIOS +
-/0/1a                          memory         8GiB System Memory +
-/0/1a/0                        memory         4GiB SODIMM DDR3 Synchronous 1333 MHz (0.8 ns) +
-/0/1a/1                        memory         4GiB SODIMM DDR3 Synchronous 1333 MHz (0.8 ns) +
-/0/25/27                       memory         32KiB L1 cache +
-/0/25/28                       memory         256KiB L2 cache +
-/0/25/29                       memory         6MiB L3 cache +
-/0/26                          memory         32KiB L1 cache +
-</code>+
  
 ==== Monitoring ==== ==== Monitoring ====
Line 47: Line 46:
   netstat   netstat
   iftop   iftop
 +  dnf install nethogs # per process
 +  nethogs
 +  nmcli dev wifi
 +  iwlist scan
 +
 +
 +bandwidth performance
 +  dnf list iperf iperf3
 +  # server. -p portnum
 +  iperf3 -s -p 8080
 +  # client
 +  iperf3 -c serviIP -p 8080
 +
 +=== tuto udev ===
 +
 +https://opensource.com/article/18/11/udev
 +
 +  udevadm monitor
 +  devadm info 
 +  udevadm info -a -n /dev/sdb | less
 +
 +=== links ===
 +
 +  * https://github.com/iovisor/bcc /usr/share/bcc/tools
 +
 +==== GRUB / Resume / Hibernate ====
 +
 +/dev/sdxy the swap partition
 +
 +in /etc/default/grub add to GRUB_CMDLINE_LINUX="quiet splash resume=/dev/sdxy"
 +
 +or directly in /boot/grub2/grub.conf
 +
 +keyboard linux /vmlinuz.... vconsole.keymap=fr LANG=fr_FR.UTF-8
 +
 +
  • linux/hardware.1499751667.txt.gz
  • Last modified: 2017/07/11 05:41
  • by lamboringo