public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "George M. Florendo" <georgeflorendo@gmail.com>
To: cygwin@cygwin.com
Subject: ps shows same process more than once
Date: Thu, 28 Nov 2013 07:20:00 -0000	[thread overview]
Message-ID: <CAGaO6c9rxafNajvdzQhngOjTQn+fjjAp9NRLTpYbbgcKHe8R5A@mail.gmail.com> (raw)

Hi,

I run a non cygwin apache process named httpd.exe.  Checking it with
"ps -W" shows a listing of the same process (with PID 4560 in this
case) twice.

$ ps -W | grep httpd
     4560    1604    4560       5304  pty0    1000 09:55:21
/home/georgeflorendo/wamp/bin/apache/Apache2.4.4/bin/httpd
     4560    1604    4560       5304  pty0    1000 09:55:21
/home/georgeflorendo/wamp/bin/apache/Apache2.4.4/bin/httpd
     7508       0       0       7508  ?          0 15:09:50
C:\cygwin\home\georgeflorendo\wamp\bin\apache\Apache2.4.4\bin\httpd.exe

Doing a "ps aux" shows it only once.

$ ps aux
      PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
     1340    7856    1340       5720  pty5    1000 15:13:50 /usr/bin/ps
     1604    4008    1604       2292  pty0    1000 09:17:01 /usr/bin/bash
     4008       1    4008       4008  ?       1000 09:17:00 /usr/bin/mintty
     4560    1604    4560       5304  pty0    1000 09:55:21
/home/georgeflorendo/wamp/bin/apache/Apache2.4.4/bin/httpd

<snipped>

Is it correct that ps -W shows the same process twice?

Thanks!

George

-- 
George M. Florendo
Programmer
http://www.facebook.com/i.am.georgeflorendo

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

             reply	other threads:[~2013-11-28  7:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28  7:20 George M. Florendo [this message]
2013-11-28 13:08 ` Corinna Vinschen
2013-11-28 15:55   ` Christopher Faylor
2013-11-28 16:02     ` Christopher Faylor
2013-12-02  5:47       ` George M. Florendo
2013-12-02 15:25         ` Christopher Faylor
2013-12-28  6:21           ` Christopher Faylor
     [not found]             ` <CAGaO6c-qqExmA5K5z-q52i1UERE2PF9L7mTayfsjsZ6xFYwe=g@mail.gmail.com>
2014-02-15  6:11               ` George M. Florendo
2014-02-16 17:21                 ` Christopher Faylor
2014-03-10  9:40                   ` George M. Florendo
2013-12-02  5:37   ` George M. Florendo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGaO6c9rxafNajvdzQhngOjTQn+fjjAp9NRLTpYbbgcKHe8R5A@mail.gmail.com \
    --to=georgeflorendo@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).