[procps] new library

  • From: Craig Small <csmall-procps@xxxxxxxxxx>
  • To: Procps-ng Mail list <procps@xxxxxxxxxxxxx>
  • Date: Wed, 24 Jun 2015 22:57:11 +1000

Hi,
I've made a branch called newlib that has some large amount of changes
to the library API. This new API uses a lot less (or will do when I
remove the old functions) global variables and more opaque structures.

I've not moved them into the master branch as I want to see what others
think first. The API is definitely much cleaner with a lot less of
"mana from heaven" kind of side effects (what function needs to be
called to update what variables?)

While looking around the structures, I have also found two more CPU
values: guest and guest nice times. The new API for the system already
has these new values. I run kvm here and can see values for guest time
so its real.

I'm going to update vmstat to include these in the system column.
Jim, I'm not sure if you will include these in top or not, its looking
rather crowded up there on the CPU line already.

Another thought is it worthwhile to make another vmstat option to show
all these CPU values (only, eg no memory disk etc)?

- Craig
--
Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5

Other related posts: