Bug 226358

Summary: Add a 'jail' keyword to ps(1)
Product: Base System Reporter: John Baldwin <jhb>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: cem, emaste, karels
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description John Baldwin freebsd_committer freebsd_triage 2018-03-05 01:10:29 UTC
We should add a 'jail' keyword to ps(1) that is similar to the existing 'kid' keyword but displays the jail name instead of the jail ID.  Might have to add the jail name field to 'struct kinfo_proc' if there isn't an existing way to map jail IDs to jail names in userland.
Comment 1 Conrad Meyer freebsd_committer freebsd_triage 2018-03-05 01:49:38 UTC
1980 ps(1) did not do that and has not done that for 40 years, so we can't change it because of historical precedent.

(Additionally, there's no room for more columns at width 80, which is of course the only size a terminal can be.  So I'm afraid this is impossible.)