summaryrefslogtreecommitdiffstats
path: root/src/prtstat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prtstat.h')
-rw-r--r--src/prtstat.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/prtstat.h b/src/prtstat.h
new file mode 100644
index 0000000..64c724f
--- /dev/null
+++ b/src/prtstat.h
@@ -0,0 +1,21 @@
+
+typedef unsigned char opt_type;
+#define OPT_RAW 1
+
+struct proc_info
+{
+ char *comm;
+ char state;
+ int ppid, pgrp, session, tty_nr, tp_gid,
+ exit_signal, processor;
+ unsigned int flags, rt_priority, policy;
+ unsigned long minflt, cminflt, majflt, cmajflt,
+ utime, stime, vsize, rsslim,
+ startcode, endcode, startstack,
+ kstesp, ksteip,
+ wchan, nswap, cnswap, guest_time;
+ long cutime, cstime, priority, nice, num_threads,
+ itrealvalue, rss, cguest_time;
+ unsigned long long starttime, blkio;
+};
+