[comp.unix.ultrix] Finding program arguments in the kernel

DEEJ@MAINE.BITNET (Dj Merrill) (08/21/89)

A friend asked me to post the following:

I'm developing a program to allow us to reset hung network tty's. I have
enough code to allow me to read the process table and the find the user
page that goes with each process. I would also like to be able to look at
the args passed to the process - I know that the command itself is in the
user structure (field u_comm). Does anybody know where the arguments are
stored?

  - john grover -

Replies can be posted via the network, or e-mail can be sent to the
following:

jgrover@maine.bitnet

JGROVER@MAINE.BITNET (John Grover) (08/21/89)

I'm developing a program to allow us to reset hung network tty's. I have
enough code to allow me to read the process table and the find the user
page that goes with each process. I would also like to be able to look at
the args passed to the process - I know that the command itself is in the
user structure (field u_comm). Does anybody know where the arguments are
stored?


  - john grover -

jgrover@maine.bitnet