From ab41bf3833c2bce9f976673e4c6ffa6de166d932 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 29 Mar 2008 23:34:57 +0100 Subject: hurd/translator/procfs/htop: Proper formatting. Simplify. hurd/translator/procfs/killall: Likewise. hurd/translator/procfs/procps: Likewise. hurd/translator/procfs/top: Likewise. --- hurd/translator/procfs/procps.mdwn | 72 +++++++------------------------------- 1 file changed, 13 insertions(+), 59 deletions(-) (limited to 'hurd/translator/procfs/procps.mdwn') diff --git a/hurd/translator/procfs/procps.mdwn b/hurd/translator/procfs/procps.mdwn index 60b061a9..99790a36 100644 --- a/hurd/translator/procfs/procps.mdwn +++ b/hurd/translator/procfs/procps.mdwn @@ -8,62 +8,16 @@ 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]]."]]"""]] -
-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
-
-(...)
-
+ 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 + [...] -- cgit v1.2.3