Page MenuHomeFreeBSD

procstat(1): Add EXAMPLES section
AcceptedPublic

Authored by fernape on Fri, Jun 26, 4:39 PM.

Details

Reviewers
allanjude
0mp
Group Reviewers
manpages
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
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 32008
Build 29544: arc lint + arc unit

Event Timeline

fernape created this revision.Fri, Jun 26, 4:39 PM
fernape requested review of this revision.Fri, Jun 26, 4:39 PM
fernape updated this revision to Diff 73697.Fri, Jun 26, 4:48 PM

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

0mp requested changes to this revision.Fri, Jun 26, 10:33 PM
0mp added a subscriber: 0mp.
0mp added inline comments.
usr.bin/procstat/procstat.1
724

.Fx should be on its own line.

This revision now requires changes to proceed.Fri, Jun 26, 10:33 PM
fernape updated this revision to Diff 73755.Sat, Jun 27, 11:36 AM

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

fernape marked an inline comment as done.Sat, Jun 27, 11:38 AM
fernape added inline comments.
usr.bin/procstat/procstat.1
724

.Fx should be on its own line.

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

0mp accepted this revision.Sat, Jun 27, 4:07 PM

LGTM!

Would you like to MFC this patch?

usr.bin/procstat/procstat.1
724

They are not perfect :D.

This revision is now accepted and ready to land.Sat, Jun 27, 4:07 PM
fernape marked an inline comment as done.Mon, Jun 29, 7:55 AM
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?