Skip to content

Instantly share code, notes, and snippets.

@lnxfsf
Created June 30, 2023 13:13
Show Gist options
  • Select an option

  • Save lnxfsf/72472fade841a78accff8fe24a7b2f37 to your computer and use it in GitHub Desktop.

Select an option

Save lnxfsf/72472fade841a78accff8fe24a7b2f37 to your computer and use it in GitHub Desktop.
# Test your PC hardware in GNU/Linux
1. Check the system's specifications: Use the `lshw` command to get detailed information about the system's hardware components, such as the processor, memory, storage devices, and network interfaces.
2. Test the processor: Use the `lscpu` command to check the processor's specifications, such as the number of cores, clock speed, and architecture.
3. Test the memory: Use the `free` command to check the amount of free and used memory on the system. You can also use the `memtest86+` tool to perform a more thorough test of the system's memory.
4. Test the storage devices: Use the `lsblk` command to check the storage devices connected to the system, including their size and file system type. You can also use the `smartctl` tool to check the health of the storage device.
5. Test the network interfaces: Use the `ifconfig` or `ip addr` command to check the network interfaces on the system. You can also use the `ping` command to check if the system can communicate with other devices on the network.
6. Test the GPU: Use the `lspci | grep VGA` to check the Graphics card.
7. Check the temperature: Use the `sensors` command to check the temperature of different hardware components
8. Check the power supply: Use the `upower -i /org/freedesktop/UPower/devices/battery_BAT0` to check the current status of the battery, if the PC is a laptop, otherwise check the power supply using a multimeter.
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment