ps
Query, list and manipulate system processes from R across platforms
ps grew from a process inspector into the thing that reliably kills what you started.
◆Recent moves
- 3mo ago
Sub-second process create times on Linux
Replaces /proc/stat boot time with CLOCK_REALTIME minus CLOCK_MONOTONIC to compute Linux process create times, giving sub-second precision where integer-second boot time previously allowed up to a full second of error. Handle validation accepts both the new and legacy values so existing processx handles keep working. This is the identity guarantee that stops a signal landing on a recycled PID.
View source ↗ - 4mo ago
ps_string() for unique process identification
Adds ps_string() to uniquely identify a process, a small addition that fits the same identity concern the create-time work addresses. Contributed from outside the maintainer team.
View source ↗ - 1y ago
Build correctly on Alpine Linux
A build fix so the package compiles on Alpine Linux 3.19 under R 4.5.0. Platform upkeep with no behavioural change.
View source ↗ - 1y ago
maxrss reporting and selectable columns in ps()
Adds maxrss to ps_memory_full_info() and a columns argument to ps() so callers can choose what data is collected. The columns argument matters for cost — a full process table is expensive to assemble on every poll.
View source ↗ - 1y ago
Installable again on unsupported platforms
Restores the ability to install ps on unsupported platforms, where it presumably degrades rather than failing to build. Packaging fix only.
View source ↗ - 1y ago
Multi-process waiting, vectorised signals and graceful kill
⚡ SPARKThe release that turns ps from a query library into a process-control library: interruptible multi-process waits, vectorised signalling over handle lists, and graceful termination with a grace period. Everything since has been about making those operations safe to trust.
View source ↗