public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] Updated: procps-ng 3.3.17-1
@ 2021-02-20 20:16 Achim Gratz
  2021-09-25 17:05 ` Cygwin 32 procps-ng procps values incorrect Brian Inglis
  0 siblings, 1 reply; 2+ messages in thread
From: Achim Gratz @ 2021-02-20 20:16 UTC (permalink / raw)
  To: cygwin


The package procps-ng has been updated to its latest upstream version.

This package provides command line and full screen
utilities for browsing procfs, a pseudo file system dynamically
generated by the kernel to provide information about the status of
entries in its process table (such as whether the process is 
running, stopped, or a zombie).

It contains free, prockill, pkill, pgrep, pmap, procps, tload, top,
uptime, vmstat, w, and watch

-- 
              *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Cygwin 32 procps-ng procps values incorrect
  2021-02-20 20:16 [ANNOUNCEMENT] Updated: procps-ng 3.3.17-1 Achim Gratz
@ 2021-09-25 17:05 ` Brian Inglis
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Inglis @ 2021-09-25 17:05 UTC (permalink / raw)
  To: cygwin

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

Hi Achim,

Running builds and bumping them in priority looks okay on current 
procps-ng procps under current Cygwin 64, sanitized as in attached which 
was limited to COLUMNS=120, also spaces squished and output truncated 
for examples below:

F S UID     PID  PPID C PRI  NI ADDR SZ WCHAN STIME TTY      TIME CMD
0 S $USER 11102 11101 0  80   0 -   137 -     Sep19 pty0 00:00:33 -bash
0 S $USER  5891 11102 0  80   0 -   123 -     08:23 pty0 00:00:00  /_
...
0 S $USER 13448 12388 0  72  -8 -    92 -     08:37 pty0 00:00:24  |
0 S $USER 53596 13448 5  72  -8 -    91 -     10:14 pty0 00:00:00  |
...

but current procps-ng procps under current Cygwin 32 with the equivalent 
process priority bumps gives apparently incorrect %Cpu, PRIority, NIce, 
and STIME values:

F S UID     PID  PPID C PRI  NI ADDR SZ WCHAN STIME TTY      TIME CMD
0 S $USER  1975  1974 0 2278  0 -   103 -     Sep14 pty0 00:00:01 -bash
0 S $USER  5266  1975 0 778   0 -   105 -     Sep14 pty0 00:00:00  /_
...
0 S $USER 12724 11665 0 23622 0 -    81 -     Sep14 pty0 00:00:03  |
0 S $USER 40148 12724 0  60   0 -    75 -     Sep14 pty0 00:00:00  |
...

as the sessions are running identical workloads, and the latter was 
started at earliest yesterday, the builds today.
I have never managed to catch %Cpu != 0 even though I see that 
frequently during builds under Cygwin 64.

Also procps -l without -f does not right align PID and PPID columns 
correctly on either arch, or I would have used that instead.

Could you please have a look at this if you get some free time.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

[-- Attachment #2: procps-ng-32.log --]
[-- Type: text/plain, Size: 1672 bytes --]

F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
0 S $USER     1975  1974  0 2278  0 -   103 -      Sep14 pty0     00:00:01 -bash
0 S $USER     5266  1975  0 778   0 -   105 -      Sep14 pty0     00:00:00  /_ /bin/bash /usr/bin/cygport bison.cygport 
0 S $USER    11494  5266  0 185   0 -    67 -      Sep14 pty0     00:00:00  |   /_ tee -a $HOME/src/cygwin/bison/bis
0 S $USER    11493  5266  0 106   0 -   101 -      Sep14 pty0     00:00:00  |   /_ /bin/bash /usr/bin/cygport bison.cygp
0 S $USER    11602 11493  0 794   0 -   150 -      Sep14 pty0     00:00:00  |       /_ make -k check
0 S $USER    11613 11602  0 606   0 -   147 -      Sep14 pty0     00:00:00  |           /_ make check-recursive
0 S $USER    11623 11613  0  91   0 -    66 -      Sep14 pty0     00:00:00  |               /_ /bin/sh -c fail=; / if (t
0 S $USER    11631 11623  0 1528  0 -   179 -      Sep14 pty0     00:00:00  |                   /_ make check-am
0 S $USER    11665 11631  0 1200  0 -   172 -      Sep14 pty0     00:00:00  |                       /_ make check-TESTS 
0 S $USER    12724 11665  0 23622 0 -    81 -      Sep14 pty0     00:00:03  |                           /_ /bin/sh /...
0 S $USER    40148 12724  0  60   0 -    75 -      Sep14 pty0     00:00:00  |                               /_ /bin/sh /
0 S $USER    40150 40148  0  91   0 -    66 -      Sep14 pty0     00:00:00  |                               |   /_ cat
0 S $USER    40147 12724  0 341   0 -    75 -      Sep14 pty0     00:00:00  |                               /_ /bin/sh /
0 R $USER    40200  1975  0 200   0 -   101 -      Sep14 pty0     00:00:00  /_ /bin/procps -fl --forest

[-- Attachment #3: procps-ng-64.log --]
[-- Type: text/plain, Size: 1771 bytes --]

F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
0 S $USER    11102 11101  0  80   0 -   137 -      Sep19 pty0     00:00:33 -bash
0 S $USER     5891 11102  0  80   0 -   123 -      08:23 pty0     00:00:00  /_ /bin/bash /usr/bin/cygport bison.cygport 
0 S $USER    12216  5891  0  80   0 -   120 -      08:35 pty0     00:00:00  |   /_ /bin/bash /usr/bin/cygport bison.cygp
0 S $USER    12325 12216  0  80   0 -   167 -      08:36 pty0     00:00:00  |   |   /_ make -k check
0 S $USER    12336 12325  0  80   0 -   163 -      08:36 pty0     00:00:00  |   |       /_ make check-recursive
0 S $USER    12346 12336  0  80   0 -    77 -      08:36 pty0     00:00:00  |   |           /_ /bin/sh -c fail=; / if (t
0 S $USER    12354 12346  0  80   0 -   204 -      08:36 pty0     00:00:01  |   |               /_ make check-am
0 S $USER    12388 12354  0  80   0 -   192 -      08:36 pty0     00:00:01  |   |                   /_ make check-TESTS 
0 S $USER    13448 12388  0  72  -8 -    92 -      08:37 pty0     00:00:24  |   |                       /_ /bin/sh /...
0 S $USER    53596 13448  5  72  -8 -    91 -      10:14 pty0     00:00:00  |   |                           /_ /bin/sh /
0 Z $USER    53771 53596  0  72  -8 -     0 -      10:15 pty0     00:00:00  |   |                           |   /_ [sed]
0 S $USER    53597 13448  0  72  -8 -    91 -      10:14 pty0     00:00:00  |   |                           /_ /bin/sh /
0 S $USER    53599 53597  0  72  -8 -    80 -      10:14 pty0     00:00:00  |   |                               /_ cat
0 S $USER    12217  5891  0  80   0 -    79 -      08:35 pty0     00:00:00  |   /_ tee -a /...
0 R $USER    53768 11102  0  80   0 -   100 -      10:15 pty0     00:00:01  /_ /bin/procps -fl --forest

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-25 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 20:16 [ANNOUNCEMENT] Updated: procps-ng 3.3.17-1 Achim Gratz
2021-09-25 17:05 ` Cygwin 32 procps-ng procps values incorrect Brian Inglis

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