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:
0ca0fd6
)
Increase net io unit to megabyte
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 30 Jun 2018 05:11:35 +0000
(
01:11
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 30 Jun 2018 05:11:35 +0000
(
01:11
-0400)
bin/khatus_show
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_show
b/bin/khatus_show
index
4e90c48
..
d506d3a
100755
(executable)
--- a/
bin/khatus_show
+++ b/
bin/khatus_show
@@
-70,7
+70,7
@@
disk=$(
io_net=$(
awk '
BEGIN {
- bytes_per_unit = 1024
+ bytes_per_unit = 1024
* 1024
}
NR > 2 {
@@
-91,7
+91,7
@@
io_net=$(
print curr_read > prev_read_file;
print curr_write > prev_write_file;
- printf("%s %0.
0f▲ %0.0
f▼\n", device, diff_write, diff_read);
+ printf("%s %0.
3f▲ %0.3
f▼\n", device, diff_write, diff_read);
}
' /proc/net/dev
)
This page took
0.022202 seconds
and
4
git commands to generate.