Hi, With the IO tab in HTOP, how do I determine which devices it is monitoring and how do I change it to look at multiple volumes? While KDE is still thrashing my hard disks after the desktop displays (the hard disk light is permanently on, not flickering) HTOP is telling me the R/W%, R% and W% are 0 for every process it has listed, so it is not looking a the right device for me to determine what is thrashing my drives.
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
regards, Steve
On 2024-11-15 14:59, Stephen Morris wrote:
Hi, With the IO tab in HTOP, how do I determine which devices it is monitoring and how do I change it to look at multiple volumes? While KDE is still thrashing my hard disks after the desktop displays (the hard disk light is permanently on, not flickering) HTOP is telling me the R/W%, R% and W% are 0 for every process it has listed, so it is not looking a the right device for me to determine what is thrashing my drives.
Pretty sure it's a combined value of all IO. Maybe you're not looking at the right process or maybe it's a kernel thing.
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
You can also use "q" to quit.
On Fri, 15 Nov 2024 at 22:59, Stephen Morris steve.morris.au@gmail.com wrote:
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
Htop's keybinds don't seem to be overridable in any obvious way.
https://github.com/htop-dev/htop/blob/4102862d12695cdf003e2d51ef6ce5984b7136... (sort of hand-rolling your own compiled package or binary, which isn't a great idea unless it really, *really* bugs you.)
You can just use 'q' instead as an alternative. cf: https://www.man7.org/linux/man-pages/man1/htop.1.html#INTERACTIVE_COMMANDS
F10, q Quit
On 16/11/24 10:48, Will McDonald wrote:
On Fri, 15 Nov 2024 at 22:59, Stephen Morris steve.morris.au@gmail.com wrote:
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?Htop's keybinds don't seem to be overridable in any obvious way.
https://github.com/htop-dev/htop/blob/4102862d12695cdf003e2d51ef6ce5984b7136... (sort of hand-rolling your own compiled package or binary, which isn't a great idea unless it really, *really* bugs you.)
You can just use 'q' instead as an alternative. cf: https://www.man7.org/linux/man-pages/man1/htop.1.html#INTERACTIVE_COMMANDS
F10, q Quit
Thanks Will, I had been using ctrl-c to terminate it, I'll use q instead. Does the same thing apply to Konsole which seems to internally be taking that shortcut?
Also does the same issue apply to HTOP relative to what devices it is monitoring? It seems to me that when the machine says the hard disks/ssd are being thrashed and HTOP says there is nothing doing any I/O's that it is not monitoring the right devices.
regards, Steve
On 15 Nov 2024, at 22:59, Stephen Morris steve.morris.au@gmail.com wrote:
(the hard disk light is permanently on, not flickering)
There are better tools for investigating this type of I/O issue.
You could have a read of this article that explains how to track down disk I/O issues: https://www.baeldung.com/linux/monitor-disk-io
If you are interested in systems performance have a look at getting Brendan Gregg's "Systems Performance" book.
Barry
On 16/11/24 21:08, Barry Scott wrote:
On 15 Nov 2024, at 22:59, Stephen Morris steve.morris.au@gmail.com wrote:
(the hard disk light is permanently on, not flickering)
There are better tools for investigating this type of I/O issue.
You could have a read of this article that explains how to track down disk I/O issues: https://www.baeldung.com/linux/monitor-disk-io
Thanks Barry, I'll have a look at that. I have added disk I/O to the HTOP summary display at the top of its screen which has highlighted, in my view, that HTOP is doing things wrong, as the summary display says the disk I/O is 100% but the details display on what is performing I/O says that nothing is doing any I/O.
If you are interested in systems performance have a look at getting Brendan Gregg's "Systems Performance" book.
I'll have a look at getting that too, as I had an issue this morning when I put on the available updates with DNF, in that when DNF was applying the updates it locked my system out, I couldn't even move the mouse pointer until DNF was finished.
regards, Steve
Barry
On 16/11/24 10:12, Samuel Sieb wrote:
On 2024-11-15 14:59, Stephen Morris wrote:
Hi, With the IO tab in HTOP, how do I determine which devices it is monitoring and how do I change it to look at multiple volumes? While KDE is still thrashing my hard disks after the desktop displays (the hard disk light is permanently on, not flickering) HTOP is telling me the R/W%, R% and W% are 0 for every process it has listed, so it is not looking a the right device for me to determine what is thrashing my drives.
Pretty sure it's a combined value of all IO. Maybe you're not looking at the right process or maybe it's a kernel thing.
The main tab shows what processes are using the cpu with the most heavy user at the top, which seems to be working fine. But the I/O tab seems to be not working in that I occasionally see an entry at the top where one or more of the 3 % columns is non 0 for a very short period, but as I have indicated in another thread, it seems to me that its monitoring may not be up to scratch when the hard disk light on my machine is hard on, the disk I/O summary display I added in its settings says the disk I/O is 100% but its detailed display says that nothing is doing any I/O.
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
You can also use "q" to quit.
I've started to use that now instead of ctrl-c. The F10 keyboard shortcuts seems to have been internally taken over by Konsole, is it like HTOP where it is not easy to change that configuration?
regards, Steve
On 2024-11-16 15:17, Stephen Morris wrote:
On 16/11/24 10:12, Samuel Sieb wrote:
On 2024-11-15 14:59, Stephen Morris wrote:
Hi, With the IO tab in HTOP, how do I determine which devices it is monitoring and how do I change it to look at multiple volumes? While KDE is still thrashing my hard disks after the desktop displays (the hard disk light is permanently on, not flickering) HTOP is telling me the R/W%, R% and W% are 0 for every process it has listed, so it is not looking a the right device for me to determine what is thrashing my drives.
Pretty sure it's a combined value of all IO. Maybe you're not looking at the right process or maybe it's a kernel thing.
The main tab shows what processes are using the cpu with the most heavy user at the top, which seems to be working fine. But the I/O tab seems to be not working in that I occasionally see an entry at the top where one or more of the 3 % columns is non 0 for a very short period, but as I have indicated in another thread, it seems to me that its monitoring may not be up to scratch when the hard disk light on my machine is hard on, the disk I/O summary display I added in its settings says the disk I/O is 100% but its detailed display says that nothing is doing any I/O.
It might be an internal kernel thing. You could also try "iostat" (sysstat package) or "iotop".
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
You can also use "q" to quit.
I've started to use that now instead of ctrl-c. The F10 keyboard shortcuts seems to have been internally taken over by Konsole, is it like HTOP where it is not easy to change that configuration?
I use gnome. I don't know anything about configuring Konsole.
On 17/11/24 20:18, Samuel Sieb wrote:
On 2024-11-16 15:17, Stephen Morris wrote:
On 16/11/24 10:12, Samuel Sieb wrote:
On 2024-11-15 14:59, Stephen Morris wrote:
Hi, With the IO tab in HTOP, how do I determine which devices it is monitoring and how do I change it to look at multiple volumes? While KDE is still thrashing my hard disks after the desktop displays (the hard disk light is permanently on, not flickering) HTOP is telling me the R/W%, R% and W% are 0 for every process it has listed, so it is not looking a the right device for me to determine what is thrashing my drives.
Pretty sure it's a combined value of all IO. Maybe you're not looking at the right process or maybe it's a kernel thing.
The main tab shows what processes are using the cpu with the most heavy user at the top, which seems to be working fine. But the I/O tab seems to be not working in that I occasionally see an entry at the top where one or more of the 3 % columns is non 0 for a very short period, but as I have indicated in another thread, it seems to me that its monitoring may not be up to scratch when the hard disk light on my machine is hard on, the disk I/O summary display I added in its settings says the disk I/O is 100% but its detailed display says that nothing is doing any I/O.
It might be an internal kernel thing. You could also try "iostat" (sysstat package) or "iotop".
Thanks, I'll have a look at those as well. The culprit for this may Jellyfin which starts up around at least 24 threads (of which only one of them is its shell script) that it leaves active, but HTOP reports all of them as not doing any I/O.
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
You can also use "q" to quit.
I've started to use that now instead of ctrl-c. The F10 keyboard shortcuts seems to have been internally taken over by Konsole, is it like HTOP where it is not easy to change that configuration?
I use gnome. I don't know anything about configuring Konsole.
That's okay, I've found how to change the Konsole settings, it has a keyboard shortcut configuration in its settings, but what is interesting is for its menu shortcut entry it has it listed twice, one after the other.
regards, Steve
On Sat, Nov 16, 2024 at 09:59:28AM +1100, Stephen Morris wrote:
��� While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
You can also use your mouse to click on the Fn, or click on the columns to sort by that choice.
-- Patrick