From e8e5e8220bc6b3399a0662bb7e19a2a20a7deecf Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Wed, 16 Jul 2008 08:15:05 +0000 Subject: web commit by tschwinge: Test web-commit. --- community/weblogs.mdwn | 1 - 1 file changed, 1 deletion(-) (limited to 'community') diff --git a/community/weblogs.mdwn b/community/weblogs.mdwn index 0e721a5e..016c483f 100644 --- a/community/weblogs.mdwn +++ b/community/weblogs.mdwn @@ -15,4 +15,3 @@ pages="community/weblogs/*/* and !*/discussion" show=0 actions=no rootpage="community/weblogs" postformtext="Add a new user named:"]] - -- cgit v1.2.3 From 79016f7d8228c6d1fb00b76613f6ef8deff8293d Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Thu, 17 Jul 2008 12:54:29 +0000 Subject: web commit by scolobb --- community/scolobb.mdwn | 53 +++++++++++++------------------------------------- 1 file changed, 14 insertions(+), 39 deletions(-) (limited to 'community') diff --git a/community/scolobb.mdwn b/community/scolobb.mdwn index 8abc4646..2990f5e1 100644 --- a/community/scolobb.mdwn +++ b/community/scolobb.mdwn @@ -19,59 +19,34 @@ Project: Namespace-based translator selection --- ## Current Task -Write a translator that should filter the contents of the directory it is set on according to some property. The property can be an arbitrary command. -The code is at . +Write the filesystem proxy for namespace-based translator selection (*nsmux*). -Clone URL: git://github.com/scolobb/filterfs.git +The code is at . -####10: Sat Jun 28, ~14:00 UTC - Wed Jul 2, ~16:00 UTC ?: +###Progress -> Implemented the functions required for the lookup operation. +####2: Thu Jul 17, ~13:00 UTC - ?: -####9: Fri Jun 27, ~14:00 UTC - Fri Jun 18, ~18:00 UTC: +> Extend the lookup code in *nsmux* to allow for looking up nodes like 'file,,x'. -> Added the code for filtering directory entries, +####1: Mon Jul 12, ~13:00 UTC - Tue Jul 13, ~15:00 UTC: -####8: Tue Jun 24, ~17:00 UTC - Fri Jun 27, ~14:00 UTC: +> Implemented a simple *libtrivfs*-based translator to test the lookup code for *nsmux*. -> Debugged the code for fetching directory entries. +####0: Sat Jul 12, ~09:00 UTC - Sat Jul 12, ~18:00 UTC: -####7: Mon Jun 23, ~15:00 UTC - Tue Jun 24, ~14:00 UTC: +> Made small changes to the code of *filterfs* to fit the needs of *nsmux*. -> Created the code for logging debug messages. - -####6: Fri Jun 6, ~13:00 UTC - Mon Jun 23, ~15:00 UTC: - -> Created the code to fetch the directory entries and integrated it into *libnetfs* callbacks. - -####5: Mon Jun 2, ~14:00 UTC - Thu Jun 5, ~19:00 UTC: - -> Adapted the initialization actions from *unionfs*. Borrowed the netnode/lnode architecture from *unionfs*. - -####4: Mon Jun 2, ~11:00 UTC - ~14:00 UTC: - -> Adapted the node cache from *unionfs* to the needs of *filterfs*. - -####3: Mon May 26, ~18:00 UTC - Thu May 29, ~19:00 UTC: - -> Prepared stubs of callbacks required by *libnetfs*. - -####2: Mon May 5, ~18:00 UTC - ~20:00 UTC: - -> Rewrote the *helloworld* translator from scratch. - -####1: Sat May 3, ~8:00 UTC - ~21:00 UTC: - -> Read **The Hurd Hacking Guide** (). +--- -####0: Sat May 3, ~16:00 UTC: +## Completed Tasks -> Task suggested by **antrik**. +####2: Sat May 3 - Fri Jul 17: ---- +> Write a translator that should filter the contents of the directory it is set on according to some property. The property can be an arbitrary command. -## Completed Tasks +> The code is at . ####1: Mon Apr 28 - Wed Apr 30: -- cgit v1.2.3 From f1487225a646ddca07a8a14a28d5b6ce52fa7142 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Thu, 17 Jul 2008 21:23:05 +0000 Subject: web commit by flaviocruz --- community/flavioc.mdwn | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'community') diff --git a/community/flavioc.mdwn b/community/flavioc.mdwn index d7aaa22c..6ef56a8b 100644 --- a/community/flavioc.mdwn +++ b/community/flavioc.mdwn @@ -22,6 +22,39 @@ hg clone http://freehg.org/u/flavioc/cl-hurd/ Creating an extensible translator library in lisp using the mig generated stubs. +### What's done + +- The library for writing translators is mostly written. +- This library is intended to implement virtual filesystems. Examples are: translators were data is located in a local file (like zipfs, tarfs, rarfs, ...), single file translators (that do content filtering, output of a command, etc), network based filesystems (ftpfs, httpfs, ...) +- Right now, what's missing is: support for symlinks, file execution, and setting other translators on our node tree. +- It's possible to specialize the basic translator library and implement new translator classes. This is done using CLOS. +- There is a tree-translator class that makes the managing of a node tree very easy, doing all the work for us, through a simple directory API and implementing the directory callbacks for us. +- There is a simple example (something like zipfs) translator that can expose the directories and file contents of a ZIP file. +- Translator options (manipulated through fsysopts) have a simple and easy to use API. +- All the Mach port manipulation API is available. +- It's possible to send and receive messages. Simple example: +
+  (let* ((spec-mixed (make-message-spec :fields '(:string :integer :char :string :integer :real)))
+         (msg-mixed (make-message :spec spec-mixed))
+         (port (port-allocate :right-receive)))
+    (send-message msg-mixed :remote port :data (list "abc" 42 #\b "cba" 314 3.14))
+    (receive-message msg-mixed :source port) ; This returns T on success.
+    (get-message msg-mixed))) ; Returns '("abc" 42 #\b "cba" 314 3.14)
+
+- New message types (like :string, :integer) can be implemented, providing a powerful extension mechanism. + + +### What needs to be done + +- Using continuations for IO blocking operations. This can be done using cl-cont. +- Support for symlinks. +- Support for stacking translators. + + +### Notes + +- File execution is complicated to do, because there is no multithreading support on CLisp and continuations won't do it. Maybe forking the clisp process?. + ## To do ### Documentation -- cgit v1.2.3 From 39ab329546c0926d9876c2026e4e6c4082e1ad43 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Fri, 18 Jul 2008 20:38:39 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 191 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 191 insertions(+) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index 4f4da722..d9d6caf8 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -144,6 +144,197 @@ Clone URL: [git://github.com/madhusudancs/procfs.git](git://github.com/madhusuda 9. libfuse (In Hurd extras) 10. procfs (libtrivfs based, In Hurd extras) +------ + + Post Mid-Term Road Map +---- + +Legend + +* - Has already been implemented. +** - I already know the where the information is exactly available. +*** - I know where the information is available roughly, but need to look in detail to extract the exact information. +**** - The information may be available, but needs to be searched to know where it will be. +***** - I fear information may not be available. +~~~~~ - Need not be implemented. +File +/proc//stat + +* pid + +* comm + +* state + +* ppid + +* pgrp + +* session + +* tty_nr + +* tpgid + +** minflt +The number of minor faults the process has made which have not required loading a memory page +from disk. + +*** cminflt +The number of minor faults that the process’s waited-for children have made. + +** majflt +The number of major faults the process has made which have required loading a memory page from +disk. + +*** cmajflt +The number of major faults that the process’s waited-for children have made. + +** utime +The number of jiffies that this process has been scheduled in user mode. + +** stime +The number of jiffies that this process has been scheduled in kernel mode. + +** cutime +The number of jiffies that this process’s waited-for children have been scheduled in user +mode. + +** cstime +The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. + +** priority +The standard nice value, plus fifteen. The value is never negative in the kernel. + +*** nice +The nice value ranges from 19 to -19. + +** num_threads +Number of threads in this process. + +*** starttime +The time in jiffies the process started after system boot. + +**** vsize +Virtual memory size in bytes. + +** rss +Resident Set Size: number of pages the process has in real memory, minus 3 for administrative +purposes. This is just the pages which count towards text, data, or stack space. This does not +include pages which have not been demand-loaded in, or which are swapped out. + +*** signal +The bitmap of pending signals. + +*** blocked +The bitmap of blocked signals. + +*** sigignore +The bitmap of ignored signals. + +*** sigcatch +The bitmap of caught signals. + +** policy +Scheduling policy (see sched_setscheduler(2)). +File +/proc//statm + +** resident +resident set size + +*** size +total program size + +*** text +text (code) +Other Per-PID Files + +** /proc//cwd + +** /proc//exe + +** /proc//environ +Non Per-PID Files + +** /proc/version +File +/proc//stat + +**** rlim +Current limit in bytes on the rss of the process (usually 4294967295 on i386). + +**** startcode +The address above which program text can run. + +**** endcode +The address below which program text can run. + +**** startstack +The address of the start of the stack. + +**** kstkesp +The current value of esp (stack pointer), as found in the kernel stack page for the process. + +**** kstkeip +The current EIP (instruction pointer). + +**** exit_signal +Signal to be sent to parent when we die. +File +/proc//statm + +**** share +shared pages + +**** data +data/stack +Other Per-PID File + +**** /proc//root +Non Per-PID Files + +**** /proc/stat + +**** /proc/meminfo +File +/proc//stat + +***** wchan +This is the "channel" in which the process is waiting. It is the address of a system call, and +can be looked up in a namelist if you need a textual name. (If you have an up-to-date +/etc/psdatabase, + +***** processor +CPU number last executed on. + +***** rt_priority +Real-time scheduling priority + +***** delayacct_blkio_ticks +Aggregated block I/O delays, measured in clock ticks (centiseconds). + +***** flags +PF_* fields defined in + +~~~~~ itrealvalue +The time in jiffies before the next SIGALRM is sent to the process due to an interval timer. + +~~~~~ nswap +Number of pages swapped (not maintained). + +~~~~~ cnswap +Cumulative nswap for child processes (not maintained). +File +/proc//statm + +~~~~~ lib +library (not required) + +~~~~~ dt +dirty pages (not required) + + ------ Code Updates -- cgit v1.2.3 From bccddde3eb50bc0bd88051f38532b09831870334 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Fri, 18 Jul 2008 20:52:46 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 114 ++++++++++++++++++++++++++------------------------ 1 file changed, 60 insertions(+), 54 deletions(-) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index d9d6caf8..6dac6a43 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -151,12 +151,18 @@ Clone URL: [git://github.com/madhusudancs/procfs.git](git://github.com/madhusuda Legend -* - Has already been implemented. -** - I already know the where the information is exactly available. -*** - I know where the information is available roughly, but need to look in detail to extract the exact information. -**** - The information may be available, but needs to be searched to know where it will be. -***** - I fear information may not be available. -~~~~~ - Need not be implemented. +* * - Has already been implemented. + +* ** - I already know the where the information is exactly available. + +* *** - I know where the information is available roughly, but need to look in detail to extract the exact information. + +* **** - The information may be available, but needs to be searched to know where it will be. + +* ***** - I fear information may not be available. + +* ~~~~~ - Need not be implemented. + File /proc//stat @@ -176,162 +182,162 @@ File * tpgid -** minflt +* ** minflt The number of minor faults the process has made which have not required loading a memory page from disk. -*** cminflt +* *** cminflt The number of minor faults that the process’s waited-for children have made. -** majflt +* ** majflt The number of major faults the process has made which have required loading a memory page from disk. -*** cmajflt +* *** cmajflt The number of major faults that the process’s waited-for children have made. -** utime +* ** utime The number of jiffies that this process has been scheduled in user mode. -** stime +* ** stime The number of jiffies that this process has been scheduled in kernel mode. -** cutime +* ** cutime The number of jiffies that this process’s waited-for children have been scheduled in user mode. -** cstime +* ** cstime The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. -** priority +* ** priority The standard nice value, plus fifteen. The value is never negative in the kernel. -*** nice +* *** nice The nice value ranges from 19 to -19. -** num_threads +* ** num_threads Number of threads in this process. -*** starttime +* *** starttime The time in jiffies the process started after system boot. -**** vsize +* **** vsize Virtual memory size in bytes. -** rss +* ** rss Resident Set Size: number of pages the process has in real memory, minus 3 for administrative purposes. This is just the pages which count towards text, data, or stack space. This does not include pages which have not been demand-loaded in, or which are swapped out. -*** signal +* *** signal The bitmap of pending signals. -*** blocked +* *** blocked The bitmap of blocked signals. -*** sigignore +* *** sigignore The bitmap of ignored signals. -*** sigcatch +* *** sigcatch The bitmap of caught signals. -** policy +* ** policy Scheduling policy (see sched_setscheduler(2)). File /proc//statm -** resident +* ** resident resident set size -*** size +* *** size total program size -*** text +* *** text text (code) Other Per-PID Files -** /proc//cwd +* ** /proc//cwd -** /proc//exe +* ** /proc//exe -** /proc//environ +* ** /proc//environ Non Per-PID Files -** /proc/version +* ** /proc/version File /proc//stat -**** rlim +* **** rlim Current limit in bytes on the rss of the process (usually 4294967295 on i386). -**** startcode +* **** startcode The address above which program text can run. -**** endcode +* **** endcode The address below which program text can run. -**** startstack +* **** startstack The address of the start of the stack. -**** kstkesp +* **** kstkesp The current value of esp (stack pointer), as found in the kernel stack page for the process. -**** kstkeip +* **** kstkeip The current EIP (instruction pointer). -**** exit_signal +* **** exit_signal Signal to be sent to parent when we die. File /proc//statm -**** share +* **** share shared pages -**** data +* **** data data/stack Other Per-PID File -**** /proc//root +* **** /proc//root Non Per-PID Files -**** /proc/stat +* **** /proc/stat -**** /proc/meminfo +* **** /proc/meminfo File /proc//stat -***** wchan +* ***** wchan This is the "channel" in which the process is waiting. It is the address of a system call, and can be looked up in a namelist if you need a textual name. (If you have an up-to-date /etc/psdatabase, -***** processor +* ***** processor CPU number last executed on. -***** rt_priority +* ***** rt_priority Real-time scheduling priority -***** delayacct_blkio_ticks +* ***** delayacct_blkio_ticks Aggregated block I/O delays, measured in clock ticks (centiseconds). -***** flags +* ***** flags PF_* fields defined in -~~~~~ itrealvalue +* ~~~~~ itrealvalue The time in jiffies before the next SIGALRM is sent to the process due to an interval timer. -~~~~~ nswap +* ~~~~~ nswap Number of pages swapped (not maintained). -~~~~~ cnswap +* ~~~~~ cnswap Cumulative nswap for child processes (not maintained). File /proc//statm -~~~~~ lib +* ~~~~~ lib library (not required) -~~~~~ dt +* ~~~~~ dt dirty pages (not required) -- cgit v1.2.3 From 09a53cfa2eb955621ce83a3020504acbd8230e3a Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Fri, 18 Jul 2008 21:16:57 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index 6dac6a43..fa9ef204 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -151,20 +151,19 @@ Clone URL: [git://github.com/madhusudancs/procfs.git](git://github.com/madhusuda Legend -* * - Has already been implemented. -* ** - I already know the where the information is exactly available. -* *** - I know where the information is available roughly, but need to look in detail to extract the exact information. +*** - I know where the information is available roughly, but need to look in detail to extract the exact information. -* **** - The information may be available, but needs to be searched to know where it will be. +**** - The information may be available, but needs to be searched to know where it will be. -* ***** - I fear information may not be available. +***** - I fear information may not be available. -* ~~~~~ - Need not be implemented. +~~~~~ - Need not be implemented. -File -/proc//stat +####Already Implemented + +#####File - /proc/<PID>/stat * pid @@ -182,16 +181,19 @@ File * tpgid -* ** minflt +* minflt The number of minor faults the process has made which have not required loading a memory page from disk. +* majflt +The number of major faults the process has made which have required loading a memory page from +disk. + +####I already know the where the information is exactly available. + * *** cminflt The number of minor faults that the process’s waited-for children have made. -* ** majflt -The number of major faults the process has made which have required loading a memory page from -disk. * *** cmajflt The number of major faults that the process’s waited-for children have made. -- cgit v1.2.3 From 2425b5c0b28c65553edeca7e88724955ffbff1a2 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sat, 19 Jul 2008 18:50:56 +0000 Subject: web commit by scolobb --- community/scolobb.mdwn | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'community') diff --git a/community/scolobb.mdwn b/community/scolobb.mdwn index 2990f5e1..b4aadde0 100644 --- a/community/scolobb.mdwn +++ b/community/scolobb.mdwn @@ -24,11 +24,33 @@ Write the filesystem proxy for namespace-based translator selection (*nsmux*). The code is at . +--- + +###Current Status + +####DONE: + +* The skeleton which mirrors the filesystem. + +####TODO: + +* Provide the looking up of files with special suffixes like 'file,,x' + +* Provide RPC for accessing the untranslated node. + +* Create special translators for the main proxy so that its functionality + should be complete. + +* Refine the skeleton in several places so that it should become faster + and more reliable. + +--- + ###Progress -####2: Thu Jul 17, ~13:00 UTC - ?: +####2: Thu Jul 17, ~13:00 UTC - Fri Jul 18, ~21:00 UTC: -> Extend the lookup code in *nsmux* to allow for looking up nodes like 'file,,x'. +> Extended the lookup code in *nsmux* to allow for looking up nodes like 'file,,x' and added the possibility to escape the double-comma in the following way: ',,,'. ####1: Mon Jul 12, ~13:00 UTC - Tue Jul 13, ~15:00 UTC: -- cgit v1.2.3 From 2edbe3c72e85b2c66fcb3c7adcf5da34902160b8 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sat, 19 Jul 2008 21:41:15 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index fa9ef204..f2ec08b6 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -189,6 +189,12 @@ from disk. The number of major faults the process has made which have required loading a memory page from disk. +* utime +The number of jiffies that this process has been scheduled in user mode. + +* stime +The number of jiffies that this process has been scheduled in kernel mode. + ####I already know the where the information is exactly available. * *** cminflt @@ -198,11 +204,7 @@ The number of minor faults that the process’s waited-for children have made. * *** cmajflt The number of major faults that the process’s waited-for children have made. -* ** utime -The number of jiffies that this process has been scheduled in user mode. -* ** stime -The number of jiffies that this process has been scheduled in kernel mode. * ** cutime The number of jiffies that this process’s waited-for children have been scheduled in user -- cgit v1.2.3 From a5feda78206a3ea6f30f8eb0d743760c940b0ef1 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sun, 20 Jul 2008 00:37:22 +0000 Subject: web commit by flaviocruz: Update status. --- community/flavioc.mdwn | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'community') diff --git a/community/flavioc.mdwn b/community/flavioc.mdwn index 6ef56a8b..5ac3ce16 100644 --- a/community/flavioc.mdwn +++ b/community/flavioc.mdwn @@ -42,13 +42,19 @@ Creating an extensible translator library in lisp using the mig generated stubs. (get-message msg-mixed))) ; Returns '("abc" 42 #\b "cba" 314 3.14) - New message types (like :string, :integer) can be implemented, providing a powerful extension mechanism. +- Creation of symlinks and symlink path resolution. +- Creation of character/block devices, fifos and sockets. ### What needs to be done - Using continuations for IO blocking operations. This can be done using cl-cont. -- Support for symlinks. -- Support for stacking translators. +- Callbacks: + - file_lock, file_lock_stat (still not sure if they are really needed) + - file_reparent +- Make fsys_getroot and dir_lookup aware of active and passive translators. +- Bind the client RPC calls. +- Use the socket stubs? ### Notes -- cgit v1.2.3 From f19553bfe2ee30d10a504f706cf49d4371ee710a Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sun, 20 Jul 2008 04:49:21 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 62 ++++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 30 deletions(-) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index f2ec08b6..788a4b89 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -182,56 +182,57 @@ Legend * tpgid * minflt -The number of minor faults the process has made which have not required loading a memory page -from disk. +> The number of minor faults the process has made which have not required loading a memory page +> from disk. * majflt -The number of major faults the process has made which have required loading a memory page from -disk. +> The number of major faults the process has made which have required loading a memory page from +> disk. * utime -The number of jiffies that this process has been scheduled in user mode. +> The number of jiffies that this process has been scheduled in user mode. * stime -The number of jiffies that this process has been scheduled in kernel mode. +> The number of jiffies that this process has been scheduled in kernel mode. -####I already know the where the information is exactly available. +* priority +> The standard nice value, plus fifteen. The value is never negative in the kernel. -* *** cminflt -The number of minor faults that the process’s waited-for children have made. +* num_threads +> Number of threads in this process. +* starttime +> The time in jiffies the process started after system boot. -* *** cmajflt -The number of major faults that the process’s waited-for children have made. +* vsize +> Virtual memory size in bytes. +* rss +> Resident Set Size: number of pages the process has in real memory, minus 3 for administrative +> purposes. This is just the pages which count towards text, data, or stack space. This does not +> include pages which have not been demand-loaded in, or which are swapped out. -* ** cutime -The number of jiffies that this process’s waited-for children have been scheduled in user -mode. +####I already know the where the information is exactly available. -* ** cstime -The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. -* ** priority -The standard nice value, plus fifteen. The value is never negative in the kernel. +* cutime +> The number of jiffies that this process’s waited-for children have been scheduled in user +> mode. -* *** nice -The nice value ranges from 19 to -19. +* cstime +> The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. -* ** num_threads -Number of threads in this process. +* *** cminflt +The number of minor faults that the process’s waited-for children have made. -* *** starttime -The time in jiffies the process started after system boot. -* **** vsize -Virtual memory size in bytes. +* *** cmajflt +The number of major faults that the process’s waited-for children have made. + -* ** rss -Resident Set Size: number of pages the process has in real memory, minus 3 for administrative -purposes. This is just the pages which count towards text, data, or stack space. This does not -include pages which have not been demand-loaded in, or which are swapped out. +* *** nice +The nice value ranges from 19 to -19. * *** signal The bitmap of pending signals. @@ -247,6 +248,7 @@ The bitmap of caught signals. * ** policy Scheduling policy (see sched_setscheduler(2)). + File /proc//statm -- cgit v1.2.3 From af03f859ae78b9621c6ef67be4b6041d20d58f58 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sun, 20 Jul 2008 05:01:03 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 55 ++++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 27 deletions(-) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index 788a4b89..d9a3b0f0 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -153,7 +153,7 @@ Legend -*** - I know where the information is available roughly, but need to look in detail to extract the exact information. + **** - The information may be available, but needs to be searched to know where it will be. @@ -212,9 +212,17 @@ Legend > purposes. This is just the pages which count towards text, data, or stack space. This does not > include pages which have not been demand-loaded in, or which are swapped out. +* itrealvalue +> The time in jiffies before the next SIGALRM is sent to the process due to an interval timer. + +* nswap +> Number of pages swapped (not maintained). + +* cnswap +> Cumulative nswap for child processes (not maintained). -####I already know the where the information is exactly available. +####I already know the where the information is exactly available. * cutime > The number of jiffies that this process’s waited-for children have been scheduled in user @@ -223,34 +231,33 @@ Legend * cstime > The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. -* *** cminflt -The number of minor faults that the process’s waited-for children have made. - +####I know where the information is available roughly, but need to look in detail to extract the exact information. -* *** cmajflt -The number of major faults that the process’s waited-for children have made. +* cminflt +> The number of minor faults that the process’s waited-for children have made. +* cmajflt +> The number of major faults that the process’s waited-for children have made. -* *** nice -The nice value ranges from 19 to -19. +* nice +> The nice value ranges from 19 to -19. -* *** signal -The bitmap of pending signals. +* signal +> The bitmap of pending signals. -* *** blocked -The bitmap of blocked signals. +* blocked +> The bitmap of blocked signals. -* *** sigignore -The bitmap of ignored signals. +* sigignore +> The bitmap of ignored signals. -* *** sigcatch -The bitmap of caught signals. +* sigcatch +> The bitmap of caught signals. -* ** policy -Scheduling policy (see sched_setscheduler(2)). +* policy +> Scheduling policy. -File -/proc//statm +####File - /proc//statm * ** resident resident set size @@ -329,14 +336,8 @@ Aggregated block I/O delays, measured in clock ticks (centiseconds). * ***** flags PF_* fields defined in -* ~~~~~ itrealvalue -The time in jiffies before the next SIGALRM is sent to the process due to an interval timer. -* ~~~~~ nswap -Number of pages swapped (not maintained). -* ~~~~~ cnswap -Cumulative nswap for child processes (not maintained). File /proc//statm -- cgit v1.2.3 From 60173304e8d04e2300ea3478c719f789b9efe965 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sun, 20 Jul 2008 19:22:30 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 72 ++++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 32 deletions(-) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index d9a3b0f0..78aa2afc 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -155,7 +155,7 @@ Legend -**** - The information may be available, but needs to be searched to know where it will be. +**** - ***** - I fear information may not be available. @@ -231,6 +231,24 @@ Legend * cstime > The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. +#####File - /proc/<PID>/statm + +* resident +> resident set size + +#####Other Per-PID Files + +#####* /proc/<PID>/cwd + +#####* /proc/<PID>/exe + +#####* /proc/<PID>/environ + +#####Non Per-PID Files + +#####* /proc/version + + ####I know where the information is available roughly, but need to look in detail to extract the exact information. * cminflt @@ -257,49 +275,39 @@ Legend * policy > Scheduling policy. -####File - /proc//statm - -* ** resident -resident set size +#####File - /proc/<PID>/statm -* *** size -total program size +* size +> total program size -* *** text -text (code) -Other Per-PID Files +* text +> text (code) -* ** /proc//cwd +####The information may be available, but needs to be searched to know where it will be. -* ** /proc//exe - -* ** /proc//environ -Non Per-PID Files +#####File - /proc/<PID>/stat -* ** /proc/version -File -/proc//stat +* rlim +> Current limit in bytes on the rss of the process (usually 4294967295 on i386). -* **** rlim -Current limit in bytes on the rss of the process (usually 4294967295 on i386). +* startcode +> The address above which program text can run. -* **** startcode -The address above which program text can run. +* endcode +> The address below which program text can run. -* **** endcode -The address below which program text can run. +* startstack +> The address of the start of the stack. -* **** startstack -The address of the start of the stack. +* kstkesp +> The current value of esp (stack pointer), as found in the kernel stack page for the process. -* **** kstkesp -The current value of esp (stack pointer), as found in the kernel stack page for the process. +* kstkeip +> The current EIP (instruction pointer). -* **** kstkeip -The current EIP (instruction pointer). +* exit_signal +> Signal to be sent to parent when we die. -* **** exit_signal -Signal to be sent to parent when we die. File /proc//statm -- cgit v1.2.3 From 9f6192627fa71d9ebfe2c5b9273938d5a030795b Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sun, 20 Jul 2008 19:30:33 +0000 Subject: web commit by http://madhusudancs.myvidoop.com/ --- community/procfs.mdwn | 76 +++++++++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 42 deletions(-) (limited to 'community') diff --git a/community/procfs.mdwn b/community/procfs.mdwn index 78aa2afc..472c66c9 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -149,17 +149,6 @@ Clone URL: [git://github.com/madhusudancs/procfs.git](git://github.com/madhusuda Post Mid-Term Road Map ---- -Legend - - - - - -**** - - -***** - I fear information may not be available. - -~~~~~ - Need not be implemented. ####Already Implemented @@ -308,52 +297,55 @@ Legend * exit_signal > Signal to be sent to parent when we die. -File -/proc//statm +#####File - /proc/<PID>/statm -* **** share -shared pages +* share +> shared pages -* **** data -data/stack -Other Per-PID File +* data +> data/stack -* **** /proc//root -Non Per-PID Files +#####Other Per-PID File -* **** /proc/stat +#####* /proc/<PID>/root -* **** /proc/meminfo -File -/proc//stat +#####Non Per-PID Files + +#####* /proc/stat -* ***** wchan -This is the "channel" in which the process is waiting. It is the address of a system call, and -can be looked up in a namelist if you need a textual name. (If you have an up-to-date -/etc/psdatabase, +#####* /proc/meminfo -* ***** processor -CPU number last executed on. +####I fear information may not be available. + +#####File - /proc/<PID>/stat -* ***** rt_priority -Real-time scheduling priority +* wchan +> This is the "channel" in which the process is waiting. It is the address of a system call, and +> can be looked up in a namelist if you need a textual name. (If you have an up-to-date +> /etc/psdatabase, -* ***** delayacct_blkio_ticks -Aggregated block I/O delays, measured in clock ticks (centiseconds). +* processor +> CPU number last executed on. -* ***** flags -PF_* fields defined in +* rt_priority +> Real-time scheduling priority +* delayacct_blkio_ticks +> Aggregated block I/O delays, measured in clock ticks (centiseconds). +* flags +> PF_* fields defined in -File -/proc//statm -* ~~~~~ lib -library (not required) +#### Need not be implemented. + +#####File - /proc/<PID>/statm + +* lib +> library (not required) -* ~~~~~ dt -dirty pages (not required) +* dt +> dirty pages (not required) ------ -- cgit v1.2.3 From 5a21fc07c33a883d5ad08cf4947279387e92893b Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Sun, 20 Jul 2008 19:40:11 +0000 Subject: web commit by flaviocruz: Remove item from 'what needs to be done'. --- community/flavioc.mdwn | 1 - 1 file changed, 1 deletion(-) (limited to 'community') diff --git a/community/flavioc.mdwn b/community/flavioc.mdwn index 5ac3ce16..a0c0d036 100644 --- a/community/flavioc.mdwn +++ b/community/flavioc.mdwn @@ -52,7 +52,6 @@ Creating an extensible translator library in lisp using the mig generated stubs. - Callbacks: - file_lock, file_lock_stat (still not sure if they are really needed) - file_reparent -- Make fsys_getroot and dir_lookup aware of active and passive translators. - Bind the client RPC calls. - Use the socket stubs? -- cgit v1.2.3