You are not logged in.

#1 2017-03-20 17:27:02

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

[SOLVED] Complete monitoring CPU/GPU from command line or HUD

Hi,

I am trying to monitor my computer only using command line tools.

My config

AMD Phenom(tm) II X6 1055T Processor
Motherboard ASUS M4A88TD-V EVO/USB3
MSI Radeon RX 460 2Gb (using opensource driver amdgpu)
Memory RAM 12 Gb

I am interested by typical information:
- CPU usage, temp
- Fan speeds
- GPU usage, temp, memory usage
- RAM usage

I using the combination of 3 tools:

sensors

Toutes les 0,1s: sensors              BIGONE: Mon Mar 20 19:16:57 2017

amdgpu-pci-0100
Adapter: PCI adapter
fan1:        1030 RPM
temp1:        +35.0°C  (crit =  +0.0°C, hyst =  +0.0°C)

atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:      +1.38 V  (min =  +0.85 V, max =  +1.60 V)
 +3.3 Voltage:      +3.39 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:        +5.12 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:      +12.13 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:     1254 RPM  (min =  600 RPM, max = 7200 RPM)
CHASSIS FAN Speed: 1163 RPM  (min =  600 RPM, max = 7200 RPM)
POWER FAN Speed:      0 RPM  (min =  600 RPM, max = 7200 RPM)
CPU Temperature:    +40.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:     +37.0°C  (high = +45.0°C, crit = +75.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +27.0°C  (high = +70.0°C)
                       (crit = +99.5°C, hyst = +94.5°C)

No clue what "k10temp-pci-00c3" is, any idea?

top

top - 19:18:19 up  2:18,  6 users,  load average: 2,46, 2,57, 2,66
Tâches: 246 total,   4 en cours, 242 en veille,   0 arrêté,   0 zom
%Cpu0  :   4,0/1,7     6[|||                                         
%Cpu1  :  98,7/1,3   100[||||||||||||||||||||||||||||||||||||||||||||
%Cpu2  :  98,0/2,0   100[||||||||||||||||||||||||||||||||||||||||||||
%Cpu3  :  13,6/3,9    18[|||||||||                                   
%Cpu4  :   6,1/1,4     7[||||                                        
%Cpu5  :   7,4/2,0     9[|||||                                       
GiB Mem : 20,2/11,738   [                                            
GiB Éch :  0,0/0,000    [                                            

Great ... I get all I need from there!

radeontop

Graphics pipe   0,00% │
Event Engine   0,00% │
Vertex Grouper + Tesselator   0,00% │
Texture Addresser   0,00% │
Shader Export   0,00% │
Sequencer Instruction Cache   0,00% │
Shader Interpolator   0,00% │
Scan Converter   0,00% │
Primitive Assembly   0,00% │
Depth Block   0,00% │
Color Block   0,00% │

"Graphics pipe" means GPU usage?

I cannot get VRAM information

amdgpu DRM driver is used, but amdgpu VRAM size reporting is not enabled
amdgpu DRM driver is used, but amdgpu VRAM usage reporting is not enabled
Failed to get VRAM usage, kernel likely too old

I believe I have the latest kernel (not using testing) ... any idea?

[UPDATE]
For cup load, gpu load and VRAM I will use HUD

GALLIUM_HUD="fps:100,cpu+cpu0+cpu1+cpu2+cpu3+cpu4+cpu5:100,GPU-load,VRAM-usage+GTT-usage" GALLIUN_HUD_DUMP_DIR="/my/log/dir" my_program

Too bad I cannot use GALLIUM_HUD to get temp, fan speed and RAM usage ... or can I?



Thanks!

Last edited by kamelie1706 (2017-03-21 10:15:53)

Offline

#2 2017-03-21 10:15:39

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

Re: [SOLVED] Complete monitoring CPU/GPU from command line or HUD

Not perfect ... but managed what I wanted to do combining hud and command line tools!
ets2_monitoring.png?raw=1

Offline

#3 2017-03-21 10:55:10

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: [SOLVED] Complete monitoring CPU/GPU from command line or HUD

although you solved the problem already you could also have a look at glances.

Offline

#4 2017-03-21 11:31:14

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

Re: [SOLVED] Complete monitoring CPU/GPU from command line or HUD

hcjl wrote:

although you solved the problem already you could also have a look at glances.

Merci!

Can you monitor GPU related information?
For now from Gallium I get the vram and load information but need to use sensors to get temp and fan speed.

Any chance to get output to gallium hud or other osd?

I will have a look. Looks like a nice alternative to Nagios and monitorix.

Offline

Board footer

Powered by FluxBB