1. 12 Oct, 2020 9 commits
  2. 30 Sep, 2020 1 commit
    • David Redondo's avatar
      Add new disk/partitions plugin · 936a461d
      David Redondo authored
      Device discovery is done via Solid, and total/free/used space queried via KIO.
      For read and write rates we still need to parse /proc/diskstats ourselves. On
      FreeBSD we can use libgeom to get read/write rates which the old code didn't
      feature at all on FreeBSD.
      936a461d
  3. 08 Jun, 2020 1 commit
  4. 06 May, 2020 1 commit
    • David Edmundson's avatar
      Add a new daemon for stats monitoring · 75333fc1
      David Edmundson authored
      Summary:
      ksysguardd, whilst good, has a few problems
      
      The code is a bit archaic, it relies on a polling API, which is overhead
      for infrequently changed values or where setting up a monitor has a big
      overhead.
      
      It also moves the problem of translations into the daemon, allowing for
      better extensibility without requiring client side changes.
      
      The daemon is based around a typical OO model. Plugins have lists of
      objects, those objects have properties using common Qt patterns. A
      property also has various metadata.
      
      For full compatibility ksgrd is wrapped and the plan is to land with the
      bridge, then slowly land patches that use the new API natively.
      
      An nvidia plugin is also added to show the API being used in another
      format.
      
      This is all consumed by the new API posted in D28141
      
      Test Plan:
      Unit test
      Used with the new library to create a new suite of applet (upcoming patch)
      Used in a ported ksysguard
      
      Reviewers: #plasma, mart, ngraham, ahiemstra
      
      Reviewed By: #plasma, mart, ngraham, ahiemstra
      
      Subscribers: ahiemstra, ivan, mart, zzag, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D28333
      75333fc1
  5. 26 Sep, 2019 1 commit
    • David Edmundson's avatar
      Add plugin showing nvidia GPU load stats · 98b81734
      David Edmundson authored
      This plugin shows the process GPU load and GPU memory usage for users of
      Nvidia graphic cards.
      
      Data is fetched by running the (fortunately lightweight) process
      nvidia-smi to extract data. If this binary is not available this plugin
      does nothing and the columns will not be available.
      
      It's not feasible to try try and reverse engineer nvidia-smi to recreate
      the functionality to do it without the extra executable. The headers are
      hidden within a giant proprietary SDK, and internally it's just opening
      a completely arbitrary address in /dev/mem
      98b81734