Page MenuHomeFreeBSD

Make procstat(1) recognize process descriptors
ClosedPublic

Authored by trasz on Sep 20 2017, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 21, 7:45 AM
Unknown Object (File)
Sat, Jul 18, 6:17 AM
Unknown Object (File)
Sun, Jul 5, 7:02 AM
Unknown Object (File)
Sat, Jul 4, 10:28 AM
Unknown Object (File)
Jun 21 2026, 4:24 AM
Unknown Object (File)
Jun 19 2026, 1:26 AM
Unknown Object (File)
Jun 16 2026, 2:13 AM
Unknown Object (File)
May 26 2026, 10:11 AM
Subscribers

Details

Summary

Make procstat(1) recognize process descriptors, so it shows "P" instead of "?" in "procstat -af" output. Note that there are a few more DTYPE_* kinds we don't decode yet.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11643
Build 11989: arc lint + arc unit

Event Timeline

trasz added a reviewer: rwatson.

Seems good to me, although I notice that other object types (e.g., sockets, ..) don't have xrefs from the object-type list. Probably they should, but maybe as a separate commit?

This revision is now accepted and ready to land.Sep 21 2017, 6:19 AM
This revision was automatically updated to reflect the committed changes.