aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 5b2f6251f..bb4a68741 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -668,7 +668,7 @@ typedef struct {
668 DIR *dir; 668 DIR *dir;
669/* Fields are set to 0/NULL if failed to determine (or not requested) */ 669/* Fields are set to 0/NULL if failed to determine (or not requested) */
670 char *cmd; 670 char *cmd;
671 unsigned long rss; 671 unsigned long vsz;
672 unsigned long stime, utime; 672 unsigned long stime, utime;
673 unsigned pid; 673 unsigned pid;
674 unsigned ppid; 674 unsigned ppid;
@@ -691,13 +691,13 @@ enum {
691 PSSCAN_COMM = 1 << 5, 691 PSSCAN_COMM = 1 << 5,
692 PSSCAN_CMD = 1 << 6, 692 PSSCAN_CMD = 1 << 6,
693 PSSCAN_STATE = 1 << 7, 693 PSSCAN_STATE = 1 << 7,
694 PSSCAN_RSS = 1 << 8, 694 PSSCAN_VSZ = 1 << 8,
695 PSSCAN_STIME = 1 << 9, 695 PSSCAN_STIME = 1 << 9,
696 PSSCAN_UTIME = 1 << 10, 696 PSSCAN_UTIME = 1 << 10,
697 /* These are all retrieved from proc/NN/stat in one go: */ 697 /* These are all retrieved from proc/NN/stat in one go: */
698 PSSCAN_STAT = PSSCAN_PPID | PSSCAN_PGID | PSSCAN_SID 698 PSSCAN_STAT = PSSCAN_PPID | PSSCAN_PGID | PSSCAN_SID
699 | PSSCAN_COMM | PSSCAN_STATE 699 | PSSCAN_COMM | PSSCAN_STATE
700 | PSSCAN_RSS | PSSCAN_STIME | PSSCAN_UTIME, 700 | PSSCAN_VSZ | PSSCAN_STIME | PSSCAN_UTIME,
701}; 701};
702procps_status_t* alloc_procps_scan(int flags); 702procps_status_t* alloc_procps_scan(int flags);
703void free_procps_scan(procps_status_t* sp); 703void free_procps_scan(procps_status_t* sp);