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

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=QWkuaezZRW4IxVnj
EFb4bmgB1wNw4FiPLleN8KOCe83iOvPHvYXx5uAsfZ0D9zr6SSrDw3n8Z82wBS7h
xqZU7sTBA1SEMTlHWL63PBK0cgrW3RXn5EgnPSnXK9qrQU7/Zpi98puGw+ggj91V
BzMELtS0jcAO/Gh4Hh9B6gCsb3M=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=U4BSH6rWU4QvS9sR/2P2xv
yPcMk=; b=qeNg4Z67TN7aBTHz+dsn0j4j9h2hlD0UGDLir0FMyFP1pB6YfpK55C
+8/6dfWaDCeOPiVn1UQLbJhB8a+8Rkfej9bvVpz26kXqJbQYNf947R3O35CPsAsh
BDqLad8uzlGSsMCfkUw+a1PUAMLI+SUt9dPu79K2GT6ImlSTt/wXU=
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=0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*r:sk:stargat, H*f:sk:2cfae13, H*i:sk:2cfae13, H*MI:sk:2cfae13
X-HELO: stargate.mehconsulting.com
Subject: Re: PS and AWK Linux Commands on Cygwin
To: cygwin AT cygwin DOT com
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>
From: Mark Hansen <meh AT winfirst DOT com>
Message-ID: <742cdb45-d345-5d5d-2c59-f31c4a2f243a@winfirst.com>
Date: Thu, 4 Aug 2016 06:20:43 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <2cfae133-c91c-6b20-fa7e-f468fac1dc56@cs.umass.edu>

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.


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