Use wider PID columns in 64-bit machines with larger pid_max values.

This commit is contained in:
Hisham Muhammad
2011-09-29 18:40:23 +00:00
parent d25a0bc213
commit 75080ce79d
3 changed files with 40 additions and 10 deletions

View File

@ -181,6 +181,9 @@ extern const char *Process_fieldNames[];
extern const char *Process_fieldTitles[];
void Process_getMaxPid();
#define ONE_K 1024
#define ONE_M (ONE_K * ONE_K)
#define ONE_G (ONE_M * ONE_K)