Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] How can I get the full command line options of a currently running process
- To: <tlug@example.com>
- Subject: Re: [tlug] How can I get the full command line options of a currently running process
- From: "Mario Luoni" <luoni@example.com>
- Date: Wed, 6 Feb 2002 07:42:30 +0100
- Content-transfer-encoding: 7bit
- Content-type: text/plain;charset="iso-8859-1"
- References: <20020206125853.3dbef0fc.s45652001@example.com><20020206132130.2CA0.DARRENJ@example.com> <87r8nzqfw6.fsf@example.com>
shouldn't it read for i in /proc/[0-9]*; do cat $i/cmdline | tr '\000' ' '; echo; done at least on rh this seems to work better (i.e., at all) -mario ----- Original Message ----- From: "Stephen J. Turnbull" <stephen@example.com> To: <tlug@example.com> Sent: Wednesday, February 06, 2002 07:32 Subject: Re: [tlug] How can I get the full command line options of a currently running process > >>>>> "Darren" == Darren Cook <darrenj@example.com> writes: > > Darren> This is still not ideal as if the command is too long you > Darren> still lose the right-hand part. So the proper solution is > Darren> to tell ps to wordwrap, but I don't know how/if that is > Darren> possible. > > for i in /proc/[0-9]*; do cat $i | tr '\000' ' '; echo; done > > And for my next trick.... > > -- > Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp > University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN > Don't ask how you can "do" free software business; > ask what your business can "do for" free software.
- Follow-Ups:
- Re: [tlug] How can I get the full command line options of a currently running process
- From: Stephen J. Turnbull
- References:
- [tlug] How can I get the full command line options of a currently running process
- From: Antony Stace
- Re: [tlug] How can I get the full command line options of a currently running process
- From: Darren Cook
- Re: [tlug] How can I get the full command line options of a currently running process
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] How can I get the full command line options of a currently running process
- Next by Date: Re: [tlug] How can I get the full command line options of a currently running process
- Previous by thread: Re: [tlug] How can I get the full command line options of a currently running process
- Next by thread: Re: [tlug] How can I get the full command line options of a currently running process
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links