Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

w: shows more users than w from procps-ng #183

Open
cakebaker opened this issue Aug 16, 2024 · 0 comments
Open

w: shows more users than w from procps-ng #183

cakebaker opened this issue Aug 16, 2024 · 0 comments
Labels
bug Something isn't working w

Comments

@cakebaker
Copy link
Contributor

Our implementation of w shows more users than w from procps-ng:

$ cargo run -q w
USER     TTY      LOGIN@   IDLE   JCPU   PCPU WHAT
dho      tty1     07:29    TODO   0.08   0.08 /usr/bin/startplasma-wayland
dho      pts/0    07:29    TODO   5127.583.13 /usr/bin/kded6
dho      pts/1    07:29    TODO   87.50  0.01 /bin/bash
dho      pts/2    07:32    TODO   1.95   0.05 /bin/bash
dho      pts/3    07:32    TODO   0.36   0.24 /bin/bash
dho      pts/4    07:32    TODO   0.19   0.04 /bin/bash
dho      pts/5    07:32    TODO   0.06   0.06 /bin/bash

$ w
 16:31:58 up  9:03,  2 users,  load average: 0.26, 0.24, 0.20
USER     TTY       LOGIN@   IDLE   JCPU   PCPU  WHAT
dho      tty1      07:29    9:03m  0.08s  0.08s /usr/bin/startplasma-wayland
dho                07:29    8:59m  0.00s  0.95s /usr/lib/systemd/systemd --user
@cakebaker cakebaker added bug Something isn't working w labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working w
Projects
None yet
Development

No branches or pull requests

1 participant