<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/top, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-08-09T16:00:31Z</updated>
<entry>
<title>top: improve sort field storage/lookup</title>
<updated>2025-08-09T16:00:31Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2025-08-09T16:00:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f72125339b1d14d1b04329ac561354f5e8133fe'/>
<id>urn:sha1:5f72125339b1d14d1b04329ac561354f5e8133fe</id>
<content type='text'>
Switch up comparator mapping to avoid these kinds of errors, use a
simple array of (name, comparator) pairs rather than having to maintain
entries in two separate arrays that must have matching indices.

Reviewed by:	obiwac
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D37083
</content>
</entry>
<entry>
<title>top.1: Fix incorrect default value for -s option</title>
<updated>2025-07-24T20:06:21Z</updated>
<author>
<name>Artem Bunichev</name>
<email>tembun@bk.ru</email>
</author>
<published>2025-07-24T20:03:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6a41fd466701db71da443e1b87b31d463d99d056'/>
<id>urn:sha1:6a41fd466701db71da443e1b87b31d463d99d056</id>
<content type='text'>
The default delay between screen updates was incorrectly transfered
from roff(7) register that was used in previous version of man page.

Reviewed by:		ziaee
Fixes:			9d6cce02a78c (initial pass to freebsdize)
Differential Revision:	https://reviews.freebsd.org/D51503
</content>
</entry>
<entry>
<title>top.1: Document the THR column</title>
<updated>2025-07-15T19:25:31Z</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2025-07-15T19:24:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=602e423db1661a316c2e97d229e14cb20c57f835'/>
<id>urn:sha1:602e423db1661a316c2e97d229e14cb20c57f835</id>
<content type='text'>
MFC after:		3 days
Fixes:			32efd26355e2 (Add a THR column)
Reviewed by:		bcr
Differential Revision:	https://reviews.freebsd.org/D50754
</content>
</entry>
<entry>
<title>ps(1), top(1): Priority: Let 0 be the first timesharing level</title>
<updated>2025-06-18T02:09:39Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2024-09-09T19:35:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1d8f8f3e36fafdb50613d042f5fa75d8cbcf2b8f'/>
<id>urn:sha1:1d8f8f3e36fafdb50613d042f5fa75d8cbcf2b8f</id>
<content type='text'>
Change the origin from PZERO to PUSER.

Doing so allows users to immediately detect if some thread is running
under a high priority (kernel or realtime) or under a low one
(timesharing or idle).

MFC after:      1 month
Event:          Kitchener-Waterloo Hackathon 202506
Sponsored by:   The FreeBSD Foundation
</content>
</entry>
<entry>
<title>systat/top: Update ZFS sysctl names</title>
<updated>2025-05-25T18:23:54Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2025-05-25T18:23:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8aad1e6148d3389df100bb0391e2d3a909f26ecf'/>
<id>urn:sha1:8aad1e6148d3389df100bb0391e2d3a909f26ecf</id>
<content type='text'>
Some of ARC statistic sysctls changed years ago, but those tools
are still using legacy shims, that are going to be removed.

MFC after:	3 days
</content>
</entry>
<entry>
<title>top.1: Add HISTORY</title>
<updated>2025-04-19T19:39:37Z</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2025-04-19T19:39:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a9f5dcf82941e7e211490432b93bd124e7c0a57d'/>
<id>urn:sha1:a9f5dcf82941e7e211490432b93bd124e7c0a57d</id>
<content type='text'>
top was added in 511d9c656578 for FreeBSD 2.2.2.

MFC after:		3 days
Reviewed by:		carlavilla, imp, joerg
Approved by:		carlavilla (mentor)
Differential Revision:	https://reviews.freebsd.org/D49591
</content>
</entry>
<entry>
<title>top.1: top does not accept uids</title>
<updated>2025-04-19T16:50:17Z</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2025-04-19T16:50:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=92e9e13f061f9fc6411169768f5894f26fa80aaf'/>
<id>urn:sha1:92e9e13f061f9fc6411169768f5894f26fa80aaf</id>
<content type='text'>
MFC after:		3 days
Reviewed by:		carlavilla, imp
Approved by:		carlavilla (mentor)
Differential Revision:	https://reviews.freebsd.org/D49631
</content>
</entry>
<entry>
<title>top: Sync usage and synopsis</title>
<updated>2025-03-28T18:00:18Z</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2025-03-26T04:42:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=187d954eab94fdcb33609d91966dbd727acfd720'/>
<id>urn:sha1:187d954eab94fdcb33609d91966dbd727acfd720</id>
<content type='text'>
Switching between io and cpu sorting uses a great example in the usage.
[-m io | cpu]. Use that everywhere.

MFC after:		3 days
Reviewed by:		mhorne
Approved by:		mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D49515
</content>
</entry>
<entry>
<title>top: Polish key bindings in usage and manual</title>
<updated>2025-03-25T21:51:08Z</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2025-03-23T18:28:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a85254d5a33800600477ce57fbaab64591aa6ea'/>
<id>urn:sha1:0a85254d5a33800600477ce57fbaab64591aa6ea</id>
<content type='text'>
Organize key bindings by ascii(7) for consistency and maintainability,
mark them as Interactive Commands, wordsmith them, and sync their
organization between the manual and help screen.

MFC after:		3 days
PR:			282734
Fixes:			c8aa5e526 (move command mapping to commands.c)
Reviewed by:		imp, mhorne, Jim Brown &lt;jpb@jimby.name&gt;
Approved by:		mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D49462
</content>
</entry>
<entry>
<title>top: Make locale issues non-fatal.</title>
<updated>2025-03-06T13:59:23Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-03-06T13:43:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=180065eb09e699820a1e1c45d3d00156e0effe29'/>
<id>urn:sha1:180065eb09e699820a1e1c45d3d00156e0effe29</id>
<content type='text'>
If the `setlocale()` call fails, emit a warning and sleep briefly so the
user has a chance to see the warning before we redraw the screen.  Note
that we have no way of knowing exactly what is wrong, but at least we
can suggest that they check their environment.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D49230
</content>
</entry>
</feed>
