Your message dated Sat, 18 Feb 2023 00:07:40 +0000
with message-id <[email protected]>
and subject line Bug#1027963: fixed in procps 2:4.0.3-1
has caused the Debian Bug report #1027963,
regarding vmstat: does not update memory columns
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1027963: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027963
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 2:4.0.2-3
Severity: normal
Tags: patch

Dear Maintainer,

running vmstat to produce a continuous output (eg. "vmstat 3") does not
update the values in the memory columns any more. The "main loop" just
does not fetch those values.

The attached patch fixes the output by fetching the memory stats on the
main loop, too.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-spatz20221212 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages procps depends on:
ii  init-system-helpers  1.65.2
ii  libc6                2.36-7
ii  libncursesw6         6.4-1
ii  libproc2-0           2:4.0.2-3.~0ingo1
ii  libtinfo6            6.4-1

Versions of packages procps recommends:
ii  psmisc  23.6-1

procps suggests no packages.

-- Configuration Files:
/etc/sysctl.conf changed [not included]

-- no debconf information
Description: vmstat: refresh memory display
 Update the memory columns on repeated outputs
Author: Ingo Saitz <[email protected]>
Bug: $this_one
Last-Update: 2023-01-05
Index: procps-4.0.2/src/vmstat.c
===================================================================
--- procps-4.0.2.orig/src/vmstat.c
+++ procps-4.0.2/src/vmstat.c
@@ -468,6 +468,9 @@ static void new_format(void)
         pswpin[tog] = VMSTAT_GET(vm_info, VMSTAT_PSWPIN, ul_int);
         pswpout[tog] = VMSTAT_GET(vm_info, VMSTAT_PSWPOUT, ul_int);
 
+        if (!(mem_stack = procps_meminfo_select(mem_info, Mem_items, MAX_mem)))
+                xerrx(EXIT_FAILURE, _("Unable to select memory information"));
+
         if (t_option) {
             (void) time( &the_time );
             tm_ptr = localtime( &the_time );

--- End Message ---
--- Begin Message ---
Source: procps
Source-Version: 2:4.0.3-1
Done: Craig Small <[email protected]>

We believe that the bug you reported is fixed in the latest version of
procps, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Craig Small <[email protected]> (supplier of updated procps package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 18 Feb 2023 10:17:15 +1100
Source: procps
Architecture: source
Version: 2:4.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Craig Small <[email protected]>
Changed-By: Craig Small <[email protected]>
Closes: 668580 1025915 1026326 1027963 1031343
Changes:
 procps (2:4.0.3-1) unstable; urgency=medium
 .
   * New upstream release
     - docs: Translated manpages installed
     - pgrep: make --terminal respect other criteria
     - ps: c flag shows command name again Closes: #1026326
     - skill: Match on -p again Closes: #1025915
     - vmstat: Referesh memory statistics Closes: #1027963
     - vmstat: Fix initial si,so,bi,bo,in & cs values Closes: #668580
   * Update standards version
   * Improve cross-building Closes: #1031343
Checksums-Sha1:
 edbf9b8f1a31f5af7a98c5117516795231519adc 2108 procps_4.0.3-1.dsc
 3d22fa8b89fcfff3c4d8fc944b491ec185b06616 1294992 procps_4.0.3.orig.tar.xz
 100b51903483d187e811c7d5e3165f4ba93d5d3b 27640 procps_4.0.3-1.debian.tar.xz
 cdad9e2da54abb495ef4e33142b00a1183e410c6 7570 procps_4.0.3-1_amd64.buildinfo
Checksums-Sha256:
 e11ee01ff5514b6c20c5e32dd2922a2db2331ed40867084b2d0bcd696c83bfcb 2108 
procps_4.0.3-1.dsc
 303c8ec4f96ae18d8eaef86c2bd0986938764a45dc505fe0a0af868c674dba92 1294992 
procps_4.0.3.orig.tar.xz
 df8de87ce4c76062f9ff9724599ca57abeb1bb26604a44e9e1de8ae641b10675 27640 
procps_4.0.3-1.debian.tar.xz
 13caf09ecfbc9538f08e6d24890df44d75b101e188dc35165498701e5fdfc908 7570 
procps_4.0.3-1_amd64.buildinfo
Files:
 e403b2df68e16d3d1bb88a138a6a8351 2108 admin optional procps_4.0.3-1.dsc
 22b287bcd758831cbaf3356cd3054fe7 1294992 admin optional 
procps_4.0.3.orig.tar.xz
 fde3000161850b35963a3717b166e5d3 27640 admin optional 
procps_4.0.3-1.debian.tar.xz
 44f1e8b8ef4a1d54b2cf4edc94d06a2f 7570 admin optional 
procps_4.0.3-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAmPwEdoACgkQAiFmwP88
hOPkGw//dUlCSaiffKWR+krO6PCSE6EiShG9jhGWQJrI232/ofMWh0EECzKwlUsZ
bVQyKOfOHzl/YTNMSjvzku1gsQSB6oaiyqzh7VqqSwXn/h6RZOFtZWLygljcUaIf
uw27U4/MZkAL/UxK97D0LcGZcIk/sLnRt1+YqyRNbnCYSiAyiWJn8mvlvB2GUrx/
VgdcSr8EaTu66aOoNDdmOnvylwFV1LrUMmGymIOH7cH83Xuv9kk0OnmRKQDrRbQf
C2Cr0llNZbRC5gwWwssRFHX4LjlXNvcRo8ECdhleyaejQYojT1HjlcNS8mM89HYT
q2yHOSH3et2vojFM0zLz/bZwVYm0Kns3RPlWCbFHa1dT0CvgnB9qj/PKkreniJmG
Rio5kuqInOVqfkhx7Fc9Yl9roZNFCKlvcm8no272+78AFIjGf9GdeF2Oq1t4A6PY
LnX10xGf1Ao0wpVSb3JDMj8bDoIMlNFQQ3exPBXXwpN4w0Zn0cK0pVpuSeoEsvnP
CgFfVjIE9UN8VT4dgCkgRnGHMjrehBBhx0w4KDtR7HIllsScDP3Ul4uBYyj8DUv4
nzzV3j77jO6LNLCI07HWW6nc4RC1g4APAQCt4m57c/IN6+H4kS9Qo6/+qiEyabn2
UrU1BxImQdj+Q+fDVm0v0czVhcCzyLCTSYlUa/MHZpkbhvYVrNc=
=pbab
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to