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)
Fri, Oct 10, 5:48 AM
Unknown Object (File)
Thu, Oct 9, 2:19 AM
Unknown Object (File)
Wed, Oct 1, 2:11 AM
Unknown Object (File)
Tue, Sep 30, 6:43 AM
Unknown Object (File)
Sep 13 2025, 2:08 AM
Unknown Object (File)
Sep 11 2025, 3:08 PM
Unknown Object (File)
Aug 23 2025, 11:27 PM
Unknown Object (File)
Aug 16 2025, 7:26 PM
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 Not Applicable
Unit
Tests Not Applicable

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.