X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Tony Richardson Subject: Re: display ps command line parameters Date: Mon, 30 Apr 2007 16:03:50 +0000 (UTC) Lines: 15 Message-ID: References: <4edba06c76Andy AT jet-net DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Andy Jet-Net jet-net.co.uk> writes: > In "ps -s" I get something like: > > PID TTY STIME COMMAND > 1234 con 09:00:00 /path/program > > Is there a way of doing this through ps (or an alternative) in Cygwin? An alternative would be to parse /proc/PID/cmdline. Arguments are separated by null bytes. Tony Richardson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/