finding the u structure in /dev/mem on SYSV (how ?)

Blair P. Houghton bph at buengc.BU.EDU
Wed Aug 24 07:35:00 AEST 1988


In article <12266 at ncoast.UUCP> allbery at ncoast.UUCP (Brandon S. Allbery) writes:
>As quoted from <16837 at adm.ARPA> by rbj at nav.icst.nbs.gov (Root Boy Jim):
>+---------------
>| Just a side issue, but what if things change during your poking around in
>| /dev/{kmem,swap}? How do ps-like programs deal with such things? 
>+---------------
>
>From the ps(1) manual:
>
>"BUGS
>"     Things can change while _ps_ is running; the picture it gives is only
>"     a close approximation to reality."
>
>I guess it doesn't.

The proof:

Sometimes when running ps, the ps itself is listed; sometimes it's not.

Fascinating.

				--Blair



More information about the Comp.unix.wizards mailing list