Add an argument, -1, to the J flag.
To get a listing of all jailed processes: ps -J -1
Differential D32979
ps(1): let J flag list all jailed processes rew on Nov 12 2021, 11:54 PM. Authored by Tags None Referenced Files
Subscribers
Details
Add an argument, -1, to the J flag. To get a listing of all jailed processes: ps -J -1
Diff Detail
Event TimelineComment Actions Are there other places where -(j|J) -1 is used to list all jails, instead of simply doing -(j|J)? I don't recall any off hand, and I would think it makes more sense to not require -1 to list all of them if it can be done without.
Comment Actions Not that I'm aware of either, top (next on my list) uses -J 0 (for host processes) and -J $jid (for specified jail)
-J requires an argument, it would have to be a different flag. I'd prefer to stick with -J -1 Comment Actions Minus Dd bump, manual page LGTM. Can't speak for source code or consistency.
|