Conky Reporting Disk Operation – How to Separate Read and Write

Forum Forums General Tips and Tricks Conky Reporting Disk Operation – How to Separate Read and Write

  • This topic has 6 replies, 4 voices, and was last updated Oct 11-9:16 am by rayluo.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #42633
    Member
    olsztyn

      Just a question:
      Currently Conky as it comes reports measurements of disk operations – Read and Write.
      Is it possible to report them as separate measurements – Read and Write separately?
      Thanks and Regards…

      Live antiX Boot Options (Previously posted by Xecure):
      https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

      #42634
      Moderator
      christophe
        Helpful
        Up
        0
        ::

        Try these:

        ${diskio_read /dev/sda}
        ${diskio_write /dev/sda}

        HTH

        (from: http://www.ifxgroup.net/conky.htm#p2 ) Tested; they do work.

        • This reply was modified 2 years, 7 months ago by christophe.

        confirmed antiX frugaler, since 2019

        #42644
        Member
        olsztyn
          Helpful
          Up
          0
          ::

          Thanks much christophe for such quick response. I will try shortly.
          Great info…
          Thanks and Regards…

          Live antiX Boot Options (Previously posted by Xecure):
          https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

          #42654
          Member
          olsztyn
            Helpful
            Up
            0
            ::

            Thanks again christophe. It looks like works perfectly, especially using graph representation, thanks to your link, which is a great resource.
            Now Conky is showing Write I/O separately from Read for drives, which for Live USB it is monitoring writes to flash media antiX performs when using heavy apps, such as Firefox or Chrome with and and without persistence.
            Thanks and Regards.

            Live antiX Boot Options (Previously posted by Xecure):
            https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

            #42689
            Member
            bci
              Helpful
              Up
              0
              ::

              ${diskio_read /dev/sda}
              ${diskio_write /dev/sda}

              This is so cool. With this, I can track the magnitude of a read or write operation whenever I’m in my Live-usb-storage directory (when
              running, say, a live USB with root persistence, or perhaps no persistence at all).

              Thanks for the share!

              – Brandon

              #42692
              Member
              olsztyn
                Helpful
                Up
                0
                ::

                This is so cool. With this, I can track the magnitude of a read or write operation whenever I’m in my Live-usb-storage directory (when
                running, say, a live USB with root persistence, or perhaps no persistence at all).

                Indeed. Thanks to christophe’s guidance I have been monitoring reads and writes to my Live USB antiX instances. I am running mostly with no persistence as I have completed my composition of software and if any additional happen then I remaster.
                Interim results indicate just mostly reads from USB sticks. Hardly any writes and if such occur they are very small, even with multiple tabs of Chrome. I did not have an opportunity to test with Firefox yet, but my general impression is antiX performs very nicely with Live USB flash sticks…

                Live antiX Boot Options (Previously posted by Xecure):
                https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                #42794
                Member
                rayluo
                  Helpful
                  Up
                  0
                  ::

                  This is so cool. With this, I can track the magnitude of a read or write operation whenever I’m in my Live-usb-storage directory (when
                  running, say, a live USB with root persistence, or perhaps no persistence at all).

                  Indeed. Thanks to christophe’s guidance I have been monitoring reads and writes to my Live USB antiX instances. I am running mostly with no persistence as I have completed my composition of software and if any additional happen then I remaster.
                  Interim results indicate just mostly reads from USB sticks. Hardly any writes and if such occur they are very small, even with multiple tabs of Chrome. I did not have an opportunity to test with Firefox yet, but my general impression is antiX performs very nicely with Live USB flash sticks…

                  +1 on big thanks to @christophe! This technique debunks my long-time suspicion on antiX or Firefox writing temp files on LiveUSB thus slowing down my 2 gig ram PC when it was running out of memory. Now I know, those slow I/O are all reads, presumably caused by some application content been inevitably evicted from ram, therefore the OS needs to reload it from LiveUSB. antiX is doing the right thing here!

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.