Page MenuHomeFreeBSD

'not function' for user display for top(1)
Needs ReviewPublic

Authored by nvass-gmx.com on Nov 25 2022, 12:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 8, 6:10 PM
Unknown Object (File)
Tue, Sep 30, 9:38 PM
Unknown Object (File)
Sep 13 2025, 4:33 AM
Unknown Object (File)
Sep 13 2025, 12:39 AM
Unknown Object (File)
Aug 11 2025, 11:15 AM
Unknown Object (File)
Aug 2 2025, 2:40 PM
Unknown Object (File)
Jul 2 2025, 12:45 AM
Unknown Object (File)
Jun 27 2025, 7:45 AM

Details

Reviewers
imp
Summary

When using the -U "username" it's sometimes useful to be able to exclude the username from the processes' list. This is done by using -x.

The same is true for the interactive command "u" and this done by using the interactive command "x".

Test Plan

top -U root -x
or in interactive mode:

  1. u root
  2. x

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

nvass-gmx.com created this revision.
nvass-gmx.com set the repository for this revision to rG FreeBSD src repository.

Neat feature! Tested and it appears to function correctly. I just noticed a simple grammar error in man page update.

usr.bin/top/top.1
337

belonging

Neat feature! Tested and it appears to function correctly. I just noticed a simple grammar error in man page update.

Thanks John,

Would you know whether I should add a reviewer like src-ommiters maybe?
Or just wait?

@imp reviewed my code when I added a feature to top awhile back, let's see if he has time.