Skip to content

Commit 9b462e7

Browse files
committed
Fix typo in load display demo
1 parent 5941441 commit 9b462e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/linuxload.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ proc newload {} {
1414
variable graphid
1515

1616
# read current loadavg last 1, 5 and 15 minutes
17-
lassign [fileutil::read /proc/loadavg] l1 l5 l15
17+
lassign [fileutil::cat /proc/loadavg] l1 l5 l15
1818

1919
incr time
2020
lappend lastload $time $l1

0 commit comments

Comments
 (0)