delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/04/09:24:13

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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=VP3b5MZJciAUCkru
vkMg81RFhSdL9X/aksVXcKuWvaqmeZ+Yo6wSw6XqBatTBZLiO97Efo+/E+YXEdiP
4AX1SFBhGb5MomNbDg7jeJeBCDqlJsrmnA00x51d3RNY6AF5rtLhY4le9hHTLt+k
u4JOWUV0rMHu0LDOrE2CCEJkh4s=
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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=IWTQADgYAbIcrIkg4azkec
nINHM=; b=VL3uNewbdWIHBFIPXw1jopwXKIEFEDTRHpds84WvtW2Qbp3lRMUpOL
2IDcJClogDnzr2qb+PMvsNmxKLQ5a4fJOIFvMny08U1pV0JvuNQnfaXKzIn2EL2C
dTCDI5Uao3x0dhY36j3sLkrZIsAYLvwxVMpvywss0cIy92zE00miE=
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.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*f:sk:2cfae13
X-HELO: csmail.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: PS and AWK Linux Commands on Cygwin
References: <1278249779 DOT 9195574 DOT 1470314208273 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com> <1278249779 DOT 9195574 DOT 1470314208273 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <2cfae133-c91c-6b20-fa7e-f468fac1dc56 AT cs DOT umass DOT edu> <742cdb45-d345-5d5d-2c59-f31c4a2f243a AT winfirst DOT com>
To: cygwin AT cygwin DOT com
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <959134cd-434f-f51a-0c0b-bba7a285356a@cs.umass.edu>
Date: Thu, 4 Aug 2016 09:23:48 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <742cdb45-d345-5d5d-2c59-f31c4a2f243a@winfirst.com>
X-IsSubscribed: yes

On 8/4/2016 9:20 AM, Mark Hansen wrote:
> On 8/4/2016 6:12 AM, Eliot Moss wrote:
>> So, a couple of things ...
>>
>> Cygwin definitely supports gawk - I use it all the time.
>> My system has a link from awk to gawk, so awk will work.
>> I can't recall if I added that link or if it came with
>> the installation.  awk may be in a separate package
>> that you'll have to install from the Cygwin package
>> installer.
>
> I have a fresh installation of Cygwin and /usr/bin/awk is a link to /usr/bin/gawk - FYI
>
>>
>> As for ps, it works, but it will show only Cygwin
>> related processes.  It may have other limitations
>> as well, because it might be impossible or very
>> difficult to support some POSIX features under
>> Windows.
>
> Cygwin ps allows for a -W command-line argument which tells it to include all windows processes.
> There are other arguments like -l for "long" mode, -f for "full" mode, etc.

Thanks for the additional info!

On Windows, procps is useful, but of course it's Windows-specific ...

Regards - EM

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