Hardware
See also: Administrative, Drives, Virtualization
North Bridge
dmidecode
View information about the motherboard and BIOS.
lspci
Usage |
Explanation |
---|---|
-m |
lists PCI hardware |
lscpu
Display information about the current system’s processors.
lsusb
Display attached USB devices.
sensors-detect
Package: lm_sensors
Automatically find sensors on your motherboard. This generates a configuration file to be used with the “sensors” command.
sensors
Displays the current temperature of your devices.
stress
Package: stress
A utility for stress testing the processor, RAM, and/or storage.
Usage |
Explanation |
---|---|
-c, –cpu |
spawn CPU workers |
-i, –io |
spawn I/O workers in RAM and storage devices |
-m,–vm |
spawns RAM workers |
–vm-bytes |
specify bytes to write to RAM |
-d, –hdd |
spawn I/O workers on the actual drive |
-t |
timeout time |
-v |
verbose |
stress-ng
Package: stress-ng
An updated “next generation” stress utility.
netio
Stress test utility for networks.
i8kctl
Package: i8kutils.
A utility to manage fans on Dell laptops. By default, the BIOS will have full automatic control over the fans. That will need to be disabled for this utility to work properly.
Usage |
Explanation |
---|---|
fan |
show the current speed settings |
fan 0 0 |
disable both the left and right fan |
fan 1 1 |
set the fans to be on low speed |
fan 2 2 |
set the fans to be on max speed |
Audio
alsamixer
Package: alsa-utils
A CLI utility for volume control of the speakers.
speaker-test
Usage |
Explanation |
---|---|
-c 2 |
test audio output on stereo speakers |
-D hw:<DEVICE> |
test a specific audio device; you can get this information from /proc/asound/pcm |
Example |
Explanation |
---|---|
-D hw:0,0 |
test the 0,0 speakers |
Graphics
intel-gpu-tools
Monitor utility for Intel integrated graphics.
nvidia-smi
Monitor utility for Nvidia graphics cards. This only works with the proprietary “nvidia” driver.
Usage |
Explanation |
---|---|
show the resource and power utilization of the card |
|
-i 0 -p1 <WATTS> |
set the maximum amount of wattage that the first Nvidia card detected should use |
Example |
Explanation |
---|---|
-i 0 -p1 80 |
only allow the first Nvidia card to use up to 80 watts of power |
aticonfig
Monitor utility for AMD cards. This only works with the proprietary “fglrx” driver.
Usage |
Explanation |
---|---|
-odgc -odgt |
radeontop
Monitor utility for AMD cards. This works with both the “fglrx” and open-source “radeon” driver.
xrandr
Configure different display settings.
Usage |
Explanation |
---|---|
–output <DISPLAY> –primary |
change the primary monitor |
glxinfo
Displays information about the GPU driver and related libraries.
Example |
Explanation |
---|---|
glxinfo | grep “OpenGL version” |
find the maximum supported OpenGL version |
mhwd
The Manjaro Hardware Detection utility is used to install hardware drivers on Manjaro Linux.
Usage |
Explanation |
---|---|
-a pci {free|nonfree} 0300 |
install the graphics drivers automatically based on the hardware found |
-l -d {–pci} |
view available drivers that can be installed (optionally only for PCI devices) |
-li -d {–pci|–usb|} |
list installed drivers |
-i pci <DRIVER> |
manually install a new driver |
-f -i pci <DRIVER> |
force a re-install of a driver |
-r <DRIVER> |
remove a hardware driver |
IPMI
ipmitool
Package: OpenIPMI-tools
Usage |
Explanation |
---|---|
-I lanplus -H <IPADDR> -U <USER> -P <PASSWORD> {chassis|power} status |
remotely connect to IPMI to check the status of a particular component |
-A MD5 |
use MD5 encryption for authentication |
user list 1 |
show all users |
-I lanplus -H <IPADDR> -U <USER> -P <PASSWORD> user set password 2 <NEWPASS> |
reset password for a user |
ipmitool lan
Manage the network connection for the IPMI device.
Usage |
Explanation |
---|---|
print 1 |
display the network settings |
set 1 ipsrc {static|dhcp} |
change the network mode |
set 1 ipaddr |
set the IP address |
set 1 netmask |
set the subnet mask |
Example |
Explanation |
---|---|
set 1 ipsrc static |
use static IP addressing |
set 1 ipaddr 192.168.1.101 |
set the IP address |
set 1 netmask 255.255.255.0 |
set the subnet mask |
ipmicfg
Configure IPMI.
Usage |
Explanation |
---|---|
-raw 0x30 0x70 0x0c 0 |
view the LAN mode (dedicated, shared, or failover) |
-raw 0x30 0x70 0x0c 1 0 |
set the LAN mode to dedicated |
-raw 0x30 0x70 0x0c 1 1 |
set the LAN mode to shared |
-raw 0x30 0x70 0x0c 1 2 |
set the LAN mode to failover |
lUpdate
IPMI firmware update utility.
Usage |
Explanation |
---|---|
-i kcs -f |
update IPMI’s firmware |