aboutsummaryrefslogtreecommitdiff
path: root/toys/other/w.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-02-16 22:48:44 -0800
committerRob Landley <rob@landley.net>2019-02-17 14:03:19 -0600
commit5e99343e8951e6511a7b9b21c0223bff35b35542 (patch)
tree7e422a7203de5dd4ab6f95f2fdbc71c161dc2fbf /toys/other/w.c
parent9197c0ae1d5206f74284018c78538a38375af3c1 (diff)
downloadtoybox-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/w.c')
0 files changed, 0 insertions, 0 deletions