public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: Wayne Porter <wporter82@gmail.com>
Cc: cygwin-apps@cygwin.com
Subject: bug in procps-ng
Date: Tue, 12 Mar 2019 17:03:00 -0000	[thread overview]
Message-ID: <20190312170311.GL3785@calimero.vinschen.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

Hi Wayne,

I hope you're still with us.

There appears to be a bug in procps-ng:

$ procps -e
  PID TTY          TIME CMD
 1507 ?        00:00:00 tcsh
 1529 ?        00:00:00 cygrunsrv
 1506 ?        00:00:00 mintty
 1531 ?        00:00:00 bash
 1551 pty0     00:00:00 procps
 1488 pty0     00:00:00 sh
 1487 ?        00:00:01 mintty
 1530 ?        00:00:00 xterm

As you can see, the tty info seems to be broken.  In theory
procps-ng should fetch the tty info from /proc/<PID>/stat.
As far as I can see, the tty info in this file is correct
for other processes.  But procps only shows info for its
own tty for some reason.

Any idea why?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2019-03-12 17:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 17:03 Corinna Vinschen [this message]
2019-03-13  4:55 ` Brian Inglis
2019-03-13 10:28   ` Corinna Vinschen
2019-03-13 18:14     ` Achim Gratz
2019-03-14 20:25       ` Achim Gratz
2019-03-15 11:52         ` Corinna Vinschen
2019-03-15 16:05           ` Achim Gratz
2019-03-15 20:42             ` Corinna Vinschen

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=20190312170311.GL3785@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-apps@cygwin.com \
    --cc=wporter82@gmail.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).