summaryrefslogtreecommitdiffstats
path: root/usr.bin/top
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/machine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 0b52a70..06b3168 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -130,7 +130,7 @@ static char up_header[] =
char *state_abbrev[] =
{
- "", "START", "RUN\0\0\0", "SLEEP", "STOP", "ZOMB",
+ "", "START", "RUN\0\0\0", "SLEEP", "STOP", "ZOMB", "WAIT", "MUTEX"
};
@@ -162,10 +162,10 @@ static long cp_diff[CPUSTATES];
/* these are for detailing the process states */
-int process_states[6];
+int process_states[8];
char *procstatenames[] = {
"", " starting, ", " running, ", " sleeping, ", " stopped, ",
- " zombie, ",
+ " zombie, ", " waiting, ", " mutex, ",
NULL
};
OpenPOWER on IntegriCloud