8000 base: ps, w, uptime, top, pgrep, killall, pstree and which in every box (procps-ng, psmisc, which) (#1841) by bryan-minimal · Pull Request #1850 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

base: ps, w, uptime, top, pgrep, killall, pstree and which in every box (procps-ng, psmisc, which) (#1841) - #1850

Open
bryan-minimal wants to merge 1 commit into
mainfrom
base-box-tools
Open

bryan-minimal wants to merge 1 commit into
mainfrom
base-box-tools

Conversation

@bryan-minimal
Copy link
Copy Markdown
Member

Closes #1841.

A fresh box has no ps, w, uptime, top, free, pgrep, killall, pstree or which, and min add ps can't help, because no package is named ps. This puts them in every box, the way #804 added tzdata and #1661 added os-release.

Changes

  • base: procps-ng, psmisc and which join runtime_deps. Between them they provide ps, w, uptime, top, free, vmstat, pgrep/pkill/pidof, watch, pmap, sysctl, killall, pstree, fuser and which. kill is bash's builtin.
  • procps-ng, psmisc, which: build on base-bootstrap instead of base. They used base, which now carries them, so that would be a cycle. ncurses and pkgconf already do the same, and none of their other deps (ncurses, pkgconf, make, toolchain, glibc) reaches base.
  • Tests that exercise the tools as a box sees them, beyond --version:
    • procps-ng/box_tools: ps -p $$ names bash; ps aux; uptime and w print a load average; free prints Mem:; pgrep -x sleep finds a background sleep; top -b -n1.
    • psmisc/box_tools: pstree -p $$ shows the calling bash; killall -l lists TERM.
    • which keeps its existing test (which sh resolves).

Costs

Verified so far

Not fixed here (minimal's side, tracked in #1841)

🤖 Generated with Claude Code

…ery box (#1841)

procps-ng, psmisc and which join base's runtime_deps and build on
base-bootstrap (as ncurses and pkgconf do) to avoid a cycle. procps-ng and
psmisc gain tests that run the tools against /proc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bryan-minimal
bryan-minimal requested a review from a team as a code owner December 4, 2026 03:45
@coderabbitai
coderabbitai Bot commented Dec 4, 2026
Copy link
Copy Markdown
Contributor

Warning

Review limit reached

  • Run on-demand review

This review includes 4 billable files and costs up to $1.00.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 13 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 61 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 5e2a1b3 and d3e91fa.

Files selected for processing: 4

  • packages/base/build.ncl
  • packages/procps-ng/build.ncl
  • packages/psmisc/build.ncl
  • packages/which/build.ncl
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Ship ps, w, uptime, top, pgrep, killall and which in every box (procps-ng, psmisc, which in base)

1 participant

0