www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/29/04:11:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Wed, 29 Apr 2009 10:11:29 +0200
From: jurriaan <jurriaan AT rivierenland DOT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: ps -ef difference linux/cygwin (arguments)
Message-ID: <20090429081129.GA44103@xs4all.nl>
Mime-Version: 1.0
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

If I run execute some sh -c "sleep 180" & commands on cygwin
(CYGWIN_NT-5.2 1.7.0(0.210/5/3) and then run ps -ef, I get a lot of 

/usr/bin/sh

processes.

If I run ps -ef on my linux (2.6.25.17), I get

sh -c sleep 180
sh -c sleep 180
sh -c sleep 180

Is there any way to get the commandline arguments in the ps output on
cygwin? I see theres /proc/XXX/cmdline that contains the correct
information, but I'd love to be able to see it in ps as well.

Kind regards,
Jurriaan

--
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/

- Raw text -


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