X-Spam-Check-By: sourceware.org MIME-Version: 1.0 From: "Andy@Jet-Net" To: cygwin@cygwin.com Date: Mon, 30 Apr 2007 12:35:30 +0100 Subject: display ps command line parameters Message-ID: <4edba06c76Andy@jet-net.co.uk> User-Agent: Pluto/3.03h (RISC-OS/4.02) POPstar/2.06-ds.3 Content-Type: text/plain X-orpheus-MailScanner: Found to be clean Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Hi all, I'm trying to get parameters entered at the Cygwin command line to appear on my ps command, and failing miserably! i.e. I'm running the following process at the command line: program parameter1 In "ps -s" I get something like: PID TTY STIME COMMAND 1234 con 09:00:00 /path/program ... but I'd like to be able to pick up the "parameter1". So far as I can see it other ps commands on Unix have an "-o args" option. I've tried every option that seems to be available in Cygwin ps (v 1.11), but cannot get past this wall. Is there a way of doing this through ps (or an alternative) in Cygwin? Thanks in anticipation Andy Burgess -- _____ ______ ______________________________________________ //_ / /| /_ / /...Your friendly computer professionals __//__ / / |/__ / / web : jet-net.co.uk ____________________/ phone: 01256 819531 mobile : 07770 808843 -- 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/