Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-85760

w: IDLE column is wrong (contains apparently random values)

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • procps-ng
    • None
    • No
    • None
    • rhel-plumbers
    • ssg_core_services
    • 24
    • 26
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      When using "w", the IDLE column contains random values for ssh sessions (maybe for other type of sessions too).

      ==========================================

      Steps to reproduce:

      [root@localhost ~]# rpm -q procps-ng
      procps-ng-4.0.4-5.el10.x86_64

       

      I'm the only active user (via ssh), I keep running "w" (I'm active, not idle) but IDLE is always 1 hour:

      {{[root@localhost ~]# w}}
      {{ 20:38:07 up  2:00,  2 users,  load average: 0.00, 0.00, 0.00}}
      {{USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT}}
      {{root               18:38    1:00m  0.00s  0.28s /usr/lib/systemd/systemd --user}}
      {{root               20:21    1:00m  0.00s  0.01s sshd-session: root [priv]}}
      {{[root@localhost ~]# w}}
      {{ 20:38:07 up  2:00,  2 users,  load average: 0.00, 0.00, 0.00}}
      {{USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT}}
      {{root               18:38    1:00m  0.00s  0.28s /usr/lib/systemd/systemd --user}}
      {{root               20:21    1:00m  0.00s  0.01s sshd-session: root [priv]}}
      {{[root@localhost ~]#}}

       

       

              jrybar@redhat.com Jan Rybar
              giulio.orsero@goldenpro.it Giulio Orsero (Inactive)
              Jan Rybar Jan Rybar
              RHEL CS Plumbers QE Bot RHEL CS Plumbers QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: