delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/26/09:20:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=uBF
wPFWIqCifViYE0ndsFgJdRYmvMZlqCb91DjmGT7nTRVADNpLFeP3uxw/aeHEA6bu
vzmt60k4s7SH003Cre/ntWQjEs730AU4ZzHqEMf0KTimJJJpeV1SEDsXirzgvgrJ
6Bqp3fCFDcVkUvmcLRNTWIQzxr0DVpfeqzwVd9/k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=7tduYucpi
5bO6fDvvImaeaz5dG0=; b=dDUpl0cfdeeFzKNZAfln2CEpvyxVPZG4MW9cvyP1E
1DFqZWiFXFBHu+aTTZhW90BG/EaJUnOKbcdvh6jKSIpD9owJgOJBh8RvfcAelmNd
mNxuVILl8Zm5PsYzuw/N6Iil4zK71+TKWwy9908WUyPk0LcIKqEOPHEoX0F+rP7z
Go=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: mail02.mylogin24.com
From: Holger Dietze <holger DOT dietze AT inforsacom DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: AW: Question about the ps command, missing option -o to format the output
Date: Wed, 26 Mar 2014 13:20:08 +0000
Message-ID: <DDE9CDBA2B37C246B69D8E4C96647D3D01AC9C06FE@DEFFMMBX102.elabs.int>
x-exclaimer-md-config: bafe0317-1695-46a2-95c8-237e0dbb2839
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s2QDKRhY006622

> But if it works it at least a workaround.

And it works:

$ procps
  PID TTY          TIME CMD
18124 pty1     00:00:00 procps
 4112 pty1     00:00:01 bash

$ procps -p 4112 -o pid= -o comm= 
 4112 bash

Thank you.

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