ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved How can I show disk IO in glances

    IT Discussion
    glances centos 7 fedora 29 disk io
    5
    13
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hobbit666H
      hobbit666
      last edited by

      Does this help.

      You reminded me about glances. So googled it and this popped up

      https://github.com/nicolargo/glances/issues/1356

      1 Reply Last reply Reply Quote 1
      • travisdh1T
        travisdh1
        last edited by

        I'm just guessing that pressing d does not work?

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @travisdh1
          last edited by

          @travisdh1 said in How can I show disk IO in glances:

          I'm just guessing that pressing d does not work?

          does nothing.

          1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite
            last edited by

            Not seeing it on my computer too.

            Fedora 29
            Glances v3.1.0 with psutil v5.4.3

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @black3dynamite
              last edited by

              @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.3

              Problem is psutil on kernel 4.18+

              That git issue above led me down the rabbit hole.
              https://github.com/giampaolo/psutil/issues/1354

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by JaredBusch

                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
                

                45773002-71b0-4a92-b0cb-c686bea6df6f-image.png

                Reference: https://github.com/mykmelez/gecko/commit/76ea9067f0a83c38f192fa10e70be7fc063473db

                1 Reply Last reply Reply Quote 2
                • JaredBuschJ
                  JaredBusch
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 5
                  • jmooreJ
                    jmoore
                    last edited by

                    Good catch!

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      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 
                      
                      1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite
                        last edited by black3dynamite

                        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

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @black3dynamite
                          last edited by

                          @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

                          1. no. package manager.
                          2. the issue is not glances.
                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            same system before and after the fedora 31 upgrade.

                            9cae9dc1-45c5-4d1a-bdb9-3373dfe3d5de-image.png

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post