In cpu line of /proc/stat guest and niced guest fields are available since 2009, linux-2.6.32. It is useful statistics if the system runs as a kvm hypervisor.
The test case is also updated for the new field.
Signed-off-by: Masatake YAMATO email@example.com
Step 1. Fetch and check out the branch for this merge request
git fetch https://gitlab.com/masatake/procps.git cpu-guest-stat git checkout -b masatake/procps-cpu-guest-stat FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout origin/master git merge --no-ff masatake/procps-cpu-guest-stat
Step 4. Push the result of the merge to GitLab
git push origin master
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.