Xen CPUTop: per-cpu usage monitoring of your whole Qubes/Xen machine

Building on a wave of inspiration thanks to @queen and @renehoj in this thread, I am releasing another nice little utility for Xen/Qubes that has already come in handy a ton for me.

It lets you monitor the usage of all your CPU cores right from dom0, something which I don’t believe was possible save for the solution linked above or manually writing a parser for xenpm start (which is what this script is).

The column count, underlining and totals field is easily customizable (through commandline arguments) and you can also change the colour thresholds, by editing the script itself.

image

10 Likes

Hello,
I am using Qubes for while now. But, how do I copy command into dom0?

If the github repo is a programm, how do I install it?

That is really something, what bothered me, that I cannot see the overall CPU load. Because I am using an older CPU and sometimes my browser crashes. I don’t know why this is.

Thank you.

Download it in any VM and then use this: Copying Files in Qubes OS: From and to dom0 and between VMs

1 Like

Love it! :slight_smile:

Inspiration for your next project - I’d LOVE a top for “all running (not paused) VMs disk, io, cpu, ram, …). Maybe even processes.

Ideally similar to GitHub - Atoptool/atop: System and process monitor for Linux · GitHub, which lets you “time travel” - as in switch back to see which processes were eating CPU an hour ago.

Like a proper top for all the VMs.

It could run in a “sys-top” so you don’t have to drag all the status info you need to collect from the VMs into dom0. I really wouldn’t mind having one extra VM for a nice proper top style monitoring tool.

The only thing better would be an actual monitoring tool (prometheus is my fav), but sth small like this would serve a LOT of users I think.

2 Likes