Skip to content
Snippets Groups Projects
  1. May 05, 2018
    • lemoer's avatar
      dde70869
    • lemoer's avatar
      gluon-respondd: add information from /proc/stat to "statistics" · 6ac7e97f
      lemoer authored
      This commit adds information about:
      - how cpu time is spent since boot in jiffies (1/100*sek) (cpu)
          - the value is summed for all cores, so in 10 seconds the
            summed values will increase by 4000, if the cpu has
            4 cores
      - context switches since boot (ctxt)
      - interrupt counters since boot (intr, softirq)
      - forks since boot (processes)
      
          { "stat": {
             "cpu": {
               "user": 219403,
               "nice": 1714,
               "system": 75159,
               "idle": 2727739,
               "iowait": 2943,
               "irq": 0,
               "softirq": 571
             },
             "intr": 8426340,
             "ctxt": 50992590,
             "processes": 10549,
             "softirq": 5161884
          } }
      6ac7e97f
  2. Jan 26, 2018
  3. Dec 29, 2017
  4. Sep 21, 2017
  5. Feb 12, 2017
  6. Aug 27, 2016
  7. May 26, 2016
    • Jan-Philipp Litza's avatar
      respondd modules: Use proper formatting of doubles · f7eda938
      Jan-Philipp Litza authored
      Most doubles that are delivered via respondd have limited input
      precision, but are converted with up to 17 digits of precision. That can
      cause ugly blowups like 0.2800000000000001 in the output, which is
      avoided by specifying better format strings (like "%.2f" in most cases).
      f7eda938
  8. Feb 02, 2016
Loading