Skip to content

w, top: fix nusers and loadavg#616

Merged
Krysztal112233 merged 1 commit intouutils:mainfrom
Bluemangoo:fix/top-w-nu-la
Feb 4, 2026
Merged

w, top: fix nusers and loadavg#616
Krysztal112233 merged 1 commit intouutils:mainfrom
Bluemangoo:fix/top-w-nu-la

Conversation

@Bluemangoo
Copy link
Collaborator

@Bluemangoo Bluemangoo commented Feb 4, 2026

Because of the locale work on uucore, nusers and loadavg functions are broken.

$ cargo run w -q
 13:44:10 up 24 min,  uptime-user-count,  uptime-lib-format-loadavg
USER     TTY       LOGIN@   IDLE   JCPU   PCPU  WHAT
bluemang           13:19    0.00s  0.00   0     
bluemang tty1      13:19    24:30  0.06   0.06  /usr/bin/startplasma-wayland
bluemang pts/0     13:20    24:10  2109.931.63  /usr/bin/kded5
bluemang pts/1     13:32    1.92s  0.37   0.21  /usr/bin/zsh

So I restored the formatting functions for procps.

Copy link
Collaborator

@Krysztal112233 Krysztal112233 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I also noticed that we bumped uucore version to 0.6 month ago, I will take some time to adopt i18n later.

@Krysztal112233 Krysztal112233 merged commit 99bc777 into uutils:main Feb 4, 2026
16 checks passed
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (b7cd8e5) to head (7b77e2f).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #616   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Bluemangoo Bluemangoo deleted the fix/top-w-nu-la branch February 4, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants