This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via 844f40bee70607943f85174d731d20ab78848123 (commit) from 82134432f5c4597798eb94acf0f14bfd32aac9c1 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 844f40bee70607943f85174d731d20ab78848123 Author: Michael Tremer michael.tremer@ipfire.org Date: Fri Sep 24 10:14:50 2021 +0100
media.cgi: Fix parsing output of iostat
Since the last update of sysstat, the output of iostat has changed and the web user interface showed wrong values.
This is now being fixed in this patch.
Signed-off-by: Michael Tremer michael.tremer@ipfire.org Acked-by: Adolf Belka adolf.belka@ipfire.org Signed-off-by: Arne Fitzenreiter arne_f@ipfire.org
-----------------------------------------------------------------------
Summary of changes: html/cgi-bin/media.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Difference in files: diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi index cc8f84d0a..af75d1bf3 100644 --- a/html/cgi-bin/media.cgi +++ b/html/cgi-bin/media.cgi @@ -135,8 +135,8 @@ END } close DF; my @iostat1 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $1}'); -my @iostat2 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $5}'); -my @iostat3 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $6}'); +my @iostat2 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $6}'); +my @iostat3 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $7}'); print "<tr><td colspan='3'> \n<tr><td colspan='3'><h3>transfers</h3></td></tr>"; my $i=0;
hooks/post-receive -- IPFire 2.x development tree