Sysadmin Mega Thread

Well it was my fault for assuming compatibility with v3 implied compat with v2. I did check unixsurplus but didn’t see what I was looking for anyway. Not that I ended up getting what I was looking for. But I’m ending up with something better so I can’t complain too much.

1 Like

Sure, if the extra expense was nbd, then party on I guess.

So.

New thing I’m working on:

@freqlabs I’ve got a small problem that you might be able to help with, hopefully?

I’m writing out a status line, and writing over it by using \r and just printing the line before. The problem is that when I do that, if the previous line is longer than the next, I get dangling characters. Now, you can just throw a bunch of spaces on the end to clean it up, but that’s a bit hacky. Is there a way to clear the entire line that can be invoked similarly to \r? I’m using python if it helps.

A bunch of spaces (counting would be less hacky).
Or start getting complicated with curses but that’s a pain.

Or ansi sequences… “\033[2K” clears the line (not sure if that’s the correct encoding for Python).
Yep that’s right

>>> print("hello\r\033[2Kfoo")
foo
3 Likes

sup party people, how does one

monitor their gpu

utilization in linux?.. cli will do just fine

plz just need quick resp

It’s going to depend on the GPU. For Nvidia with the proprietary driver, use nvidia-smi. It can give output in formats which can be parsed by other tools.

woot!

Thanks dude! I knew you were the guy to ask. :smiley:

1 Like

that sucks

how can you game on linux if you cant monitor your damn gpu

Hey drunk, you should make a thread for this. It’s not really sysadmin stuff (I mean, it kinda is but gaming isn’t).

That said, there are a lot of smart people in here who might be able and willing to help you so feel free to drop a link to the thread here.

2 Likes

5 Likes

You just do it?

I game on my Ryzen 3900X and Vega 56 in Linux and I don’t bother to monitor anything. I think I have the Steam overlay showing FPS in a corner. It’s usually 60.

The Vega does have a little RGB light strip that shows usage and it’s sometimes interesting to watch. It’s generally 1 dot on the desktop or 7 dots under load, so not all that useful.

The Linux “sensors” command shows me the fan speeds and temperatures of most everything.

Like, here’s “sensors” output for the Talos II I am typing this on right now: :slight_smile:

Summary

amdgpu-pci-300100
Adapter: PCI adapter
vddgfx: 950.00 mV
fan1: 1176 RPM (min = 700 RPM, max = 4500 RPM)
edge: +55.0°C (crit = +99.0°C, hyst = -273.1°C)
power1: 21.23 W (cap = 95.00 W)

ibmpowernv-isa-0000
Adapter: ISA adapter
Chip 0 Vdd Remote Sense: 663.00 mV (lowest = +0.65 V, highest = +0.97 V)
Chip 0 Vdn Remote Sense: 689.00 mV (lowest = +0.69 V, highest = +0.69 V)
Chip 8 Vdd Remote Sense: 723.00 mV (lowest = +0.70 V, highest = +0.94 V)
Chip 8 Vdn Remote Sense: 661.00 mV (lowest = +0.66 V, highest = +0.66 V)
Chip 0 Vdd: 665.00 mV (lowest = +0.66 V, highest = +0.97 V)
Chip 0 Vdn: 690.00 mV (lowest = +0.69 V, highest = +0.69 V)
Chip 8 Vdd: 725.00 mV (lowest = +0.71 V, highest = +0.95 V)
Chip 8 Vdn: 662.00 mV (lowest = +0.66 V, highest = +0.66 V)
Chip 0 Core 0: +48.0°C (lowest = +27.0°C, highest = +71.0°C)
Chip 0 Core 4: +48.0°C (lowest = +5.0°C, highest = +75.0°C)
Chip 0 Core 8: +48.0°C (lowest = +27.0°C, highest = +75.0°C)
Chip 0 Core 12: +48.0°C (lowest = +27.0°C, highest = +76.0°C)
Chip 0 Core 16: +48.0°C (lowest = +27.0°C, highest = +72.0°C)
Chip 0 Core 20: +48.0°C (lowest = +8.0°C, highest = +73.0°C)
Chip 0 Core 24: +48.0°C (lowest = +26.0°C, highest = +75.0°C)
Chip 0 Core 28: +48.0°C (lowest = +7.0°C, highest = +111.0°C)
Chip 8 Core 32: +36.0°C (lowest = +26.0°C, highest = +69.0°C)
Chip 8 Core 36: +36.0°C (lowest = +7.0°C, highest = +70.0°C)
Chip 8 Core 40: +36.0°C (lowest = +26.0°C, highest = +69.0°C)
Chip 8 Core 44: +36.0°C (lowest = +7.0°C, highest = +70.0°C)
Chip 8 Core 48: +36.0°C (lowest = +7.0°C, highest = +67.0°C)
Chip 8 Core 52: +36.0°C (lowest = +9.0°C, highest = +68.0°C)
Chip 8 Core 56: +37.0°C (lowest = +26.0°C, highest = +69.0°C)
Chip 8 Core 60: +36.0°C (lowest = +7.0°C, highest = +68.0°C)
Chip 0 DIMM 0 : +40.0°C (lowest = +31.0°C, highest = +51.0°C)
Chip 0 DIMM 1 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 2 : +38.0°C (lowest = +31.0°C, highest = +51.0°C)
Chip 0 DIMM 3 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 4 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 5 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 6 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 7 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 8 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 9 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 10 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 11 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 12 : +41.0°C (lowest = +33.0°C, highest = +54.0°C)
Chip 0 DIMM 13 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 DIMM 14 : +41.0°C (lowest = +33.0°C, highest = +54.0°C)
Chip 0 DIMM 15 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 0 : +29.0°C (lowest = +27.0°C, highest = +41.0°C)
Chip 8 DIMM 1 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 2 : +29.0°C (lowest = +27.0°C, highest = +38.0°C)
Chip 8 DIMM 3 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 4 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 5 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 6 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 7 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 8 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 9 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 10 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 11 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 12 : +30.0°C (lowest = +28.0°C, highest = +40.0°C)
Chip 8 DIMM 13 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 8 DIMM 14 : +31.0°C (lowest = +29.0°C, highest = +41.0°C)
Chip 8 DIMM 15 : +0.0°C (lowest = +0.0°C, highest = +0.0°C)
Chip 0 Nest: +48.0°C (lowest = +27.0°C, highest = +64.0°C)
Chip 8 Nest: +37.0°C (lowest = +26.0°C, highest = +60.0°C)
Chip 0 VRM VDD: +46.0°C (lowest = +33.0°C, highest = +67.0°C)
Chip 8 VRM VDD: +33.0°C (lowest = +30.0°C, highest = +60.0°C)
Chip 0 : 32.00 W (lowest = 27.00 W, highest = 134.00 W)
Chip 0 Vdd: 4.00 W (lowest = 0.00 W, highest = 105.00 W)
Chip 0 Vdn: 9.00 W (lowest = 7.00 W, highest = 11.00 W)
Chip 8 : 30.00 W (lowest = 28.00 W, highest = 120.00 W)
Chip 8 Vdd: 4.00 W (lowest = 2.00 W, highest = 92.00 W)
Chip 8 Vdn: 7.00 W (lowest = 6.00 W, highest = 10.00 W)
Chip 0 : 14.41 MJ
Chip 0 Vdd: 1.73 MJ
Chip 0 Vdn: 3.86 MJ
Chip 8 : 14.14 MJ
Chip 8 Vdd: 2.06 MJ
Chip 8 Vdn: 3.25 MJ
Chip 0 Vdd: 6.00 A (lowest = +0.13 A, highest = +111.38 A)
Chip 0 Vdn: 13.25 A (lowest = +11.13 A, highest = +16.50 A)
Chip 8 Vdd: 6.75 A (lowest = +2.13 A, highest = +100.25 A)
Chip 8 Vdn: 11.63 A (lowest = +10.38 A, highest = +15.75 A)

nvme-pci-310100
Adapter: PCI adapter
Composite: +30.9°C (low = -273.1°C, high = +76.8°C)
(crit = +78.8°C)
Sensor 1: +30.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +34.9°C (low = -273.1°C, high = +65261.8°C)

1 Like

it just works

for me

1 Like

I’ve had a few Linux game problems here and there with Proton versions or installing the right set of Vulkan libraries, but nothing that GPU monitoring would have helped.

1 Like

My offsite backups are now 5TB in size. Time to prune them back a bit…

fires up linode instance for processing

fry

Been trying to figure out lancache and it’s very … uh … not…

Well i’m not sure i can find words for LanCache. It’s great in concept but, MY GOD the installation AND the manual assumes sooo many things. I’m not sure it can accommodate storing cache on seperate drive or share!?

anyone here think they could help me figure out LanCache?

…going to RTFM yet again…

Previously called steamcache?

Yeah they changed the name.

have you looked at the guide here on the forum?

2 Likes

@nx2l since podman is basically 1:1 to docker do you think it would be possible to use it for GitLab runners?

I am unfamiliar with this term