====== Systems - Media Server - Install Useful Packages ======
Various packages which are useful.
----
===== Most =====
sudo apt install most
----
===== Sensors =====
sudo apt install lm-sensors
**NOTE:** lm-sensors provides tools and drivers for monitoring temperatures, voltage, humidity, and fans.
To use:
sensors
returns:
corsairpsu-hid-3-3
Adapter: HID adapter
v_in: 230.00 V
v_out +12v: 12.08 V (crit min = +8.41 V, crit max = +15.59 V)
v_out +5v: 5.08 V (crit min = +3.50 V, crit max = +6.50 V)
v_out +3.3v: 3.31 V (crit min = +2.31 V, crit max = +4.30 V)
psu fan: 0 RPM
vrm temp: +47.5°C (crit = +70.0°C)
case temp: +50.2°C (crit = +70.0°C)
power total: 134.00 W
power +12v: 104.00 W
power +5v: 24.50 W
power +3.3v: 7.50 W
curr +12v: 8.75 A (crit max = +168.75 A)
curr +5v: 5.06 A (crit max = +40.00 A)
curr +3.3v: 2.38 A (crit max = +40.00 A)
nvme-pci-0100
Adapter: PCI adapter
Composite: +36.9°C (low = -273.1°C, high = +81.8°C)
(crit = +84.8°C)
Sensor 1: +36.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +41.9°C (low = -273.1°C, high = +65261.8°C)
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: N/A
k10temp-pci-00c3
Adapter: PCI adapter
Tctl: +34.6°C
Tccd1: +32.0°C
Tccd2: +29.8°C
----
===== WGet =====
sudo apt install wget
----
===== nvme-cli =====
sudo apt install nvme-cli
To use:
nvme list
returns:
Node Generic SN Model Namespace Usage Format FW Rev
--------------------- --------------------- -------------------- ---------------------------------------- ---------- -------------------------- ---------------- --------
/dev/nvme0n1 /dev/ng0n1 S7PJNJ0Y405817D Samsung SSD 990 PRO 2TB 0x1 36.65 GB / 2.00 TB 512 B + 0 B 4B2QJXD7
and
sudo nvme smart-log /dev/nvme0n1
returns:
Smart Log for NVME device:nvme0n1 namespace-id:ffffffff
critical_warning : 0
temperature : 39 °C (312 K)
available_spare : 100%
available_spare_threshold : 10%
percentage_used : 0%
endurance group critical warning summary: 0
Data Units Read : 4932 (2.53 GB)
Data Units Written : 76004 (38.91 GB)
host_read_commands : 70607
host_write_commands : 156114
controller_busy_time : 1
power_cycles : 5
power_on_hours : 1
unsafe_shutdowns : 1
media_errors : 0
num_err_log_entries : 0
Warning Temperature Time : 0
Critical Composite Temperature Time : 0
Temperature Sensor 1 : 39 °C (312 K)
Temperature Sensor 2 : 44 °C (317 K)
Thermal Management T1 Trans Count : 0
Thermal Management T2 Trans Count : 0
Thermal Management T1 Total Time : 0
Thermal Management T2 Total Time : 0
----
===== Smartctl =====
sudo apt install smartmontools
To use:
sudo smartctl -x /dev/sda
and
sudo smartctl -l farm /dev/sda
**NOTE:** **FARM** (Field Accessible Reliability Metrics) is only supported on Seagate drives.
To check if a disk is really new(ish), compare the **Power_On_Hours** vs. **"Power on Hours"** in the two results.
* Other values that can also be checked, include **"Head Flight Hours"** and **"Power Cycle Count"**; they should also roughly match what you would expect from a hard disk of a certain age.
* All near zero, of course, for a factory-new hard disk.
----
===== Locate =====
sudo apt install plocate
**NOTE:** This maintains a database of all your files and is re-indexed once a day by default.
----