How do I find programs complete run-string ?
Scott Lurndal
scottl at convergent.com
Sat Mar 9 11:09:39 AEST 1991
In article <510 at bria>, writes:
|> In an article, ezelmo.UUCP!kenc (Ken Cornetet) writes:
|> >
|> >Under system V, how does one find the complete runstring of another
|> >process ? By snooping around in the proc and user tables, I can find
|> >the process argv[0], but I don't see any way to get the rest of the
|> >args.
|>
|> Under SysV you want to look at u->u_psargs which will contain up to
|> PSARGSZ characters of the command line.
|>
Assuming of course that your operating system, which provides SysV semantics to
applications and users, actually *has* a u-area (I know of at least
two that don't have either a proc structure or a u area) (and don't
even have a /dev/kmem!)
More information about the Comp.unix.internals
mailing list