Talk:Linux CPU utilization: Difference between revisions

Content added Content deleted
m (added a comment/query.)
Line 21: Line 21:


::: It's easy for you to say (''using a surrogate file''), but I don't have access to a Linux system.   But if somebody would include such a (sample) file here, it would be a snap to code this Rosetta Code task in REXX.   -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 00:10, 21 July 2016 (UTC)
::: It's easy for you to say (''using a surrogate file''), but I don't have access to a Linux system.   But if somebody would include such a (sample) file here, it would be a snap to code this Rosetta Code task in REXX.   -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 00:10, 21 July 2016 (UTC)

== Exclude guest and guest_nice ==

As per https://github.com/pcolby/scripts/issues/2 I'll update the description to specify that only the first (up to) 8 fields should be summed to calculate the total (as the 9th and 10th fields are already included in earlier ones). However, this does mean that all current solutions will be slightly incorrect, and need to updated. The Bash solution has already been updated - it was a one-line fix. Most other solutions should be nearly as simple to correct.