delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/19/06:25:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <837htnb94w.fsf@gmail.com>
References: <742340 DOT 79130 DOT qm AT web30808 DOT mail DOT mud DOT yahoo DOT com> <f275afc9b0711589dbc781439caea777 AT localhost> <837htnb94w DOT fsf AT gmail DOT com>
From: Julio Costa <costaju AT gmail DOT com>
Date: Thu, 19 Nov 2009 11:23:42 +0000
Message-ID: <af075b00911190323u4bd1899bpc6bee623a6ddee24@mail.gmail.com>
Subject: Re: CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi Larry,

If you want a more dirty-cheap solution, without installing anything,
you could also try something like this in a bash shell:

for i in /proc/[0-9]* ; do echo -n "${i#/proc/}: " ; cat -v $i/cmdline
; echo ; done | sed -e 's/\^@/ /g'

-- 
___________
Julio Costa

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019