My vote would be to have ioctls with a procps library library to get
at the necessary info. As you say, it would have to be done well and
be useful.
Tet
-- ``Anyone who cannot cope with mathematics is not fully human. He is at best a tolerable subhuman who has learned to wear shoes, bathe and not make messes in the house.'' -- from the notebooks of Lazarus Long --------------------+--------------+---------------------------------------- tethys@ml.com | Micro$oft: | Linux, the choice of a GNU generation. tet@astradyne.co.uk | Just say no! | See http://www.uk.linux.org for details