linux:hardware

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:hardware [2017/04/15 08:05] – created 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 8: Line 17:
 === usb === === usb ===
   lsusb -t   lsusb -t
 +
 +=== gpu ===
 +  lspci -vnn | grep VGA -A 20
 +
 +
 +==== Monitoring ====
 +CPU, MEM, ...
 +  top
 +  htop
 +  glances
 +
 +IO http://xmodulo.com/how-to-monitor-disk-io-in-linux.html
 +  iotop
 +  atop
 +by disk or partition
 +  dnf list sysstat
 +  iostat -xd 1 # update every second
 +  iostat -p /dev/sda1 -xd 1
 +
 +  dnf list gnome-disk-utility
 +  palimpsest
 +  gnome-disks
 +
 +  dnf list smartmontools
 +  smartctl -a /dev/sda
 +
 +NET http://www.slashroot.in/find-network-traffic-and-bandwidth-usage-process-linux
 +  netstat
 +  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.1492243527.txt.gz
  • Last modified: 2017/04/15 08:05
  • by lamboringo