Changeset View
Changeset View
Standalone View
Standalone View
top/machine.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | struct process_select | ||||
int thread; /* show threads */ | int thread; /* show threads */ | ||||
#define TOP_MAX_UIDS 8 | #define TOP_MAX_UIDS 8 | ||||
int uid[TOP_MAX_UIDS]; /* only these uids (unless uid[0] == -1) */ | int uid[TOP_MAX_UIDS]; /* only these uids (unless uid[0] == -1) */ | ||||
int wcpu; /* show weighted cpu */ | int wcpu; /* show weighted cpu */ | ||||
int jid; /* only this jid (unless jid == -1) */ | int jid; /* only this jid (unless jid == -1) */ | ||||
int jail; /* show jail ID */ | int jail; /* show jail ID */ | ||||
int swap; /* show swap usage */ | int swap; /* show swap usage */ | ||||
int kidle; /* show per-CPU idle threads */ | int kidle; /* show per-CPU idle threads */ | ||||
pid_t pid; /* only this pid (unless pid == -1) */ | |||||
char *command; /* only this command (unless == NULL) */ | char *command; /* only this command (unless == NULL) */ | ||||
}; | }; | ||||
/* routines defined by the machine dependent module */ | /* routines defined by the machine dependent module */ | ||||
char *format_header(char *uname_field); | char *format_header(char *uname_field); | ||||
char *format_next_process(caddr_t handle, char *(*get_userid)(int), | char *format_next_process(caddr_t handle, char *(*get_userid)(int), | ||||
int flags); | int flags); | ||||
Show All 9 Lines |