Re: Procps-ng 4.0.0 released with newlib

"Dr. Werner Fink" <[email protected]> Wed, 30 Mar 2022 10:37:03 +0200
Newsgroups gmane.linux.procps.devel
Message-ID <[email protected]>
On 2022/03/22 04:04:02 -0700, Craig Small wrote:
> The procps team is pleased to announce the release of procps-ng 4.0.0. This
> is a major change from previous versions because it uses the newlib branch.
> The newlib branch is a major re-work of the procps/proc-2 library API and
> has been an undertaking that started around 2015.
> 
> procps-ng v4.0.0 is probably not ready for the main path of most
> distributions; for example, it will be packaged for Debian experimental,
> not Debian Sid. We encourage people with all sorts of setups to test out
> this new version and provide feedback.
> 
> Source code packages can be found at
> GitLab Release: https://gitlab.com/procps-ng/procps/-/releases/v4.0.0
> Sourceforge tarball:
> https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-4.0.0.tar.xz/download
> 
> 
> Beyond the library API upgrade, the following merge requests and fixes we
> added to 4.0.0:
>   * Rename pwait to pidwait
>   * free: Add committed line option                        merge #25
>   * free: Fix -h --si combined options                     issue #133, #223
>   * free: Fix first column justification                   issue #229,
> #204, #206, Debian #1001689
>   * free: Better spacing for Chinese language              issue #213
>   * library: renamed to libproc-2 and reset to 0:0:0
>   * library: add support for accessing smaps_rollup        issue #112, #201
>   * library: add support for accessing autogroups
>   * library: add support for LIBPROC_HIDE_KERNEL env var   merge #147
>   * library: add support for cpu utilization to pids i/f
>   * pkill: Check for lt- variants of program name          issue #192
>   * pgrep: Add newline after regex error message           merge #91
>   * pgrep: Fix selection where uid/gid > 2^31              merge !146
>   * pgrep: Select on cgroup v2 paths                       issue #168
>   * ps: Add OOM and OOMADJ fields                          issue #198
>   * ps: Add IO Accounting fields                           issue #184
>   * ps: Add PSS and USS fields                             issue #112
>   * ps: Add two new autogroup fields
>   * ps: Ignore SIGURG                                      merge !142
>   * slabtop: Don't combine d and o options                 issue #160
>   * sysctl: Add support for systemd glob patterns          issue #191
>   * sysctl: Check resolved path to be under /proc/sys      issue #179
>   * sysctl: return non-zero if EINVAL return for write     merge #76
>   * sysctl.conf.5: Note max line length                    issue #77
>   * top: added LOGID similar to 3.3.13 ps LUID
>   * top: added EXE identical to 3.3.17 ps EXE
>   * top: exploit some library smaps_rollup provisions      issue #112
>   * top: added four new IO accounting fields               issue #184
>   * top: 'F' key is now a new forest view 'focus' toggle
>   * top: summary area memory lines can print two abreast
>   * top: added two new autogroup fields
>   * top: added long versions of command line options
>   * top: added cpu utilization & 2 time related fields
>   * top: the time related fields can now be user scaled
>   * uptime: print short/pretty format correctly            issue #217
>   * vmstat: add -y option to remove first line             merge !72

Hi,

somehow the ps tool seems not provide all known features anymore
at least elfutils-debuginfod test suite fails in our QA tests
with:

  [   93s] + ps -q 18200 -e -L -o '%p %c %a'
  [   93s] + grep groom
  [   93s] error: unknown user-defined format specifier "%p"

and if I use the example of the manual page I see

  noether:/ # ps -eo "%p %y %x %c"
  error: unknown user-defined format specifier "%p"

  Usage:
   ps [options]
 
   Try 'ps --help <simple|list|output|threads|misc|all>'
    or 'ps --help <s|l|o|t|m|a>'
   for additional help text.

  For more details see ps(1).

even if set personality

  noether:/ # env -i PS_PERSONALITY=aix ps -eo "%p %y %x %c"
  error: unknown user-defined format specifier "%p"

  Usage:
   ps [options]

   Try 'ps --help <simple|list|output|threads|misc|all>'
    or 'ps --help <s|l|o|t|m|a>'
   for additional help text.

  For more details see ps(1).


Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
signature.asc (application/pgp-signature, 894 B)
-----BEGIN PGP SIGNATURE-----

iQJgBAABCABKFiEEGwa/WjgpkPvLonW+UOkNVR3Bay4FAmJEFqcsFIAAAAAAFQAO
cGthLWFkZHJlc3NAZ251cGcub3Jnd2VybmVyQHN1c2UuZGUACgkQUOkNVR3Bay41
2RAA13iaUlrcOKo7Kz35W+X8V+6L5KZduLAsD9UyAAy+2nILrLDd/Bb7TdLAn/vE
SkAvXwV9bcj5kKrNPEYnvSBiqF47ZEZfPTb/GcwoVuX6NTxvL5+EmNdrbNHVMwEn
EgR1s07PI5LAj5lC95WncguvtATHQsgLr/HLyH0XSspsbHHXBK6c5/PILfldPXjZ
w8p8jl0ZfhpGumGpmpWKOZIVgNZyLMrfJehRW1b/fjR1k8XzM1x2ZJ3fg0N4pp+F
Kv724wK832wAWXvO/h+VfidhoDTgfqSN0ar2no/ZVzfYj3Z60uP1faCRIxyo7gs9
wQV/nLDALX04MEUis9wAvl31FOJXtTwan6btjdIenvRNTW6j2kdmJYbaK1bJDMSg
B4kSO0KufaHJgz6fR2e0DQhxMdmTd8j0MFOs9O59E2jteo+q8bW5TdJMQvDEkoBD
qSq+Z+xOFINLMGUvqzAS853w8W/2WW5MeXOCZMjDQ6r3GJnyAquX4/Vnel5dgcKe
vG4QJ79kLUhvdJhpcUiKiHw8Pe16OsaLcRB6ApzmMY6aGEc+HItTDSd2YuPonxLJ
//YRE0JKIVXYJPneKg50FYoJH4ZlDM3mUP/6xFGkHaMY1tBIoVASyAfe8mI7ALMD
H5TujidR5VNOoua8A1wIlp3yuX+H90wO+O7l2CtDCSBIse4=
=ClmA
-----END PGP SIGNATURE-----