-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only show active I/O #304
Comments
The only way to manage this is to add a new option in the configuration file (glances.conf) allowing users to hide disks (in the IO disk panel) and netwok interfaces (in the Network panel). To do this, we need to:
For example:
Change request to be scheduled in the next release. Any comments will be welcome. |
Could it be done dynamically? Simply don't show lines for disks with [0 in, 0 out]. Same for network. If those disks became active, they would be shown. This could be an option, default, or a command-line flag (or a combination). Having an option to disable a disk or net interface entirely would be cool too. By ignoring them, we can save on CPU cycles. |
Main issue with the "dynamic way" is that most of the time IO disk and network are [0 in, 0 out]. So the disk (and net interface) will appear and disappear. I do not think that is a good user experience. |
Yes, I see what you mean. (The disks that rapidly oscillate between active and inactive will vanish and appear constantly). You could just hide disks after a certain idle time (say a minute or two). Does that make it better, or just more convoluted? |
Also disks sometimes show activity in bursts. I.e. copying at 3 mb/s might |
I think that's what he means. If, say I have a process that does something every second (say a |
Totally agree with @nicolargo's proposal. The "dynamic way" is not viable/reliable at all. |
I see what you mean.
If we hide inactive disks (my idea), then they jump on and off of the screen, which is bad. Blacklisting network interfaces is great. I never use them without knowing ahead of time. I'm probably looking at this all wrong. Can you guys think of any other way of doing it? |
Done here: 4dd4461 |
I have a lot of disks (9) and network adapters (4). I don't use most of them often, however, and I feel like they are consuming space that could be given to temperatures, mounts, and other important stuff. Would an option to hide inactive I/O be desirable or even useful?
Thanks,
PythonNut
The text was updated successfully, but these errors were encountered: