Solved How can I show disk IO in glances
-
Does this help.
You reminded me about glances. So googled it and this popped up
-
I'm just guessing that pressing
d
does not work? -
@travisdh1 said in How can I show disk IO in glances:
I'm just guessing that pressing
d
does not work?does nothing.
-
Not seeing it on my computer too.
Fedora 29
Glances v3.1.0 with psutil v5.4.3 -
@black3dynamite said in How can I show disk IO in glances:
Not seeing it on my computer too.
Fedora 29
Glances v3.1.0 with psutil v5.4.3Problem is
psutil
on kernel 4.18+That git issue above led me down the rabbit hole.
https://github.com/giampaolo/psutil/issues/1354 -
This will work around it:
sed -i 's#fields_len == 14:#fields_len == 14 or fields_len == 18:#g' /usr/lib64/python3.7/site-packages/psutil/_pslinux.py
Reference: https://github.com/mykmelez/gecko/commit/76ea9067f0a83c38f192fa10e70be7fc063473db
-
So the real solution will be wait for
python3-psutil
to update in the fedora base repo. Currently it is still at 5.4.3.[root@nextcloud ~]# dnf list *psutil* Last metadata expiration check: 0:03:01 ago on Mon 18 Mar 2019 04:05:03 PM CDT. Installed Packages python3-psutil.x86_64 5.4.3-6.fc29 @fedora
Use the above workaround if needed until then.
-
Good catch!
-
This should now work correctly without the workaround in Fedora 31
[jbusch@dt-jared ~]$ sudo dnf list *psutil* Installed Packages python3-psutil.x86_64 5.6.3-2.fc31 @fedora Available Packages golang-github-shirou-gopsutil-devel.noarch 2.19.6-1.fc31 fedora psutils.x86_64 1.23-16.fc31 fedora psutils-perl.noarch 1.23-16.fc31 fedora python2-psutil.x86_64 5.6.3-2.fc31 fedora
-
If you want the latest version, installing using
pip
is the way to go.
https://glances.readthedocs.io/en/latest/install.html
https://github.com/nicolargo/glances/blob/master/README.rst -
@black3dynamite said in How can I show disk IO in glances:
If you want the latest version, installing using
pip
is the way to go.
https://glances.readthedocs.io/en/latest/install.html
https://github.com/nicolargo/glances/blob/master/README.rst- no. package manager.
- the issue is not glances.
-
same system before and after the fedora 31 upgrade.