Jim Warner 2aaae6f29b library: improve internal 'get' processing, <STAT> api
With an eye to the future, rather than managing a long
switch/case construct in the procps_stat_get function,
we'll adopt the approach used in the <meminfo> module.

By making 'get' processing table driven too, just like
'select' is already, that may ease future maintenance.

Along the way a rather large boo-boo was fixed dealing
with that /proc/stat 'procs_running' field which crept
in with the commit referenced below. It wasn't spelled
correctly and thus was never captured as PROC_RUNNING.

Reference(s):
commit abc71a46ada71b790eb526d6cddb91e0d0aed4cb

Signed-off-by: Jim Warner <james.warner@comcast.net>
2016-06-07 21:04:43 +10:00
..
2016-04-19 21:33:02 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2015-09-01 20:41:25 +10:00
2016-05-03 21:58:13 +10:00
2016-04-17 14:45:19 +10:00
2016-04-17 14:45:19 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2016-05-22 22:12:54 +10:00
2016-04-16 17:03:57 +10:00
2016-05-01 17:46:25 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00