diff options
author | Elliott Hughes <enh@google.com> | 2019-02-16 22:48:44 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-02-17 14:03:19 -0600 |
commit | 5e99343e8951e6511a7b9b21c0223bff35b35542 (patch) | |
tree | 7e422a7203de5dd4ab6f95f2fdbc71c161dc2fbf /toys/other/truncate.c | |
parent | 9197c0ae1d5206f74284018c78538a38375af3c1 (diff) | |
download | toybox-5e99343e8951e6511a7b9b21c0223bff35b35542.tar.gz |
top: make the task/thread count add up.
Linux has more states than we were giving it credit for, which led to
our numbers not adding up. Since the exact details seem to change
between versions, and since having code specific to each kernel version
is unattractive, go with the heuristic that there are relatively fewer
"stopped" states (and they change less frequently), so all unknowns are
"sleeping".
Diffstat (limited to 'toys/other/truncate.c')
0 files changed, 0 insertions, 0 deletions