Page MenuHomeFreeBSD

procstat(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Jun 26 2020, 4:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 2:34 PM
Unknown Object (File)
Sat, Oct 26, 5:29 PM
Unknown Object (File)
Oct 5 2024, 12:32 PM
Unknown Object (File)
Oct 5 2024, 12:32 PM
Unknown Object (File)
Oct 5 2024, 12:32 PM
Unknown Object (File)
Oct 5 2024, 12:32 PM
Unknown Object (File)
Oct 5 2024, 12:32 PM
Unknown Object (File)
Oct 5 2024, 12:12 PM

Details

Summary
  • Add some examples showing binary, arguments and file info from living processes.
  • Show information from core dumps including an attempt using an old core file.
  • While here, fix warning no blank before trailing delimiter reported by igor.
Test Plan
  • mandoc -Tlint clean
  • igor clean (except for a false positive with repeated - characters.
  • aspell happy
  • man ./procstat.1 renders the page properly

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

s/./:/ in the description of the first example.

0mp requested changes to this revision.Jun 26 2020, 10:33 PM
0mp added a subscriber: 0mp.
0mp added inline comments.
usr.bin/procstat/procstat.1
724 ↗(On Diff #73697)

.Fx should be on its own line.

This revision now requires changes to proceed.Jun 26 2020, 10:33 PM

Move .Fx to its own line. Spotted by 0mp

fernape added inline comments.
usr.bin/procstat/procstat.1
724 ↗(On Diff #73697)

.Fx should be on its own line.

Sorry! neither mandoc nor igor said a thing :-)

LGTM!

Would you like to MFC this patch?

usr.bin/procstat/procstat.1
724 ↗(On Diff #73697)

They are not perfect :D.

This revision is now accepted and ready to land.Jun 27 2020, 4:07 PM
In D25467#562918, @0mp wrote:

LGTM!

Would you like to MFC this patch?

OK,

I haven't merged things in base, only in ports which is a breeze with the mfh script :)
I see the procedure is documented

Target branches would be stable/11 and stable/12?

This revision was automatically updated to reflect the committed changes.

Thanks for reviewing this!

I suppose now that 12.2 is almost out it doesn't make sense to MFH. Sorry for that, I forgot about this review.