summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/gsoc/procfs/procps.mdwn69
1 files changed, 69 insertions, 0 deletions
diff --git a/community/gsoc/procfs/procps.mdwn b/community/gsoc/procfs/procps.mdwn
new file mode 100644
index 00000000..60b061a9
--- /dev/null
+++ b/community/gsoc/procfs/procps.mdwn
@@ -0,0 +1,69 @@
+[[meta copyright="Copyright © 2008 Free Software Foundation, Inc."]]
+
+[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled
+[[GNU_Free_Documentation_License|/fdl]]."]]"""]]
+
+<pre>
+open("/proc/stat", O_RDONLY) = 3
+
+open("/proc/self/stat", O_RDONLY) = 3
+
+open("/proc/uptime", O_RDONLY) = 3
+
+open("/proc/sys/kernel/pid_max", O_RDONLY) = 4
+
+open("/proc/meminfo", O_RDONLY) = 4
+
+open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 5
+
+open("/proc/1/stat", O_RDONLY) = 6
+
+open("/proc/1/status", O_RDONLY) = 6
+
+open("/proc/1/cmdline", O_RDONLY) = 6
+
+open("/proc/2/stat", O_RDONLY) = 6
+
+open("/proc/2/status", O_RDONLY) = 6
+
+open("/proc/2/cmdline", O_RDONLY) = 6
+
+open("/proc/3/stat", O_RDONLY) = 6
+
+open("/proc/3/status", O_RDONLY) = 6
+
+open("/proc/3/cmdline", O_RDONLY) = 6
+
+(...)
+
+open("/proc/6758/stat", O_RDONLY) = 6
+
+open("/proc/6758/status", O_RDONLY) = 6
+
+open("/proc/6758/cmdline", O_RDONLY) = 6
+
+open("/proc/6768/stat", O_RDONLY) = 6
+
+open("/proc/6768/status", O_RDONLY) = 6
+
+open("/proc/6768/cmdline", O_RDONLY) = 6
+
+open("/proc/6776/stat", O_RDONLY) = 6
+
+open("/proc/6776/status", O_RDONLY) = 6
+
+open("/proc/6776/cmdline", O_RDONLY) = 6
+
+open("/proc/tty/drivers", O_RDONLY) = 6
+
+open("/proc/6780/stat", O_RDONLY) = 6
+
+open("/proc/6780/status", O_RDONLY) = 6
+
+(...)
+</pre>