home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b8d3e
)
Fix incorrect key for disk usage cache lookup
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 19 Aug 2018 16:00:11 +0000
(12:00 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 19 Aug 2018 16:00:11 +0000
(12:00 -0400)
bin/khatus_bar
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_bar
b/bin/khatus_bar
index
323134c
..
0be6979
100755
(executable)
--- a/
bin/khatus_bar
+++ b/
bin/khatus_bar
@@
-199,7
+199,7
@@
function make_status_cpu( l, t, f) {
function make_status_disk( u, w, r, src_u, src_io) {
src_u = "khatus_sensor_disk_space"
src_io = "khatus_sensor_disk_io"
- u = cache_get_fmt_def(src_
space
, "disk_usage_percentage", 10, "%s")
+ u = cache_get_fmt_def(src_
u
, "disk_usage_percentage", 10, "%s")
w = cache_get_fmt_def(src_io , "sectors_written" , 5, "%0.3f")
r = cache_get_fmt_def(src_io , "sectors_read" , 5, "%0.3f")
return sprintf("D=[%s%% %s▲ %s▼]", u, w, r)
This page took
0.028934 seconds
and
4
git commands to generate.