psensor 监控

##安装

1
sudo apt-get install lm-sensors hddtemp psensor

lm_sensors 配置

1
sudo sensors-detect
sensors-detect
sensors-detect
# sensors-detect revision 6209 (2014-01-14 22:51:58 +0100)
# System: Notebook P65xHP [Not Applicable] (laptop)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No
Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               Yes
Found unknown chip with ID 0x8587
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): yes
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): yes
Found unknown SMBus adapter 8086:a123 at 0000:00:1f.4.
Sorry, no supported PCI bus adapters found.
Next adapter: SMBus I801 adapter at f040 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Now follows a summary of the probes I have just done.
Just press ENTER to continue: 
Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!
Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/kmod start'
to load them.
Unloading cpuid... OK  
1
2
3
cs@debian:~$ sudo /etc/init.d/kmod start
[sudo] password for cs:
[ ok ] Starting kmod (via systemctl): kmod.service.

hddtemp 监控硬盘

/dev/*

1
sudo hddtemp -d /dev/sba   #检测

speedtest 测网速

1
2
3
wget -o speedtest  https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest
sudo mv speedtest /usr/local/bin/speedtest

speedtest –h

1
2
3
4
5
6
7
8
9
10
cs@debian:~/tools$ speedtest
Retrieving speedtest.net configuration...
Testing from China Telecom (59.41.125.225)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by CTM Internet Services (Macau) [106.48 km]: 184.538 ms
Testing download speed................................................................................
Download: 6.55 Mbit/s
Testing upload speed....................................................................................................
Upload: 3.32 Mbit/s

简单显示

1
2
3
4
cs@debian:~/tools$ speedtest --simple
Ping: 21.101 ms
Download: 11.72 Mbit/s
Upload: 3.08 Mbit/s

network

1
sudo apt-get install  network-manager-gnome
点击打赏
文章目录
  1. 1. hddtemp 监控硬盘
  2. 2. speedtest 测网速
  3. 3. network
载入天数...载入时分秒... ,