After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 499725 - should include graphical interface to iotop
should include graphical interface to iotop
Status: RESOLVED OBSOLETE
Product: system-monitor
Classification: Core
Component: resources
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
: 320358 506407 530523 587871 712705 768476 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-26 12:45 UTC by Luis Villa
Modified: 2018-05-22 12:03 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
gnome-system-monitor file system tab (167.96 KB, image/png)
2012-09-06 03:29 UTC, Greg
Details

Description Luis Villa 2007-11-26 12:45:16 UTC
System Monitor should include a GUI for iotop:
http://guichaz.free.fr/misc/#iotop

I've often wished to have this information; it would be great to put in system-monitor.
Comment 1 Benoît Dejean 2007-11-26 17:00:30 UTC
I know about iotop for a long time, but as long as it's not enabled more widely / not experimental, we have to wait.
Comment 2 Luis Villa 2007-11-26 17:02:28 UTC
By not enabled more widely, you mean the relevant kernel interfaces? Or something else?
Comment 3 Benoît Dejean 2007-11-26 17:13:55 UTC
Yes, it's a linux kernel option.
Comment 4 Benoît Dejean 2008-01-01 12:41:26 UTC
*** Bug 506407 has been marked as a duplicate of this bug. ***
Comment 5 Nicolò Chieffo 2008-01-01 18:03:35 UTC
Is there any project to develop such an interface like this for the kernel?
Comment 6 Benoît Dejean 2008-01-01 18:53:19 UTC
It already exists but it's not a very popular option for now
Comment 7 Nicolò Chieffo 2008-01-01 18:54:53 UTC
And do you know a command line tool that does this, but not written in python?
Comment 8 Benoît Dejean 2008-01-01 21:55:33 UTC
No. The programing language is irrelevant. What is needed is stable kernel API and have its relative configuration option enabled by default.
Comment 9 Nicolò Chieffo 2008-01-02 12:11:40 UTC
Thanks for your explanations!
Which kernel option should I enable to run iotop?
Comment 10 Benoît Dejean 2008-01-03 20:13:49 UTC
CONFIG_TASK_IO_ACCOUNTING
Comment 11 Nicolò Chieffo 2008-01-05 17:52:11 UTC
mmm I cannot find this option neither in 2.6.22 nor in 2.6.24 (both from ubuntu)
is this option so new?
Comment 12 Benoît Dejean 2008-01-05 19:59:08 UTC
No, IIRC, it was added in 2.6.21.
Comment 13 Benoît Dejean 2008-04-09 14:12:05 UTC
*** Bug 320358 has been marked as a duplicate of this bug. ***
Comment 14 Benoît Dejean 2008-04-29 09:30:43 UTC
*** Bug 530523 has been marked as a duplicate of this bug. ***
Comment 15 Paul Rawson 2008-12-15 07:57:56 UTC
Maybe there could be a check to see if IO accounting is enabled in the kernel? In any case the code could be added but disabled until the appropriate time comes.
Comment 16 Ross Burton 2010-01-11 11:19:12 UTC
Even Debian ;) enables this by default now, the lack of disk throughput monitoring is really quite sad.
Comment 17 Robert Roth 2011-11-28 20:25:10 UTC
*** Bug 587871 has been marked as a duplicate of this bug. ***
Comment 18 Philip Prindeville 2012-01-22 00:50:30 UTC
(In reply to comment #16)
> Even Debian ;) enables this by default now, the lack of disk throughput
> monitoring is really quite sad.

I concur. If you have multiple drives and want to understand where your bottlenecks are, this is a handy tool. It's also useful for figuring out how much thrashing your VM is doing when you don't have enough RAM.
Comment 19 André Klapper 2012-02-26 10:45:46 UTC
[Adding missing "QA Contact" entry so system monitor bug report changes can still be watched via the "Users to watch" list on https://bugzilla.gnome.org/userprefs.cgi?tab=email when the assignee is changed to an individual.]
Comment 20 Greg 2012-09-06 03:29:38 UTC
Created attachment 223603 [details]
gnome-system-monitor file system tab

I have had an attempt at implementing I/O by extending the existing file systems tab. The implementation can pull a lot of stats but I have limited the display to whatever gnome-system-monitor currently does (it mainly focuses on partitions, but you can get overall device I/O however we'd need to change the way the data is presented. Probably best to do it by device with sub-tree for each partition or similar. Anyway, it works so let me know your thoughts about the attached screen shot.
Comment 21 Robert Roth 2012-09-12 22:28:53 UTC
Pretty nice, however I would like to have the option to show/hide columns, as most users will not want to see all the columns, only some of them.

I have been thinking of adding the preferences for the disks table just as we have for the processes table ( to be able to save the visible columns + their widths in preferences), and wanted to do it to fix bug 431660, but to avoid code duplication (as we already have a similar for the processes table) system monitor could use a bit of refactoring.

It would be nice if you could update your code to add the preferences for showing/hiding columns, but even if not, please attach your code here for a review, as I would be interested in having this in the File Systems tab.

Are all the fields shown in columns retrieved from glibtop?
Comment 22 Robert Roth 2013-11-19 21:26:02 UTC
*** Bug 712705 has been marked as a duplicate of this bug. ***
Comment 23 zedtux 2015-04-29 21:06:34 UTC
Any news on the disk io monitoring in system monitoring ?

What Greg did is a nice start, but what about a graph like for the CPU, MEM and NET ?
Comment 24 Robert Roth 2015-04-29 21:31:32 UTC
Right now this is not on the roadmap, at least not before implementing Usage (https://wiki.gnome.org/Design/Apps/Usage). 
However, feel free to provide patches, they will surely get reviewed in a timely manner and eventually merged.
Comment 25 Diogo Campos 2015-07-08 05:06:04 UTC
I will put some information here, just in case someone want to make "quick" patches to GNOME System Monitor, instead of developing GNOME Usage:

# What

Add two more columns to GNOME System Monitor's "processes" tab:

1 - An IO equivalent to "% CPU", showing the percentage (or just the amount of MB/s) of IO that each process is currently doing.

2 - An IO equivalent to "CPU Time", showing how much each process wrote to the local disks since boot.


# Use case

A user who wants to know how much (and how) each process is using the disks, to:

1 - Overcome a bad behavior who is causing trouble (slowness on HDDs, or wear on SSDs) or make personal optimizations.

2 - Report results to the downstream, who, then, can take some actions to fix or improve something to all other users.
Comment 26 Luke Hutchison 2015-07-08 07:46:52 UTC
In addition to iotop, it would be good to have a frontend to lsof integrated into GNOME System Monitor. (lsof can consist of hundreds of thousands of entries, so there would need to be a good filtering system in place.)
Comment 27 Robert Roth 2015-07-08 08:12:11 UTC
(In reply to Luke Hutchison from comment #26)
> In addition to iotop, it would be good to have a frontend to lsof integrated
> into GNOME System Monitor. (lsof can consist of hundreds of thousands of
> entries, so there would need to be a good filtering system in place.)

Lsof is already integrated, see the "Search for Open files" from the appmenu for global lsof, "Open files" from the process context menu for a per-process open files list.
Comment 28 Luke Hutchison 2015-07-08 08:30:06 UTC
Nice, how did I miss that? Sorry for the spam.
Comment 29 martinojones_2009 2016-04-08 17:23:56 UTC
I would also like to see a graphical representation of disk usage too. I see this has been opened since 2007, I hope this is something that is being looked at.
Comment 30 Robert Roth 2016-08-23 18:10:33 UTC
*** Bug 768476 has been marked as a duplicate of this bug. ***
Comment 31 Robert Roth 2017-07-09 08:46:16 UTC
For anyone interested in testing, I have a working version up and running on the wip/diskio branch of system-monitor, comments, feedback, and testing would be welcome. I'd like to have some testing before merging into master. Be aware that running it requires the latest version of libgtop, 2.37.2.
Comment 32 GNOME Infrastructure Team 2018-05-22 12:03:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-system-monitor/issues/17.