Hi,
Last week I posted an idea for an atomic ps that doesn't use /proc. I
now have a more complete implementation. Thanks to Albert Cahalan and
Werner Almesberger for comments and suggestions. Here is the blurb:
This driver allows you to take atomic snapshots of all the data
normally found in /proc/<pid>/ (except command line arguments and
environment). It has the following advantages over /proc:
- smaller memory footprint, thus more suitable for embedded systems;
- requires only a few system calls to read all the data, thus faster;
- gives a consistent view of the processes on the system even during
heavy process activity.
Kernel patch and a minimal ps implementation (based on code from procps)
can be found at: http://bkernel.sourceforge.net/
Not yet done:
- data and process selection flags (like in procps)
- mmap support
Best wishes,
Borislav
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:25 EST