Path: utzoo!news-server.csri.toronto.edu!rutgers!apple!voder!pyramid!ctnews!risky!pase70!scottl From: scottl@convergent.com (Scott Lurndal) Newsgroups: comp.unix.internals Subject: Re: How do I find programs complete run-string ? Message-ID: <3348@risky.Convergent.COM> Date: 9 Mar 91 01:09:39 GMT References: <199@ezelmo.UUCP> <510@bria> Sender: root@risky.Convergent.COM Reply-To: scottl@convergent.com (Scott Lurndal) Organization: Unisys Network Computing Group Lines: 15 In article <510@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!)