Program för att visa CPU temp, fläkt hastighet och nätverksanvändning i texmode?

Trädvy Permalänk
Medlem
Plats
Skeå
Registrerad
Apr 2004

Program för att visa CPU temp, fläkt hastighet och nätverksanvändning i texmode?

Finns det nåt program som fungerar med debian och kan visa CPU temp, fläkt hastighet och nätverksanvändning i texmode via ssh?

Trädvy Permalänk
Medlem
Plats
Stockholm
Registrerad
Feb 2006

Ja, det finns någor som heter lm_sensors. Gör precis det du vill. Hur man använder debians paketsystem vet jag dock inte, men det finns säkert att hämta med det enkelt.

Dator: i7-6700K, Asus Z170 PRO gaming, Noctua NH-D15, 32GB DDR4-3000, Asus 1080ti Strix gaming OC, Seasonic Platinum 1000W, Define XL R2, Intel 750 400GB PCIE Nvme SSD, Dell U2711

Trädvy Permalänk
Medlem
Plats
Stockholm
Registrerad
Jan 2004

Installera paketet lm-sensors och kör sedan (som root) 'sensors-detect' så kommer programmet att ta reda på vad för sensorer du har. Därefter kan du bli tvungen att kompilera lite nya moduler till kärnan, programmet kommer att tala om vad de heter. När allt är klart (och modulerna laddade) så är det bara att köra 'sensors' så får du den information som sensorerna ger.

$ sensors w83627ehf-isa-0290 Adapter: ISA adapter Case Fan: 1622 RPM (min = 1205 RPM, div = 16) CPU Fan: 3308 RPM (min = 1704 RPM, div = 8) NB Fan: 6490 RPM (min = 11065 RPM, div = 2) ALARM Sys Temp: +26°C (high = +45°C, hyst = +40°C) CPU Temp: +24.0°C (high = +45.0°C, hyst = +40.0°C) NB Temp: +40.5°C (high = +50.0°C, hyst = +45.0°C)

Hittade följande för nätverkstrafik: http://people.suug.ch/~tgr/bmon/ och http://cebu.mozcom.com/riker/iptraf/.

WS: Antec P182B | FSP Aurum 500W | Asus P8Z77-V PRO | i5 3570k | 16GB DDR3 | GeForce 450GTS | Intel 320 80GB SSD | HDD 5TB | Asus Xonar DX | Arch Linux (x86_64) | Eizo EV2736W
HTPC: Compucase 8K01BS | Asus H87I-Plus | Intel i3 4330T | 8GB DDR3 | HDD 3TB | Arch Linux (x86_64) | LG 42LH3000
Server: Raspberry Pi 2 model B | 1GB RAM | HDD 750GB | Arch Linux (armv7h)

Trädvy Permalänk
Medlem
Plats
Skeå
Registrerad
Apr 2004

såhär blir det... sen när jag kör sensors hittar den inga.. har testat ISA/smbus..
////
This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

It is generally safe and recommended to accept the default answers to all
questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now? (YES/no): yes
Probing for PCI bus adapters...
Use driver `rivatv' for device 01:00.0: GeForce2 MX
Use driver `i2c-i801' for device 00:1f.3: Intel 82801DB ICH4
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Load `rivatv' (say NO if built into your kernel)? (YES/no): yes
FATAL: Module rivatv not found.
Loading failed... skipping.
** Note: rivatv module is available at http://rivatv.sourceforge.net/
Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is already loaded.

We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will be double detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).

Next adapter: SMBus I801 adapter at 0500
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x08
Client found at address 0x37
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!
Client found at address 0x50
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Probing for `Maxim MAX6900'... Failed!
Client found at address 0x51
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x69

Some chips are also accessible through the ISA bus. ISA probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no): yes
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Success!
(confidence 8, driver `w83781d')
Probing for `Winbond W83627EHF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8712F'
Trying address 0x0290... Failed!
Probing for `ITE IT8705F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!

Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for `ITE 8702F Super IO Sensors'
Failed! (0x5217)
Probing for `ITE 8705F Super IO Sensors'
Failed! (0x5217)
Probing for `ITE 8712F Super IO Sensors'
Failed! (0x5217)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87360 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87363 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87364 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87365 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87365 Super IO Voltage Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87365 Super IO Thermal Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87366 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87366 Super IO Voltage Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87366 Super IO Thermal Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87372 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87373 Super IO Fan Sensors'
Failed! (0x52)
Probing for `Nat. Semi. PC87591 Super IO'
Failed! (0x52)
Probing for `Nat. Semi. PC87371 Super IO'
Failed! (0x52)
Probing for `Nat. Semi. PC97371 Super IO'
Failed! (0x52)
Probing for `Nat. Semi. PC8739x Super IO'
Failed! (0x52)
Probing for `Nat. Semi. PC8741x Super IO'
Failed! (0x52)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (0x52)
Probing for `SMSC 47M10x/13x Super IO Fan Sensors'
Failed! (0x52)
Probing for `SMSC 47M14x Super IO Fan Sensors'
Failed! (0x52)
Probing for `SMSC 47M15x/192 Super IO Fan Sensors'
Failed! (0x52)
Probing for `SMSC 47S42x Super IO Fan Sensors'
Failed! (0x52)
Probing for `SMSC 47S45x Super IO Fan Sensors'
Failed! (0x52)
Probing for `SMSC 47M172 Super IO'
Failed! (0x52)
Probing for `SMSC LPC47B397-NC Super IO'
Failed! (0x52)
Probing for `VT1211 Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83627HF Super IO Sensors'
Success... found at address 0x0290
Probing for `Winbond W83627THF Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83637HF Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83697HF Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83697SF/UF Super IO PWM'
Failed! (0x52)
Probing for `Winbond W83L517D Super IO'
Failed! (0x52)
Probing for `Winbond W83627EHF Super IO Sensors'
Failed! (0x5217)

Do you want to scan for secondary Super I/O sensors? (YES/no): yes
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)
Probing for `Winbond W83627EHF Super IO Sensors'
Failed! (skipping family)

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 0500'
Busdriver `i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)
* Bus `SMBus I801 adapter at 0500'
Busdriver `i2c-i801', I2C address 0x51
Chip `SPD EEPROM' (confidence: 8)

Driver `w83781d' (may not be inserted):
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')
Chip `Winbond W83627HF' (confidence: 8)

Driver `w83627hf' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver `i2c-isa')
Chip `Winbond W83627HF Super IO Sensors' (confidence: 9)

I will now generate the commands needed to load the I2C modules.
Sometimes, a chip is available both through the ISA bus and an I2C bus.
ISA bus access is faster, but you need to load an additional driver module
for it. If you have the choice, do you want to use the ISA bus or the
I2C/SMBus (ISA/smbus)?
///