]> granicus.if.org Git - procps-ng/commit
misc: adapt additional programs to changes, <STAT> api
authorJim Warner <james.warner@comcast.net>
Fri, 6 May 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sun, 8 May 2016 11:12:22 +0000 (21:12 +1000)
commit21360027e5e725061f3fe741764eea2c07b8096a
tree903d6829532126872ca02e63fb3ed0dde77c13d8
parent6c2b95872f8340e0651551967c8539d42aa5e8f6
misc: adapt additional programs to changes, <STAT> api

This patch brings the ps program (very small impact) &
that vmstat program (major impact) into agreement with
the new <stat> API. In the case of the latter guy, the
many separate calls to 'get' should be replaced by one
single 'select' call obtaining all data in one stroke.

[ but, i was too tired to undertake that enhancement ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
ps/output.c
vmstat.c