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)
Nov 22 2025, 6:37 PM
Unknown Object (File)
Nov 15 2025, 10:35 PM
Unknown Object (File)
Nov 7 2025, 9:34 PM
Unknown Object (File)
Nov 1 2025, 6:39 AM
Unknown Object (File)
Oct 22 2025, 10:55 PM
Unknown Object (File)
Oct 22 2025, 10:55 PM
Unknown Object (File)
Oct 22 2025, 2:12 PM
Unknown Object (File)
Oct 8 2025, 6:10 PM

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.