diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-02 23:20:24 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-02 23:20:24 +0100 |
commit | e2aade95a06d06326d8f401e2836b846795aeb80 (patch) | |
tree | 2633950673d9b31fb7bbed36ccc5bc57f1e5ae15 /examples | |
parent | add moc (diff) | |
download | xpybar-e2aade95a06d06326d8f401e2836b846795aeb80.tar.gz xpybar-e2aade95a06d06326d8f401e2836b846795aeb80.tar.bz2 xpybar-e2aade95a06d06326d8f401e2836b846795aeb80.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/plugin-test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/plugin-test b/examples/plugin-test index 0a0113d..1bbf465 100644 --- a/examples/plugin-test +++ b/examples/plugin-test @@ -33,9 +33,9 @@ def redraw(): idle = 'Idle time: %s : %s : %1.2f%%' % (avg_idle, tot_idle, prc_idle * 100) loadavg_ = AverageLoad() - avg_5 = int(loadavg_.avg_5_min * 100) - avg_10 = int(loadavg_.avg_10_min * 100) - avg_15 = int(loadavg_.avg_15_min * 100) + avg_5 = int(loadavg_.average_avg_5_min * 100) + avg_10 = int(loadavg_.average_avg_10_min * 100) + avg_15 = int(loadavg_.average_avg_15_min * 100) act_tasks = loadavg_.active_tasks tot_tasks = loadavg_.total_tasks last_pid = loadavg_.last_pid |