From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121727 invoked by alias); 24 May 2018 12:10:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 121701 invoked by uid 89); 24 May 2018 12:10:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=press, H*R:D*ca, H*r:ip*192.168.1.100, Hx-spam-relays-external:!192.168.1.100! X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 May 2018 12:10:09 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id Lp4HfCHSe5wO5Lp4IfcqEL; Thu, 24 May 2018 06:10:07 -0600 X-Authority-Analysis: v=2.3 cv=SJtsqtnH c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=aQeTUAlS1g7as4FIGU0A:9 a=QEXdDO2ut3YA:10 a=byGzv6s0_RwA:10 a=sRI3_1zDfAgwuvI8zelB:22 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: name of pkg contaning lsof and netstat To: cygwin@cygwin.com References: From: Brian Inglis Openpgp: preference=signencrypt Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= xsBNBFg15Q0BCADc1LTYJN/oVKOJoXpIo+5yy+sBv535qYNRh5CFqp3pPZwIy6oILNKprWph 8J+sXM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mICyls 8p9iM7yg+g1PbdoA99OrFc7JKllHRGDLQ0B/HKAPgNnLCenzDuV/d+N1RDbbpa0c/uvmoptR Aejlq3HszXYQ9wTmu8OwVSITSkzgP1lKzyDPZS9SGvlrQp8AEQEAAcLAZQQYAQIADwIbDAUC Wn5HFgUJBCmViQAKCRA2PXsAsYcakzi/B/9kps3abVY7dZuyFbHzZthm5RPEepFWjyONTtMj fyhfhKVel+NJP12DOEPTQPa+8jmL33BqxDeATqvAyieHEfCvuuOXulnrQ5LKNBLn1iU2JRZJ /v4ZoUID5lYg8vQASOfryjSao47+sJNy6KpRTXhKHK6oL1Lg+2muuDhw3atGRJWKUrt01r6+ mZol3ZyQbF6Defv2/Uxf7cC0R7t9FIYQZPqblOh5G0csLWTrUrVFS51W2ePmhZnv6PzUnWe0 qJH2CydPVI4xLwX/YzVm4ld1t4BePiW9VRM9hH3JBYVwt9YU+IIcH7jWh2D7Z34oj2lETzjs MenYTiZxRm/jRp44wsB8BBgBAgAmAhsMFiEETL+wnj0Vo38B8hAmNj17ALGHGpMFAlqL0acF CQ1EzRoACgkQNj17ALGHGpO4vwf+K/DRVdeVBbhz07xewxp8NwTJXbcwfh91kAKyz5laW51r vEhGjvwYItfEBEfAl04T0mT3798NA5Nl3iYpbS2ssJ9a8mfA0l84tuqx7t7J2+B2PZStOnLg M7/n6YDD+KWBmkQaDAzDKpv/aQWIortDrgE0qXxjaRFeW1qJd+rK8bZT82ITgY48DfJmBezg zN3WnNX+eQQjMaSd5p4TlYYRaP/x0KefprfMi6rQvn1AifEqxN23XQ5CJShEqXw3HS8MI7Mz LTCUlzfj2AltAEIBly6a0EEGoDMICYncntPt7DyHOcASY7Cv4uRI51cXMSN19NqvKE3UCxEt hVQ2WgRY0A== Message-ID: Date: Thu, 24 May 2018 13:51:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfOEnIblw97JRSpTOxhbgfL+vN81/VREwQNW6pDS3DxZq+6V7O9g9GDAj+mC/OHmN2R+muTv1HQhHKmAqTcMl5fG6ogDNgI6VxDUNRvRxFCCoKv4tK7G3 jrfJTrZmiWu2Q4jgWm3m2+ChElAO2AmZmZwdFL7RdLMyKSSUPLB9pOxLlANHXSkhyOMMeHp++N9MOg== X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00285.txt.bz2 On 2018-05-24 02:41, Csaba Raduly wrote: > On 5/23/18, FHDATA wrote: >> what package(s) do i need to install to get lsof and netstat ? > A search for lsof in the Cygwin package search: > https://cygwin.com/cgi-bin2/package-grep.cgi?grep=%5Cblsof%5Cb&arch=x86_64 > says that lsof is in the busybox package. > A search for netstat > https://cygwin.com/cgi-bin2/package-grep.cgi?grep=%5Cbnetstat%5Cb&arch=x86_64 > returns no hits. You are probably out of luck with netstat: > https://cygwin.com/ml/cygwin/2006-07/msg00936.html A version of netstat is included with Windows: $ /proc/cygdrive/c/Windows/System32/netstat -? Displays protocol statistics and current TCP/IP network connections. NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-x] [-t] [interval] -a Displays all connections and listening ports. -b Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions. -e Displays Ethernet statistics. This may be combined with the -s option. -f Displays Fully Qualified Domain Names (FQDN) for foreign addresses. -n Displays addresses and port numbers in numerical form. -o Displays the owning process ID associated with each connection. -p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6. -q Displays all connections, listening ports, and bound nonlistening TCP ports. Bound nonlistening ports may or may not be associated with an active connection. -r Displays the routing table. -s Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option may be used to specify a subset of the default. -t Displays the current connection offload state. -x Displays NetworkDirect connections, listeners, and shared endpoints. -y Displays the TCP connection template for all connections. Cannot be combined with the other options. interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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