[lcd4linux @ 2005-01-11 10:19:33 by reinelt]

changes to lcd4linux.conf.sample

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@502 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
reinelt
2005-01-11 10:19:33 +00:00
parent 5541660c2f
commit 2e0d1b315d
2 changed files with 43 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: plugin_proc_stat.c,v 1.23 2004/06/26 12:05:00 reinelt Exp $
/* $Id: plugin_proc_stat.c,v 1.24 2005/01/11 10:19:33 reinelt Exp $
*
* plugin for /proc/stat parsing
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_proc_stat.c,v $
* Revision 1.24 2005/01/11 10:19:33 reinelt
* changes to lcd4linux.conf.sample
*
* Revision 1.23 2004/06/26 12:05:00 reinelt
*
* uh-oh... the last CVS log message messed up things a lot...
@@ -208,6 +211,7 @@ static int parse_proc_stat (void)
beg=end?end+1:NULL;
}
}
else if (strncmp(buffer, "page ", 5)==0) {
char *key[] = { "in", "out" };
char delim[] = " \t\n";
@@ -252,6 +256,7 @@ static int parse_proc_stat (void)
beg=end?end+1:NULL;
}
}
else if (strncmp(buffer, "disk_io:", 8)==0) {
char *key[] = { "io", "rio", "rblk", "wio", "wblk" };
char delim[] = " ():,\t\n";