From 223adc426b9f0b761746a6febe212fd50356bca2 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 29 Mar 2008 23:31:16 +0100 Subject: community/gsoc/procfs/* -> hurd/translator/procfs/* --- community/gsoc/procfs/htop.mdwn | 271 ------------------------------------ community/gsoc/procfs/killall.mdwn | 172 ----------------------- community/gsoc/procfs/procps.mdwn | 69 --------- community/gsoc/procfs/top.mdwn | 121 ---------------- community/gsoc/project_ideas.mdwn | 3 +- hurd/translator/procfs.mdwn | 8 ++ hurd/translator/procfs/htop.mdwn | 271 ++++++++++++++++++++++++++++++++++++ hurd/translator/procfs/killall.mdwn | 172 +++++++++++++++++++++++ hurd/translator/procfs/procps.mdwn | 69 +++++++++ hurd/translator/procfs/top.mdwn | 121 ++++++++++++++++ 10 files changed, 642 insertions(+), 635 deletions(-) delete mode 100644 community/gsoc/procfs/htop.mdwn delete mode 100644 community/gsoc/procfs/killall.mdwn delete mode 100644 community/gsoc/procfs/procps.mdwn delete mode 100644 community/gsoc/procfs/top.mdwn create mode 100644 hurd/translator/procfs/htop.mdwn create mode 100644 hurd/translator/procfs/killall.mdwn create mode 100644 hurd/translator/procfs/procps.mdwn create mode 100644 hurd/translator/procfs/top.mdwn diff --git a/community/gsoc/procfs/htop.mdwn b/community/gsoc/procfs/htop.mdwn deleted file mode 100644 index 7a0dc416..00000000 --- a/community/gsoc/procfs/htop.mdwn +++ /dev/null @@ -1,271 +0,0 @@ -[[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]]."]]"""]] - -
-open("/proc/stat", O_RDONLY)            = 3
-open("/proc/meminfo", O_RDONLY)         = 3
-open("/proc/stat", O_RDONLY)            = 3
-open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3
-open("/proc/1/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/1/status", O_RDONLY)        = 4
-open("/proc/1/statm", O_RDONLY)         = 4
-open("/proc/1/stat", O_RDONLY)          = 4
-open("/proc/1/cmdline", O_RDONLY)       = 4
-open("/proc/2/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/2/status", O_RDONLY)        = 4
-open("/proc/2/statm", O_RDONLY)         = 4
-open("/proc/2/stat", O_RDONLY)          = 4
-open("/proc/2/cmdline", O_RDONLY)       = 4
-open("/proc/3/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/3/status", O_RDONLY)        = 4
-open("/proc/3/statm", O_RDONLY)         = 4
-open("/proc/3/stat", O_RDONLY)          = 4
-open("/proc/3/cmdline", O_RDONLY)       = 4
-open("/proc/4/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/4/status", O_RDONLY)        = 4
-open("/proc/4/statm", O_RDONLY)         = 4
-open("/proc/4/stat", O_RDONLY)          = 4
-open("/proc/4/cmdline", O_RDONLY)       = 4
-open("/proc/5/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/5/status", O_RDONLY)        = 4
-open("/proc/5/statm", O_RDONLY)         = 4
-open("/proc/5/stat", O_RDONLY)          = 4
-open("/proc/5/cmdline", O_RDONLY)       = 4
-open("/proc/6/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6/status", O_RDONLY)        = 4
-open("/proc/6/statm", O_RDONLY)         = 4
-open("/proc/6/stat", O_RDONLY)          = 4
-open("/proc/6/cmdline", O_RDONLY)       = 4
-open("/proc/7/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/7/status", O_RDONLY)        = 4
-open("/proc/7/statm", O_RDONLY)         = 4
-open("/proc/7/stat", O_RDONLY)          = 4
-open("/proc/7/cmdline", O_RDONLY)       = 4
-open("/proc/8/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/8/status", O_RDONLY)        = 4
-open("/proc/8/statm", O_RDONLY)         = 4
-open("/proc/8/stat", O_RDONLY)          = 4
-open("/proc/8/cmdline", O_RDONLY)       = 4
-open("/proc/9/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/9/status", O_RDONLY)        = 4
-open("/proc/9/statm", O_RDONLY)         = 4
-open("/proc/9/stat", O_RDONLY)          = 4
-open("/proc/9/cmdline", O_RDONLY)       = 4
-open("/proc/10/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/10/status", O_RDONLY)       = 4
-open("/proc/10/statm", O_RDONLY)        = 4
-open("/proc/10/stat", O_RDONLY)         = 4
-open("/proc/10/cmdline", O_RDONLY)      = 4
-open("/proc/11/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/11/status", O_RDONLY)       = 4
-open("/proc/11/statm", O_RDONLY)        = 4
-open("/proc/11/stat", O_RDONLY)         = 4
-open("/proc/11/cmdline", O_RDONLY)      = 4
-open("/proc/12/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/12/status", O_RDONLY)       = 4
-open("/proc/12/statm", O_RDONLY)        = 4
-open("/proc/12/stat", O_RDONLY)         = 4
-open("/proc/12/cmdline", O_RDONLY)      = 4
-open("/proc/13/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/13/status", O_RDONLY)       = 4
-open("/proc/13/statm", O_RDONLY)        = 4
-open("/proc/13/stat", O_RDONLY)         = 4
-open("/proc/13/cmdline", O_RDONLY)      = 4
-open("/proc/14/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/14/status", O_RDONLY)       = 4
-open("/proc/14/statm", O_RDONLY)        = 4
-open("/proc/14/stat", O_RDONLY)         = 4
-open("/proc/14/cmdline", O_RDONLY)      = 4
-open("/proc/15/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/15/status", O_RDONLY)       = 4
-open("/proc/15/statm", O_RDONLY)        = 4
-open("/proc/15/stat", O_RDONLY)         = 4
-open("/proc/15/cmdline", O_RDONLY)      = 4
-open("/proc/16/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/16/status", O_RDONLY)       = 4
-open("/proc/16/statm", O_RDONLY)        = 4
-open("/proc/16/stat", O_RDONLY)         = 4
-open("/proc/16/cmdline", O_RDONLY)      = 4
-open("/proc/25/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/25/status", O_RDONLY)       = 4
-open("/proc/25/statm", O_RDONLY)        = 4
-open("/proc/25/stat", O_RDONLY)         = 4
-open("/proc/25/cmdline", O_RDONLY)      = 4
-open("/proc/26/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/26/status", O_RDONLY)       = 4
-open("/proc/26/statm", O_RDONLY)        = 4
-open("/proc/26/stat", O_RDONLY)         = 4
-open("/proc/26/cmdline", O_RDONLY)      = 4
-open("/proc/32/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/32/status", O_RDONLY)       = 4
-open("/proc/32/statm", O_RDONLY)        = 4
-open("/proc/32/stat", O_RDONLY)         = 4
-open("/proc/32/cmdline", O_RDONLY)      = 4
-open("/proc/33/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/33/status", O_RDONLY)       = 4
-open("/proc/33/statm", O_RDONLY)        = 4
-open("/proc/33/stat", O_RDONLY)         = 4
-open("/proc/33/cmdline", O_RDONLY)      = 4
-open("/proc/1001/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/1001/status", O_RDONLY)     = 4
-open("/proc/1001/statm", O_RDONLY)      = 4
-open("/proc/1001/stat", O_RDONLY)       = 4
-open("/proc/1001/cmdline", O_RDONLY)    = 4
-open("/proc/1050/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/1050/status", O_RDONLY)     = 4
-open("/proc/1050/statm", O_RDONLY)      = 4
-open("/proc/1050/stat", O_RDONLY)       = 4
-open("/proc/1050/cmdline", O_RDONLY)    = 4
-open("/proc/1056/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/1056/status", O_RDONLY)     = 4
-open("/proc/1056/statm", O_RDONLY)      = 4
-open("/proc/1056/stat", O_RDONLY)       = 4
-open("/proc/1056/cmdline", O_RDONLY)    = 4
-open("/proc/1077/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/1077/status", O_RDONLY)     = 4
-open("/proc/1077/statm", O_RDONLY)      = 4
-open("/proc/1077/stat", O_RDONLY)       = 4
-open("/proc/1077/cmdline", O_RDONLY)    = 4
-open("/proc/1094/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/1094/status", O_RDONLY)     = 4
-open("/proc/1094/statm", O_RDONLY)      = 4
-open("/proc/1094/stat", O_RDONLY)       = 4
-open("/proc/1094/cmdline", O_RDONLY)    = 4
-open("/proc/3321/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/3321/status", O_RDONLY)     = 4
-open("/proc/3321/statm", O_RDONLY)      = 4
-open("/proc/3321/stat", O_RDONLY)       = 4
-open("/proc/3321/cmdline", O_RDONLY)    = 4
-open("/proc/3473/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/3473/status", O_RDONLY)     = 4
-open("/proc/3473/statm", O_RDONLY)      = 4
-open("/proc/3473/stat", O_RDONLY)       = 4
-open("/proc/3473/cmdline", O_RDONLY)    = 4
-open("/proc/4127/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/4127/status", O_RDONLY)     = 4
-open("/proc/4127/statm", O_RDONLY)      = 4
-open("/proc/4127/stat", O_RDONLY)       = 4
-open("/proc/4127/cmdline", O_RDONLY)    = 4
-open("/proc/4370/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/4370/status", O_RDONLY)     = 4
-open("/proc/4370/statm", O_RDONLY)      = 4
-open("/proc/4370/stat", O_RDONLY)       = 4
-open("/proc/4370/cmdline", O_RDONLY)    = 4
-open("/proc/4419/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/4419/status", O_RDONLY)     = 4
-open("/proc/4419/statm", O_RDONLY)      = 4
-open("/proc/4419/stat", O_RDONLY)       = 4
-open("/proc/4419/cmdline", O_RDONLY)    = 4
-open("/proc/4950/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/4950/status", O_RDONLY)     = 4
-open("/proc/4950/statm", O_RDONLY)      = 4
-open("/proc/4950/stat", O_RDONLY)       = 4
-open("/proc/4950/cmdline", O_RDONLY)    = 4
-open("/proc/6675/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6675/status", O_RDONLY)     = 4
-open("/proc/6675/statm", O_RDONLY)      = 4
-open("/proc/6675/stat", O_RDONLY)       = 4
-open("/proc/6675/cmdline", O_RDONLY)    = 4
-open("/proc/6701/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6701/status", O_RDONLY)     = 4
-open("/proc/6701/statm", O_RDONLY)      = 4
-open("/proc/6701/stat", O_RDONLY)       = 4
-open("/proc/6701/cmdline", O_RDONLY)    = 4
-open("/proc/6711/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6711/status", O_RDONLY)     = 4
-open("/proc/6711/statm", O_RDONLY)      = 4
-open("/proc/6711/stat", O_RDONLY)       = 4
-open("/proc/6711/cmdline", O_RDONLY)    = 4
-open("/proc/6727/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6727/status", O_RDONLY)     = 4
-open("/proc/6727/statm", O_RDONLY)      = 4
-open("/proc/6727/stat", O_RDONLY)       = 4
-open("/proc/6727/cmdline", O_RDONLY)    = 4
-open("/proc/6735/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6735/status", O_RDONLY)     = 4
-open("/proc/6735/statm", O_RDONLY)      = 4
-open("/proc/6735/stat", O_RDONLY)       = 4
-open("/proc/6735/cmdline", O_RDONLY)    = 4
-open("/proc/6736/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6736/status", O_RDONLY)     = 4
-open("/proc/6736/statm", O_RDONLY)      = 4
-open("/proc/6736/stat", O_RDONLY)       = 4
-open("/proc/6736/cmdline", O_RDONLY)    = 4
-open("/proc/6748/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6748/status", O_RDONLY)     = 4
-open("/proc/6748/statm", O_RDONLY)      = 4
-open("/proc/6748/stat", O_RDONLY)       = 4
-open("/proc/6748/cmdline", O_RDONLY)    = 4
-open("/proc/6750/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6750/status", O_RDONLY)     = 4
-open("/proc/6750/statm", O_RDONLY)      = 4
-open("/proc/6750/stat", O_RDONLY)       = 4
-open("/proc/6750/cmdline", O_RDONLY)    = 4
-open("/proc/6751/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6751/status", O_RDONLY)     = 4
-open("/proc/6751/statm", O_RDONLY)      = 4
-open("/proc/6751/stat", O_RDONLY)       = 4
-open("/proc/6751/cmdline", O_RDONLY)    = 4
-open("/proc/6758/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6758/status", O_RDONLY)     = 4
-open("/proc/6758/statm", O_RDONLY)      = 4
-open("/proc/6758/stat", O_RDONLY)       = 4
-open("/proc/6758/cmdline", O_RDONLY)    = 4
-open("/proc/6768/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6768/status", O_RDONLY)     = 4
-open("/proc/6768/statm", O_RDONLY)      = 4
-open("/proc/6768/stat", O_RDONLY)       = 4
-open("/proc/6768/cmdline", O_RDONLY)    = 4
-open("/proc/6776/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6776/status", O_RDONLY)     = 4
-open("/proc/6776/statm", O_RDONLY)      = 4
-open("/proc/6776/stat", O_RDONLY)       = 4
-open("/proc/6776/cmdline", O_RDONLY)    = 4
-open("/proc/6780/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6780/status", O_RDONLY)     = 4
-open("/proc/6780/statm", O_RDONLY)      = 4
-open("/proc/6780/stat", O_RDONLY)       = 4
-open("/proc/6780/cmdline", O_RDONLY)    = 4
-open("/proc/6782/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6782/status", O_RDONLY)     = 4
-open("/proc/6782/statm", O_RDONLY)      = 4
-open("/proc/6782/stat", O_RDONLY)       = 4
-open("/proc/6782/cmdline", O_RDONLY)    = 4
-open("/proc/6783/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6783/status", O_RDONLY)     = 4
-open("/proc/6783/statm", O_RDONLY)      = 4
-open("/proc/6783/stat", O_RDONLY)       = 4
-open("/proc/6783/cmdline", O_RDONLY)    = 4
-open("/proc/6784/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6784/status", O_RDONLY)     = 4
-open("/proc/6784/statm", O_RDONLY)      = 4
-open("/proc/6784/stat", O_RDONLY)       = 4
-open("/proc/6784/cmdline", O_RDONLY)    = 4
-open("/proc/6785/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6785/status", O_RDONLY)     = 4
-open("/proc/6785/statm", O_RDONLY)      = 4
-open("/proc/6785/stat", O_RDONLY)       = 4
-open("/proc/6785/cmdline", O_RDONLY)    = 4
-open("/proc/6806/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6806/status", O_RDONLY)     = 4
-open("/proc/6806/statm", O_RDONLY)      = 4
-open("/proc/6806/stat", O_RDONLY)       = 4
-open("/proc/6806/cmdline", O_RDONLY)    = 4
-open("/proc/6903/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6903/status", O_RDONLY)     = 4
-open("/proc/6903/statm", O_RDONLY)      = 4
-open("/proc/6903/stat", O_RDONLY)       = 4
-open("/proc/6903/cmdline", O_RDONLY)    = 4
-open("/proc/6904/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
-open("/proc/6904/status", O_RDONLY)     = 4
-open("/proc/6904/statm", O_RDONLY)      = 4
-open("/proc/6904/stat", O_RDONLY)       = 4
-open("/proc/6904/cmdline", O_RDONLY)    = 4
-
diff --git a/community/gsoc/procfs/killall.mdwn b/community/gsoc/procfs/killall.mdwn deleted file mode 100644 index 588ba1c8..00000000 --- a/community/gsoc/procfs/killall.mdwn +++ /dev/null @@ -1,172 +0,0 @@ -[[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]]."]]"""]] - -
-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/4/stat", O_RDONLY)          = 6
-open("/proc/4/status", O_RDONLY)        = 6
-open("/proc/4/cmdline", O_RDONLY)       = 6
-open("/proc/5/stat", O_RDONLY)          = 6
-open("/proc/5/status", O_RDONLY)        = 6
-open("/proc/5/cmdline", O_RDONLY)       = 6
-open("/proc/6/stat", O_RDONLY)          = 6
-open("/proc/6/status", O_RDONLY)        = 6
-open("/proc/6/cmdline", O_RDONLY)       = 6
-open("/proc/7/stat", O_RDONLY)          = 6
-open("/proc/7/status", O_RDONLY)        = 6
-open("/proc/7/cmdline", O_RDONLY)       = 6
-open("/proc/8/stat", O_RDONLY)          = 6
-open("/proc/8/status", O_RDONLY)        = 6
-open("/proc/8/cmdline", O_RDONLY)       = 6
-open("/proc/9/stat", O_RDONLY)          = 6
-open("/proc/9/status", O_RDONLY)        = 6
-open("/proc/9/cmdline", O_RDONLY)       = 6
-open("/proc/10/stat", O_RDONLY)         = 6
-open("/proc/10/status", O_RDONLY)       = 6
-open("/proc/10/cmdline", O_RDONLY)      = 6
-open("/proc/11/stat", O_RDONLY)         = 6
-open("/proc/11/status", O_RDONLY)       = 6
-open("/proc/11/cmdline", O_RDONLY)      = 6
-open("/proc/12/stat", O_RDONLY)         = 6
-open("/proc/12/status", O_RDONLY)       = 6
-open("/proc/12/cmdline", O_RDONLY)      = 6
-open("/proc/13/stat", O_RDONLY)         = 6
-open("/proc/13/status", O_RDONLY)       = 6
-open("/proc/13/cmdline", O_RDONLY)      = 6
-open("/proc/14/stat", O_RDONLY)         = 6
-open("/proc/14/status", O_RDONLY)       = 6
-open("/proc/14/cmdline", O_RDONLY)      = 6
-open("/proc/15/stat", O_RDONLY)         = 6
-open("/proc/15/status", O_RDONLY)       = 6
-open("/proc/15/cmdline", O_RDONLY)      = 6
-open("/proc/16/stat", O_RDONLY)         = 6
-open("/proc/16/status", O_RDONLY)       = 6
-open("/proc/16/cmdline", O_RDONLY)      = 6
-open("/proc/25/stat", O_RDONLY)         = 6
-open("/proc/25/status", O_RDONLY)       = 6
-open("/proc/25/cmdline", O_RDONLY)      = 6
-open("/proc/26/stat", O_RDONLY)         = 6
-open("/proc/26/status", O_RDONLY)       = 6
-open("/proc/26/cmdline", O_RDONLY)      = 6
-open("/proc/32/stat", O_RDONLY)         = 6
-open("/proc/32/status", O_RDONLY)       = 6
-open("/proc/32/cmdline", O_RDONLY)      = 6
-open("/proc/33/stat", O_RDONLY)         = 6
-open("/proc/33/status", O_RDONLY)       = 6
-open("/proc/33/cmdline", O_RDONLY)      = 6
-open("/proc/1001/stat", O_RDONLY)       = 6
-open("/proc/1001/status", O_RDONLY)     = 6
-open("/proc/1001/cmdline", O_RDONLY)    = 6
-open("/proc/1050/stat", O_RDONLY)       = 6
-open("/proc/1050/status", O_RDONLY)     = 6
-open("/proc/1050/cmdline", O_RDONLY)    = 6
-open("/proc/1056/stat", O_RDONLY)       = 6
-open("/proc/1056/status", O_RDONLY)     = 6
-open("/proc/1056/cmdline", O_RDONLY)    = 6
-open("/proc/1077/stat", O_RDONLY)       = 6
-open("/proc/1077/status", O_RDONLY)     = 6
-open("/proc/1077/cmdline", O_RDONLY)    = 6
-open("/proc/1094/stat", O_RDONLY)       = 6
-open("/proc/1094/status", O_RDONLY)     = 6
-open("/proc/1094/cmdline", O_RDONLY)    = 6
-open("/proc/3321/stat", O_RDONLY)       = 6
-open("/proc/3321/status", O_RDONLY)     = 6
-open("/proc/3321/cmdline", O_RDONLY)    = 6
-open("/proc/3473/stat", O_RDONLY)       = 6
-open("/proc/3473/status", O_RDONLY)     = 6
-open("/proc/3473/cmdline", O_RDONLY)    = 6
-open("/proc/4127/stat", O_RDONLY)       = 6
-open("/proc/4127/status", O_RDONLY)     = 6
-open("/proc/4127/cmdline", O_RDONLY)    = 6
-open("/proc/4370/stat", O_RDONLY)       = 6
-open("/proc/4370/status", O_RDONLY)     = 6
-open("/proc/4370/cmdline", O_RDONLY)    = 6
-open("/proc/4419/stat", O_RDONLY)       = 6
-open("/proc/4419/status", O_RDONLY)     = 6
-open("/proc/4419/cmdline", O_RDONLY)    = 6
-open("/proc/4950/stat", O_RDONLY)       = 6
-open("/proc/4950/status", O_RDONLY)     = 6
-open("/proc/4950/cmdline", O_RDONLY)    = 6
-open("/proc/6675/stat", O_RDONLY)       = 6
-open("/proc/6675/status", O_RDONLY)     = 6
-open("/proc/6675/cmdline", O_RDONLY)    = 6
-open("/proc/6701/stat", O_RDONLY)       = 6
-open("/proc/6701/status", O_RDONLY)     = 6
-open("/proc/6701/cmdline", O_RDONLY)    = 6
-open("/proc/6711/stat", O_RDONLY)       = 6
-open("/proc/6711/status", O_RDONLY)     = 6
-open("/proc/6711/cmdline", O_RDONLY)    = 6
-open("/proc/6727/stat", O_RDONLY)       = 6
-open("/proc/6727/status", O_RDONLY)     = 6
-open("/proc/6727/cmdline", O_RDONLY)    = 6
-open("/proc/6735/stat", O_RDONLY)       = 6
-open("/proc/6735/status", O_RDONLY)     = 6
-open("/proc/6735/cmdline", O_RDONLY)    = 6
-open("/proc/6736/stat", O_RDONLY)       = 6
-open("/proc/6736/status", O_RDONLY)     = 6
-open("/proc/6736/cmdline", O_RDONLY)    = 6
-open("/proc/6748/stat", O_RDONLY)       = 6
-open("/proc/6748/status", O_RDONLY)     = 6
-open("/proc/6748/cmdline", O_RDONLY)    = 6
-open("/proc/6750/stat", O_RDONLY)       = 6
-open("/proc/6750/status", O_RDONLY)     = 6
-open("/proc/6750/cmdline", O_RDONLY)    = 6
-open("/proc/6751/stat", O_RDONLY)       = 6
-open("/proc/6751/status", O_RDONLY)     = 6
-open("/proc/6751/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/6780/cmdline", O_RDONLY)    = 6
-open("/proc/6782/stat", O_RDONLY)       = 6
-open("/proc/6782/status", O_RDONLY)     = 6
-open("/proc/6782/cmdline", O_RDONLY)    = 6
-open("/proc/6783/stat", O_RDONLY)       = 6
-open("/proc/6783/status", O_RDONLY)     = 6
-open("/proc/6783/cmdline", O_RDONLY)    = 6
-open("/proc/6784/stat", O_RDONLY)       = 6
-open("/proc/6784/status", O_RDONLY)     = 6
-open("/proc/6784/cmdline", O_RDONLY)    = 6
-open("/proc/6785/stat", O_RDONLY)       = 6
-open("/proc/6785/status", O_RDONLY)     = 6
-open("/proc/6785/cmdline", O_RDONLY)    = 6
-open("/proc/6806/stat", O_RDONLY)       = 6
-open("/proc/6806/status", O_RDONLY)     = 6
-open("/proc/6806/cmdline", O_RDONLY)    = 6
-open("/proc/6873/stat", O_RDONLY)       = 6
-open("/proc/6873/status", O_RDONLY)     = 6
-open("/proc/6873/cmdline", O_RDONLY)    = 6
-open("/proc/6874/stat", O_RDONLY)       = 6
-open("/proc/6874/status", O_RDONLY)     = 6
-open("/proc/6874/cmdline", O_RDONLY)    = 6
-
diff --git a/community/gsoc/procfs/procps.mdwn b/community/gsoc/procfs/procps.mdwn deleted file mode 100644 index 60b061a9..00000000 --- a/community/gsoc/procfs/procps.mdwn +++ /dev/null @@ -1,69 +0,0 @@ -[[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]]."]]"""]] - -
-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
-
-(...)
-
diff --git a/community/gsoc/procfs/top.mdwn b/community/gsoc/procfs/top.mdwn deleted file mode 100644 index b2c9547b..00000000 --- a/community/gsoc/procfs/top.mdwn +++ /dev/null @@ -1,121 +0,0 @@ -[[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]]."]]"""]] - -
-open("/proc/stat", O_RDONLY)            = 3
-open("/proc/sys/kernel/pid_max", O_RDONLY) = 3
-open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3
-open("/proc/1/stat", O_RDONLY)          = 4
-open("/proc/1/statm", O_RDONLY)         = 4
-open("/proc/2/stat", O_RDONLY)          = 4
-open("/proc/2/statm", O_RDONLY)         = 4
-open("/proc/3/stat", O_RDONLY)          = 4
-open("/proc/3/statm", O_RDONLY)         = 4
-open("/proc/4/stat", O_RDONLY)          = 4
-open("/proc/4/statm", O_RDONLY)         = 4
-open("/proc/5/stat", O_RDONLY)          = 4
-open("/proc/5/statm", O_RDONLY)         = 4
-open("/proc/6/stat", O_RDONLY)          = 4
-open("/proc/6/statm", O_RDONLY)         = 4
-open("/proc/7/stat", O_RDONLY)          = 4
-open("/proc/7/statm", O_RDONLY)         = 4
-open("/proc/8/stat", O_RDONLY)          = 4
-open("/proc/8/statm", O_RDONLY)         = 4
-open("/proc/9/stat", O_RDONLY)          = 4
-open("/proc/9/statm", O_RDONLY)         = 4
-open("/proc/10/stat", O_RDONLY)         = 4
-open("/proc/10/statm", O_RDONLY)        = 4
-open("/proc/11/stat", O_RDONLY)         = 4
-open("/proc/11/statm", O_RDONLY)        = 4
-open("/proc/12/stat", O_RDONLY)         = 4
-open("/proc/12/statm", O_RDONLY)        = 4
-open("/proc/13/stat", O_RDONLY)         = 4
-open("/proc/13/statm", O_RDONLY)        = 4
-open("/proc/14/stat", O_RDONLY)         = 4
-open("/proc/14/statm", O_RDONLY)        = 4
-open("/proc/15/stat", O_RDONLY)         = 4
-open("/proc/15/statm", O_RDONLY)        = 4
-open("/proc/16/stat", O_RDONLY)         = 4
-open("/proc/16/statm", O_RDONLY)        = 4
-open("/proc/25/stat", O_RDONLY)         = 4
-open("/proc/25/statm", O_RDONLY)        = 4
-open("/proc/26/stat", O_RDONLY)         = 4
-open("/proc/26/statm", O_RDONLY)        = 4
-open("/proc/32/stat", O_RDONLY)         = 4
-open("/proc/32/statm", O_RDONLY)        = 4
-open("/proc/33/stat", O_RDONLY)         = 4
-open("/proc/33/statm", O_RDONLY)        = 4
-open("/proc/1001/stat", O_RDONLY)       = 4
-open("/proc/1001/statm", O_RDONLY)      = 4
-open("/proc/1050/stat", O_RDONLY)       = 4
-open("/proc/1050/statm", O_RDONLY)      = 4
-open("/proc/1056/stat", O_RDONLY)       = 4
-open("/proc/1056/statm", O_RDONLY)      = 4
-open("/proc/1077/stat", O_RDONLY)       = 4
-open("/proc/1077/statm", O_RDONLY)      = 4
-open("/proc/1094/stat", O_RDONLY)       = 4
-open("/proc/1094/statm", O_RDONLY)      = 4
-open("/proc/3321/stat", O_RDONLY)       = 4
-open("/proc/3321/statm", O_RDONLY)      = 4
-open("/proc/3379/stat", O_RDONLY)       = 4
-open("/proc/3379/statm", O_RDONLY)      = 4
-open("/proc/4119/stat", O_RDONLY)       = 4
-open("/proc/4119/statm", O_RDONLY)      = 4
-open("/proc/4380/stat", O_RDONLY)       = 4
-open("/proc/4380/statm", O_RDONLY)      = 4
-open("/proc/4468/stat", O_RDONLY)       = 4
-open("/proc/4468/statm", O_RDONLY)      = 4
-open("/proc/4950/stat", O_RDONLY)       = 4
-open("/proc/4950/statm", O_RDONLY)      = 4
-open("/proc/6675/stat", O_RDONLY)       = 4
-open("/proc/6675/statm", O_RDONLY)      = 4
-open("/proc/6701/stat", O_RDONLY)       = 4
-open("/proc/6701/statm", O_RDONLY)      = 4
-open("/proc/6711/stat", O_RDONLY)       = 4
-open("/proc/6711/statm", O_RDONLY)      = 4
-open("/proc/6727/stat", O_RDONLY)       = 4
-open("/proc/6727/statm", O_RDONLY)      = 4
-open("/proc/6735/stat", O_RDONLY)       = 4
-open("/proc/6735/statm", O_RDONLY)      = 4
-open("/proc/6736/stat", O_RDONLY)       = 4
-open("/proc/6736/statm", O_RDONLY)      = 4
-open("/proc/6748/stat", O_RDONLY)       = 4
-open("/proc/6748/statm", O_RDONLY)      = 4
-open("/proc/6750/stat", O_RDONLY)       = 4
-open("/proc/6750/statm", O_RDONLY)      = 4
-open("/proc/6751/stat", O_RDONLY)       = 4
-open("/proc/6751/statm", O_RDONLY)      = 4
-open("/proc/6758/stat", O_RDONLY)       = 4
-open("/proc/6758/statm", O_RDONLY)      = 4
-open("/proc/6768/stat", O_RDONLY)       = 4
-open("/proc/6768/statm", O_RDONLY)      = 4
-open("/proc/6776/stat", O_RDONLY)       = 4
-open("/proc/6776/statm", O_RDONLY)      = 4
-open("/proc/6780/stat", O_RDONLY)       = 4
-open("/proc/6780/statm", O_RDONLY)      = 4
-open("/proc/6782/stat", O_RDONLY)       = 4
-open("/proc/6782/statm", O_RDONLY)      = 4
-open("/proc/6783/stat", O_RDONLY)       = 4
-open("/proc/6783/statm", O_RDONLY)      = 4
-open("/proc/6784/stat", O_RDONLY)       = 4
-open("/proc/6784/statm", O_RDONLY)      = 4
-open("/proc/6787/stat", O_RDONLY)       = 4
-open("/proc/6787/statm", O_RDONLY)      = 4
-open("/proc/6806/stat", O_RDONLY)       = 4
-open("/proc/6806/statm", O_RDONLY)      = 4
-open("/proc/6823/stat", O_RDONLY)       = 4
-open("/proc/6823/statm", O_RDONLY)      = 4
-open("/proc/6824/stat", O_RDONLY)       = 4
-open("/proc/6824/statm", O_RDONLY)      = 4
-open("/proc/6881/stat", O_RDONLY)       = 4
-open("/proc/6881/statm", O_RDONLY)      = 4
-open("/proc/6882/stat", O_RDONLY)       = 4
-open("/proc/6882/statm", O_RDONLY)      = 4
-
diff --git a/community/gsoc/project_ideas.mdwn b/community/gsoc/project_ideas.mdwn index 0c04354d..037e894a 100644 --- a/community/gsoc/project_ideas.mdwn +++ b/community/gsoc/project_ideas.mdwn @@ -214,8 +214,7 @@ locking works on the Hurd. Only general programming skills are required. Although there is no standard (POSIX or other) for the layout of the `/proc` pseudo-filesystem, it turned out a very useful facility in GNU/Linux and other -systems, and many tools concerned with process management use it. ([[`ps`|procfs/procps]], [[`top`|procfs/top]], -[[`htop`|procfs/htop]], `gtop`, [[`killall`|procfs/killall]], `pkill`, ...) +systems, and many tools concerned with process management use it. Instead of porting all these tools to use [[hurd/libps]] (Hurd's official method for accessing process information), they could be made to run out of the box, by diff --git a/hurd/translator/procfs.mdwn b/hurd/translator/procfs.mdwn index e53d0774..eb07a8f6 100644 --- a/hurd/translator/procfs.mdwn +++ b/hurd/translator/procfs.mdwn @@ -9,3 +9,11 @@ is included in the section entitled [[GNU_Free_Documentation_License|/fdl]]."]]"""]] + + * [[`ps`|procps]] + * [[`top`|top]] + * [[`htop`|htop]] + * `gtop` + * [[`killall`|killall]] + * `pkill` + * ... diff --git a/hurd/translator/procfs/htop.mdwn b/hurd/translator/procfs/htop.mdwn new file mode 100644 index 00000000..7a0dc416 --- /dev/null +++ b/hurd/translator/procfs/htop.mdwn @@ -0,0 +1,271 @@ +[[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]]."]]"""]] + +
+open("/proc/stat", O_RDONLY)            = 3
+open("/proc/meminfo", O_RDONLY)         = 3
+open("/proc/stat", O_RDONLY)            = 3
+open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3
+open("/proc/1/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/1/status", O_RDONLY)        = 4
+open("/proc/1/statm", O_RDONLY)         = 4
+open("/proc/1/stat", O_RDONLY)          = 4
+open("/proc/1/cmdline", O_RDONLY)       = 4
+open("/proc/2/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/2/status", O_RDONLY)        = 4
+open("/proc/2/statm", O_RDONLY)         = 4
+open("/proc/2/stat", O_RDONLY)          = 4
+open("/proc/2/cmdline", O_RDONLY)       = 4
+open("/proc/3/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/3/status", O_RDONLY)        = 4
+open("/proc/3/statm", O_RDONLY)         = 4
+open("/proc/3/stat", O_RDONLY)          = 4
+open("/proc/3/cmdline", O_RDONLY)       = 4
+open("/proc/4/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/4/status", O_RDONLY)        = 4
+open("/proc/4/statm", O_RDONLY)         = 4
+open("/proc/4/stat", O_RDONLY)          = 4
+open("/proc/4/cmdline", O_RDONLY)       = 4
+open("/proc/5/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/5/status", O_RDONLY)        = 4
+open("/proc/5/statm", O_RDONLY)         = 4
+open("/proc/5/stat", O_RDONLY)          = 4
+open("/proc/5/cmdline", O_RDONLY)       = 4
+open("/proc/6/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6/status", O_RDONLY)        = 4
+open("/proc/6/statm", O_RDONLY)         = 4
+open("/proc/6/stat", O_RDONLY)          = 4
+open("/proc/6/cmdline", O_RDONLY)       = 4
+open("/proc/7/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/7/status", O_RDONLY)        = 4
+open("/proc/7/statm", O_RDONLY)         = 4
+open("/proc/7/stat", O_RDONLY)          = 4
+open("/proc/7/cmdline", O_RDONLY)       = 4
+open("/proc/8/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/8/status", O_RDONLY)        = 4
+open("/proc/8/statm", O_RDONLY)         = 4
+open("/proc/8/stat", O_RDONLY)          = 4
+open("/proc/8/cmdline", O_RDONLY)       = 4
+open("/proc/9/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/9/status", O_RDONLY)        = 4
+open("/proc/9/statm", O_RDONLY)         = 4
+open("/proc/9/stat", O_RDONLY)          = 4
+open("/proc/9/cmdline", O_RDONLY)       = 4
+open("/proc/10/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/10/status", O_RDONLY)       = 4
+open("/proc/10/statm", O_RDONLY)        = 4
+open("/proc/10/stat", O_RDONLY)         = 4
+open("/proc/10/cmdline", O_RDONLY)      = 4
+open("/proc/11/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/11/status", O_RDONLY)       = 4
+open("/proc/11/statm", O_RDONLY)        = 4
+open("/proc/11/stat", O_RDONLY)         = 4
+open("/proc/11/cmdline", O_RDONLY)      = 4
+open("/proc/12/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/12/status", O_RDONLY)       = 4
+open("/proc/12/statm", O_RDONLY)        = 4
+open("/proc/12/stat", O_RDONLY)         = 4
+open("/proc/12/cmdline", O_RDONLY)      = 4
+open("/proc/13/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/13/status", O_RDONLY)       = 4
+open("/proc/13/statm", O_RDONLY)        = 4
+open("/proc/13/stat", O_RDONLY)         = 4
+open("/proc/13/cmdline", O_RDONLY)      = 4
+open("/proc/14/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/14/status", O_RDONLY)       = 4
+open("/proc/14/statm", O_RDONLY)        = 4
+open("/proc/14/stat", O_RDONLY)         = 4
+open("/proc/14/cmdline", O_RDONLY)      = 4
+open("/proc/15/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/15/status", O_RDONLY)       = 4
+open("/proc/15/statm", O_RDONLY)        = 4
+open("/proc/15/stat", O_RDONLY)         = 4
+open("/proc/15/cmdline", O_RDONLY)      = 4
+open("/proc/16/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/16/status", O_RDONLY)       = 4
+open("/proc/16/statm", O_RDONLY)        = 4
+open("/proc/16/stat", O_RDONLY)         = 4
+open("/proc/16/cmdline", O_RDONLY)      = 4
+open("/proc/25/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/25/status", O_RDONLY)       = 4
+open("/proc/25/statm", O_RDONLY)        = 4
+open("/proc/25/stat", O_RDONLY)         = 4
+open("/proc/25/cmdline", O_RDONLY)      = 4
+open("/proc/26/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/26/status", O_RDONLY)       = 4
+open("/proc/26/statm", O_RDONLY)        = 4
+open("/proc/26/stat", O_RDONLY)         = 4
+open("/proc/26/cmdline", O_RDONLY)      = 4
+open("/proc/32/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/32/status", O_RDONLY)       = 4
+open("/proc/32/statm", O_RDONLY)        = 4
+open("/proc/32/stat", O_RDONLY)         = 4
+open("/proc/32/cmdline", O_RDONLY)      = 4
+open("/proc/33/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/33/status", O_RDONLY)       = 4
+open("/proc/33/statm", O_RDONLY)        = 4
+open("/proc/33/stat", O_RDONLY)         = 4
+open("/proc/33/cmdline", O_RDONLY)      = 4
+open("/proc/1001/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/1001/status", O_RDONLY)     = 4
+open("/proc/1001/statm", O_RDONLY)      = 4
+open("/proc/1001/stat", O_RDONLY)       = 4
+open("/proc/1001/cmdline", O_RDONLY)    = 4
+open("/proc/1050/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/1050/status", O_RDONLY)     = 4
+open("/proc/1050/statm", O_RDONLY)      = 4
+open("/proc/1050/stat", O_RDONLY)       = 4
+open("/proc/1050/cmdline", O_RDONLY)    = 4
+open("/proc/1056/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/1056/status", O_RDONLY)     = 4
+open("/proc/1056/statm", O_RDONLY)      = 4
+open("/proc/1056/stat", O_RDONLY)       = 4
+open("/proc/1056/cmdline", O_RDONLY)    = 4
+open("/proc/1077/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/1077/status", O_RDONLY)     = 4
+open("/proc/1077/statm", O_RDONLY)      = 4
+open("/proc/1077/stat", O_RDONLY)       = 4
+open("/proc/1077/cmdline", O_RDONLY)    = 4
+open("/proc/1094/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/1094/status", O_RDONLY)     = 4
+open("/proc/1094/statm", O_RDONLY)      = 4
+open("/proc/1094/stat", O_RDONLY)       = 4
+open("/proc/1094/cmdline", O_RDONLY)    = 4
+open("/proc/3321/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/3321/status", O_RDONLY)     = 4
+open("/proc/3321/statm", O_RDONLY)      = 4
+open("/proc/3321/stat", O_RDONLY)       = 4
+open("/proc/3321/cmdline", O_RDONLY)    = 4
+open("/proc/3473/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/3473/status", O_RDONLY)     = 4
+open("/proc/3473/statm", O_RDONLY)      = 4
+open("/proc/3473/stat", O_RDONLY)       = 4
+open("/proc/3473/cmdline", O_RDONLY)    = 4
+open("/proc/4127/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/4127/status", O_RDONLY)     = 4
+open("/proc/4127/statm", O_RDONLY)      = 4
+open("/proc/4127/stat", O_RDONLY)       = 4
+open("/proc/4127/cmdline", O_RDONLY)    = 4
+open("/proc/4370/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/4370/status", O_RDONLY)     = 4
+open("/proc/4370/statm", O_RDONLY)      = 4
+open("/proc/4370/stat", O_RDONLY)       = 4
+open("/proc/4370/cmdline", O_RDONLY)    = 4
+open("/proc/4419/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/4419/status", O_RDONLY)     = 4
+open("/proc/4419/statm", O_RDONLY)      = 4
+open("/proc/4419/stat", O_RDONLY)       = 4
+open("/proc/4419/cmdline", O_RDONLY)    = 4
+open("/proc/4950/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/4950/status", O_RDONLY)     = 4
+open("/proc/4950/statm", O_RDONLY)      = 4
+open("/proc/4950/stat", O_RDONLY)       = 4
+open("/proc/4950/cmdline", O_RDONLY)    = 4
+open("/proc/6675/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6675/status", O_RDONLY)     = 4
+open("/proc/6675/statm", O_RDONLY)      = 4
+open("/proc/6675/stat", O_RDONLY)       = 4
+open("/proc/6675/cmdline", O_RDONLY)    = 4
+open("/proc/6701/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6701/status", O_RDONLY)     = 4
+open("/proc/6701/statm", O_RDONLY)      = 4
+open("/proc/6701/stat", O_RDONLY)       = 4
+open("/proc/6701/cmdline", O_RDONLY)    = 4
+open("/proc/6711/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6711/status", O_RDONLY)     = 4
+open("/proc/6711/statm", O_RDONLY)      = 4
+open("/proc/6711/stat", O_RDONLY)       = 4
+open("/proc/6711/cmdline", O_RDONLY)    = 4
+open("/proc/6727/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6727/status", O_RDONLY)     = 4
+open("/proc/6727/statm", O_RDONLY)      = 4
+open("/proc/6727/stat", O_RDONLY)       = 4
+open("/proc/6727/cmdline", O_RDONLY)    = 4
+open("/proc/6735/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6735/status", O_RDONLY)     = 4
+open("/proc/6735/statm", O_RDONLY)      = 4
+open("/proc/6735/stat", O_RDONLY)       = 4
+open("/proc/6735/cmdline", O_RDONLY)    = 4
+open("/proc/6736/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6736/status", O_RDONLY)     = 4
+open("/proc/6736/statm", O_RDONLY)      = 4
+open("/proc/6736/stat", O_RDONLY)       = 4
+open("/proc/6736/cmdline", O_RDONLY)    = 4
+open("/proc/6748/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6748/status", O_RDONLY)     = 4
+open("/proc/6748/statm", O_RDONLY)      = 4
+open("/proc/6748/stat", O_RDONLY)       = 4
+open("/proc/6748/cmdline", O_RDONLY)    = 4
+open("/proc/6750/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6750/status", O_RDONLY)     = 4
+open("/proc/6750/statm", O_RDONLY)      = 4
+open("/proc/6750/stat", O_RDONLY)       = 4
+open("/proc/6750/cmdline", O_RDONLY)    = 4
+open("/proc/6751/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6751/status", O_RDONLY)     = 4
+open("/proc/6751/statm", O_RDONLY)      = 4
+open("/proc/6751/stat", O_RDONLY)       = 4
+open("/proc/6751/cmdline", O_RDONLY)    = 4
+open("/proc/6758/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6758/status", O_RDONLY)     = 4
+open("/proc/6758/statm", O_RDONLY)      = 4
+open("/proc/6758/stat", O_RDONLY)       = 4
+open("/proc/6758/cmdline", O_RDONLY)    = 4
+open("/proc/6768/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6768/status", O_RDONLY)     = 4
+open("/proc/6768/statm", O_RDONLY)      = 4
+open("/proc/6768/stat", O_RDONLY)       = 4
+open("/proc/6768/cmdline", O_RDONLY)    = 4
+open("/proc/6776/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6776/status", O_RDONLY)     = 4
+open("/proc/6776/statm", O_RDONLY)      = 4
+open("/proc/6776/stat", O_RDONLY)       = 4
+open("/proc/6776/cmdline", O_RDONLY)    = 4
+open("/proc/6780/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6780/status", O_RDONLY)     = 4
+open("/proc/6780/statm", O_RDONLY)      = 4
+open("/proc/6780/stat", O_RDONLY)       = 4
+open("/proc/6780/cmdline", O_RDONLY)    = 4
+open("/proc/6782/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6782/status", O_RDONLY)     = 4
+open("/proc/6782/statm", O_RDONLY)      = 4
+open("/proc/6782/stat", O_RDONLY)       = 4
+open("/proc/6782/cmdline", O_RDONLY)    = 4
+open("/proc/6783/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6783/status", O_RDONLY)     = 4
+open("/proc/6783/statm", O_RDONLY)      = 4
+open("/proc/6783/stat", O_RDONLY)       = 4
+open("/proc/6783/cmdline", O_RDONLY)    = 4
+open("/proc/6784/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6784/status", O_RDONLY)     = 4
+open("/proc/6784/statm", O_RDONLY)      = 4
+open("/proc/6784/stat", O_RDONLY)       = 4
+open("/proc/6784/cmdline", O_RDONLY)    = 4
+open("/proc/6785/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6785/status", O_RDONLY)     = 4
+open("/proc/6785/statm", O_RDONLY)      = 4
+open("/proc/6785/stat", O_RDONLY)       = 4
+open("/proc/6785/cmdline", O_RDONLY)    = 4
+open("/proc/6806/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6806/status", O_RDONLY)     = 4
+open("/proc/6806/statm", O_RDONLY)      = 4
+open("/proc/6806/stat", O_RDONLY)       = 4
+open("/proc/6806/cmdline", O_RDONLY)    = 4
+open("/proc/6903/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6903/status", O_RDONLY)     = 4
+open("/proc/6903/statm", O_RDONLY)      = 4
+open("/proc/6903/stat", O_RDONLY)       = 4
+open("/proc/6903/cmdline", O_RDONLY)    = 4
+open("/proc/6904/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
+open("/proc/6904/status", O_RDONLY)     = 4
+open("/proc/6904/statm", O_RDONLY)      = 4
+open("/proc/6904/stat", O_RDONLY)       = 4
+open("/proc/6904/cmdline", O_RDONLY)    = 4
+
diff --git a/hurd/translator/procfs/killall.mdwn b/hurd/translator/procfs/killall.mdwn new file mode 100644 index 00000000..588ba1c8 --- /dev/null +++ b/hurd/translator/procfs/killall.mdwn @@ -0,0 +1,172 @@ +[[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]]."]]"""]] + +
+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/4/stat", O_RDONLY)          = 6
+open("/proc/4/status", O_RDONLY)        = 6
+open("/proc/4/cmdline", O_RDONLY)       = 6
+open("/proc/5/stat", O_RDONLY)          = 6
+open("/proc/5/status", O_RDONLY)        = 6
+open("/proc/5/cmdline", O_RDONLY)       = 6
+open("/proc/6/stat", O_RDONLY)          = 6
+open("/proc/6/status", O_RDONLY)        = 6
+open("/proc/6/cmdline", O_RDONLY)       = 6
+open("/proc/7/stat", O_RDONLY)          = 6
+open("/proc/7/status", O_RDONLY)        = 6
+open("/proc/7/cmdline", O_RDONLY)       = 6
+open("/proc/8/stat", O_RDONLY)          = 6
+open("/proc/8/status", O_RDONLY)        = 6
+open("/proc/8/cmdline", O_RDONLY)       = 6
+open("/proc/9/stat", O_RDONLY)          = 6
+open("/proc/9/status", O_RDONLY)        = 6
+open("/proc/9/cmdline", O_RDONLY)       = 6
+open("/proc/10/stat", O_RDONLY)         = 6
+open("/proc/10/status", O_RDONLY)       = 6
+open("/proc/10/cmdline", O_RDONLY)      = 6
+open("/proc/11/stat", O_RDONLY)         = 6
+open("/proc/11/status", O_RDONLY)       = 6
+open("/proc/11/cmdline", O_RDONLY)      = 6
+open("/proc/12/stat", O_RDONLY)         = 6
+open("/proc/12/status", O_RDONLY)       = 6
+open("/proc/12/cmdline", O_RDONLY)      = 6
+open("/proc/13/stat", O_RDONLY)         = 6
+open("/proc/13/status", O_RDONLY)       = 6
+open("/proc/13/cmdline", O_RDONLY)      = 6
+open("/proc/14/stat", O_RDONLY)         = 6
+open("/proc/14/status", O_RDONLY)       = 6
+open("/proc/14/cmdline", O_RDONLY)      = 6
+open("/proc/15/stat", O_RDONLY)         = 6
+open("/proc/15/status", O_RDONLY)       = 6
+open("/proc/15/cmdline", O_RDONLY)      = 6
+open("/proc/16/stat", O_RDONLY)         = 6
+open("/proc/16/status", O_RDONLY)       = 6
+open("/proc/16/cmdline", O_RDONLY)      = 6
+open("/proc/25/stat", O_RDONLY)         = 6
+open("/proc/25/status", O_RDONLY)       = 6
+open("/proc/25/cmdline", O_RDONLY)      = 6
+open("/proc/26/stat", O_RDONLY)         = 6
+open("/proc/26/status", O_RDONLY)       = 6
+open("/proc/26/cmdline", O_RDONLY)      = 6
+open("/proc/32/stat", O_RDONLY)         = 6
+open("/proc/32/status", O_RDONLY)       = 6
+open("/proc/32/cmdline", O_RDONLY)      = 6
+open("/proc/33/stat", O_RDONLY)         = 6
+open("/proc/33/status", O_RDONLY)       = 6
+open("/proc/33/cmdline", O_RDONLY)      = 6
+open("/proc/1001/stat", O_RDONLY)       = 6
+open("/proc/1001/status", O_RDONLY)     = 6
+open("/proc/1001/cmdline", O_RDONLY)    = 6
+open("/proc/1050/stat", O_RDONLY)       = 6
+open("/proc/1050/status", O_RDONLY)     = 6
+open("/proc/1050/cmdline", O_RDONLY)    = 6
+open("/proc/1056/stat", O_RDONLY)       = 6
+open("/proc/1056/status", O_RDONLY)     = 6
+open("/proc/1056/cmdline", O_RDONLY)    = 6
+open("/proc/1077/stat", O_RDONLY)       = 6
+open("/proc/1077/status", O_RDONLY)     = 6
+open("/proc/1077/cmdline", O_RDONLY)    = 6
+open("/proc/1094/stat", O_RDONLY)       = 6
+open("/proc/1094/status", O_RDONLY)     = 6
+open("/proc/1094/cmdline", O_RDONLY)    = 6
+open("/proc/3321/stat", O_RDONLY)       = 6
+open("/proc/3321/status", O_RDONLY)     = 6
+open("/proc/3321/cmdline", O_RDONLY)    = 6
+open("/proc/3473/stat", O_RDONLY)       = 6
+open("/proc/3473/status", O_RDONLY)     = 6
+open("/proc/3473/cmdline", O_RDONLY)    = 6
+open("/proc/4127/stat", O_RDONLY)       = 6
+open("/proc/4127/status", O_RDONLY)     = 6
+open("/proc/4127/cmdline", O_RDONLY)    = 6
+open("/proc/4370/stat", O_RDONLY)       = 6
+open("/proc/4370/status", O_RDONLY)     = 6
+open("/proc/4370/cmdline", O_RDONLY)    = 6
+open("/proc/4419/stat", O_RDONLY)       = 6
+open("/proc/4419/status", O_RDONLY)     = 6
+open("/proc/4419/cmdline", O_RDONLY)    = 6
+open("/proc/4950/stat", O_RDONLY)       = 6
+open("/proc/4950/status", O_RDONLY)     = 6
+open("/proc/4950/cmdline", O_RDONLY)    = 6
+open("/proc/6675/stat", O_RDONLY)       = 6
+open("/proc/6675/status", O_RDONLY)     = 6
+open("/proc/6675/cmdline", O_RDONLY)    = 6
+open("/proc/6701/stat", O_RDONLY)       = 6
+open("/proc/6701/status", O_RDONLY)     = 6
+open("/proc/6701/cmdline", O_RDONLY)    = 6
+open("/proc/6711/stat", O_RDONLY)       = 6
+open("/proc/6711/status", O_RDONLY)     = 6
+open("/proc/6711/cmdline", O_RDONLY)    = 6
+open("/proc/6727/stat", O_RDONLY)       = 6
+open("/proc/6727/status", O_RDONLY)     = 6
+open("/proc/6727/cmdline", O_RDONLY)    = 6
+open("/proc/6735/stat", O_RDONLY)       = 6
+open("/proc/6735/status", O_RDONLY)     = 6
+open("/proc/6735/cmdline", O_RDONLY)    = 6
+open("/proc/6736/stat", O_RDONLY)       = 6
+open("/proc/6736/status", O_RDONLY)     = 6
+open("/proc/6736/cmdline", O_RDONLY)    = 6
+open("/proc/6748/stat", O_RDONLY)       = 6
+open("/proc/6748/status", O_RDONLY)     = 6
+open("/proc/6748/cmdline", O_RDONLY)    = 6
+open("/proc/6750/stat", O_RDONLY)       = 6
+open("/proc/6750/status", O_RDONLY)     = 6
+open("/proc/6750/cmdline", O_RDONLY)    = 6
+open("/proc/6751/stat", O_RDONLY)       = 6
+open("/proc/6751/status", O_RDONLY)     = 6
+open("/proc/6751/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/6780/cmdline", O_RDONLY)    = 6
+open("/proc/6782/stat", O_RDONLY)       = 6
+open("/proc/6782/status", O_RDONLY)     = 6
+open("/proc/6782/cmdline", O_RDONLY)    = 6
+open("/proc/6783/stat", O_RDONLY)       = 6
+open("/proc/6783/status", O_RDONLY)     = 6
+open("/proc/6783/cmdline", O_RDONLY)    = 6
+open("/proc/6784/stat", O_RDONLY)       = 6
+open("/proc/6784/status", O_RDONLY)     = 6
+open("/proc/6784/cmdline", O_RDONLY)    = 6
+open("/proc/6785/stat", O_RDONLY)       = 6
+open("/proc/6785/status", O_RDONLY)     = 6
+open("/proc/6785/cmdline", O_RDONLY)    = 6
+open("/proc/6806/stat", O_RDONLY)       = 6
+open("/proc/6806/status", O_RDONLY)     = 6
+open("/proc/6806/cmdline", O_RDONLY)    = 6
+open("/proc/6873/stat", O_RDONLY)       = 6
+open("/proc/6873/status", O_RDONLY)     = 6
+open("/proc/6873/cmdline", O_RDONLY)    = 6
+open("/proc/6874/stat", O_RDONLY)       = 6
+open("/proc/6874/status", O_RDONLY)     = 6
+open("/proc/6874/cmdline", O_RDONLY)    = 6
+
diff --git a/hurd/translator/procfs/procps.mdwn b/hurd/translator/procfs/procps.mdwn new file mode 100644 index 00000000..60b061a9 --- /dev/null +++ b/hurd/translator/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]]."]]"""]] + +
+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
+
+(...)
+
diff --git a/hurd/translator/procfs/top.mdwn b/hurd/translator/procfs/top.mdwn new file mode 100644 index 00000000..b2c9547b --- /dev/null +++ b/hurd/translator/procfs/top.mdwn @@ -0,0 +1,121 @@ +[[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]]."]]"""]] + +
+open("/proc/stat", O_RDONLY)            = 3
+open("/proc/sys/kernel/pid_max", O_RDONLY) = 3
+open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3
+open("/proc/1/stat", O_RDONLY)          = 4
+open("/proc/1/statm", O_RDONLY)         = 4
+open("/proc/2/stat", O_RDONLY)          = 4
+open("/proc/2/statm", O_RDONLY)         = 4
+open("/proc/3/stat", O_RDONLY)          = 4
+open("/proc/3/statm", O_RDONLY)         = 4
+open("/proc/4/stat", O_RDONLY)          = 4
+open("/proc/4/statm", O_RDONLY)         = 4
+open("/proc/5/stat", O_RDONLY)          = 4
+open("/proc/5/statm", O_RDONLY)         = 4
+open("/proc/6/stat", O_RDONLY)          = 4
+open("/proc/6/statm", O_RDONLY)         = 4
+open("/proc/7/stat", O_RDONLY)          = 4
+open("/proc/7/statm", O_RDONLY)         = 4
+open("/proc/8/stat", O_RDONLY)          = 4
+open("/proc/8/statm", O_RDONLY)         = 4
+open("/proc/9/stat", O_RDONLY)          = 4
+open("/proc/9/statm", O_RDONLY)         = 4
+open("/proc/10/stat", O_RDONLY)         = 4
+open("/proc/10/statm", O_RDONLY)        = 4
+open("/proc/11/stat", O_RDONLY)         = 4
+open("/proc/11/statm", O_RDONLY)        = 4
+open("/proc/12/stat", O_RDONLY)         = 4
+open("/proc/12/statm", O_RDONLY)        = 4
+open("/proc/13/stat", O_RDONLY)         = 4
+open("/proc/13/statm", O_RDONLY)        = 4
+open("/proc/14/stat", O_RDONLY)         = 4
+open("/proc/14/statm", O_RDONLY)        = 4
+open("/proc/15/stat", O_RDONLY)         = 4
+open("/proc/15/statm", O_RDONLY)        = 4
+open("/proc/16/stat", O_RDONLY)         = 4
+open("/proc/16/statm", O_RDONLY)        = 4
+open("/proc/25/stat", O_RDONLY)         = 4
+open("/proc/25/statm", O_RDONLY)        = 4
+open("/proc/26/stat", O_RDONLY)         = 4
+open("/proc/26/statm", O_RDONLY)        = 4
+open("/proc/32/stat", O_RDONLY)         = 4
+open("/proc/32/statm", O_RDONLY)        = 4
+open("/proc/33/stat", O_RDONLY)         = 4
+open("/proc/33/statm", O_RDONLY)        = 4
+open("/proc/1001/stat", O_RDONLY)       = 4
+open("/proc/1001/statm", O_RDONLY)      = 4
+open("/proc/1050/stat", O_RDONLY)       = 4
+open("/proc/1050/statm", O_RDONLY)      = 4
+open("/proc/1056/stat", O_RDONLY)       = 4
+open("/proc/1056/statm", O_RDONLY)      = 4
+open("/proc/1077/stat", O_RDONLY)       = 4
+open("/proc/1077/statm", O_RDONLY)      = 4
+open("/proc/1094/stat", O_RDONLY)       = 4
+open("/proc/1094/statm", O_RDONLY)      = 4
+open("/proc/3321/stat", O_RDONLY)       = 4
+open("/proc/3321/statm", O_RDONLY)      = 4
+open("/proc/3379/stat", O_RDONLY)       = 4
+open("/proc/3379/statm", O_RDONLY)      = 4
+open("/proc/4119/stat", O_RDONLY)       = 4
+open("/proc/4119/statm", O_RDONLY)      = 4
+open("/proc/4380/stat", O_RDONLY)       = 4
+open("/proc/4380/statm", O_RDONLY)      = 4
+open("/proc/4468/stat", O_RDONLY)       = 4
+open("/proc/4468/statm", O_RDONLY)      = 4
+open("/proc/4950/stat", O_RDONLY)       = 4
+open("/proc/4950/statm", O_RDONLY)      = 4
+open("/proc/6675/stat", O_RDONLY)       = 4
+open("/proc/6675/statm", O_RDONLY)      = 4
+open("/proc/6701/stat", O_RDONLY)       = 4
+open("/proc/6701/statm", O_RDONLY)      = 4
+open("/proc/6711/stat", O_RDONLY)       = 4
+open("/proc/6711/statm", O_RDONLY)      = 4
+open("/proc/6727/stat", O_RDONLY)       = 4
+open("/proc/6727/statm", O_RDONLY)      = 4
+open("/proc/6735/stat", O_RDONLY)       = 4
+open("/proc/6735/statm", O_RDONLY)      = 4
+open("/proc/6736/stat", O_RDONLY)       = 4
+open("/proc/6736/statm", O_RDONLY)      = 4
+open("/proc/6748/stat", O_RDONLY)       = 4
+open("/proc/6748/statm", O_RDONLY)      = 4
+open("/proc/6750/stat", O_RDONLY)       = 4
+open("/proc/6750/statm", O_RDONLY)      = 4
+open("/proc/6751/stat", O_RDONLY)       = 4
+open("/proc/6751/statm", O_RDONLY)      = 4
+open("/proc/6758/stat", O_RDONLY)       = 4
+open("/proc/6758/statm", O_RDONLY)      = 4
+open("/proc/6768/stat", O_RDONLY)       = 4
+open("/proc/6768/statm", O_RDONLY)      = 4
+open("/proc/6776/stat", O_RDONLY)       = 4
+open("/proc/6776/statm", O_RDONLY)      = 4
+open("/proc/6780/stat", O_RDONLY)       = 4
+open("/proc/6780/statm", O_RDONLY)      = 4
+open("/proc/6782/stat", O_RDONLY)       = 4
+open("/proc/6782/statm", O_RDONLY)      = 4
+open("/proc/6783/stat", O_RDONLY)       = 4
+open("/proc/6783/statm", O_RDONLY)      = 4
+open("/proc/6784/stat", O_RDONLY)       = 4
+open("/proc/6784/statm", O_RDONLY)      = 4
+open("/proc/6787/stat", O_RDONLY)       = 4
+open("/proc/6787/statm", O_RDONLY)      = 4
+open("/proc/6806/stat", O_RDONLY)       = 4
+open("/proc/6806/statm", O_RDONLY)      = 4
+open("/proc/6823/stat", O_RDONLY)       = 4
+open("/proc/6823/statm", O_RDONLY)      = 4
+open("/proc/6824/stat", O_RDONLY)       = 4
+open("/proc/6824/statm", O_RDONLY)      = 4
+open("/proc/6881/stat", O_RDONLY)       = 4
+open("/proc/6881/statm", O_RDONLY)      = 4
+open("/proc/6882/stat", O_RDONLY)       = 4
+open("/proc/6882/statm", O_RDONLY)      = 4
+
-- cgit v1.2.3