#
645f8bcb |
| 18-Nov-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
ps.1: remove stray tab which breaks columns alignment
Sponsored by: The FreeBSD Foundation MFC after: 3 days
|
#
62e6ca0f |
| 09-Nov-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
ps(1): clean up after swapout removal
The process flag P_INMEM is always set. Eliminate all checks for the bit. Also eliminate LAZY_PS define and code covered by it: we do not have an u-area for
ps(1): clean up after swapout removal
The process flag P_INMEM is always set. Eliminate all checks for the bit. Also eliminate LAZY_PS define and code covered by it: we do not have an u-area for long time, and it cannot be swapped out.
Also eliminate setting controlled by the '-f' switch, but accept it for backward compatibility.
The 'W' process secondary state (swapped out) is impossible, stop calculating it.
Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D47492
show more ...
|
#
4c367bc9 |
| 09-Nov-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
ps.1: document rest of flag2 bits
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47492
|
#
cd9e781e |
| 09-Nov-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
ps.1: visually align process flags hex values by filling leading zeroes
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D
ps.1: visually align process flags hex values by filling leading zeroes
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47492
show more ...
|
Revision tags: release/13.4.0, release/14.1.0 |
|
#
1a720cbe |
| 15-May-2024 |
Alexander Ziaee <concussious@runbox.com> |
man filesystems: fix xrefs after move to section 4
Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
|
Revision tags: release/13.3.0 |
|
#
90aea514 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
#
ba44650a |
| 11-Nov-2023 |
Benedict Reuschling <bcr@FreeBSD.org> |
ps.1: update regarding -D option and -p x/d interaction
The -p option does not imply -x, it is merely a different mode that ps uses. Remove that statement from the -p option, effectively rolling bac
ps.1: update regarding -D option and -p x/d interaction
The -p option does not imply -x, it is merely a different mode that ps uses. Remove that statement from the -p option, effectively rolling back d6ae056e9dc96c2db45982ac358ba9ed716a9202.
pstef@ introduced the -D option in 5c0a1c15ff8cb66128f4826ace8ba91e0a31486d which also turns ps into a similar mode. List the -D option along with the others in the first sentence of the second paragraph of the DESCRIPTION section for completeness and correctness sake.
Pointed out by: pstef@ Differential Revision: https://reviews.freebsd.org/D42552
show more ...
|
Revision tags: release/14.0.0 |
|
#
d6ae056e |
| 06-Oct-2023 |
Benedict Reuschling <bcr@FreeBSD.org> |
Extend description of -p to include interactions with -d and implying -x
PR: 268052 Event: Oslo Hackathon Differential Revision: https://reviews.freebsd.org/D40595
|
#
5c0a1c15 |
| 24-Aug-2023 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
ps: add a new option -D to reimplement tree traversal
It takes a non-optional parameter string, one of "up", "down", or "both" that can request tree traversal in the chosen directions. This adds PID
ps: add a new option -D to reimplement tree traversal
It takes a non-optional parameter string, one of "up", "down", or "both" that can request tree traversal in the chosen directions. This adds PIDs from the paths to the selection of PIDs and can be used together with -d to draw a subset of the process tree.
Differential Revision: https://reviews.freebsd.org/D41231
show more ...
|
#
b2c76c41 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
#
3f46bf40 |
| 25-Apr-2023 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
ps: Fix synopsis
In the -L mode, the -L flag is not optional.
MFC after: 3 days Sponsored by: Klara Inc.
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0 |
|
#
4f47f511 |
| 27-Jun-2020 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
ps(1): reuse keyword "cpu" to show CPU number
This flag will now show the processor number on which a process is running.
This change was inspired by PR129965. Initially I didn't think that the pat
ps(1): reuse keyword "cpu" to show CPU number
This flag will now show the processor number on which a process is running.
This change was inspired by PR129965. Initially I didn't think that the patch attached to it was correct -- it sacrificed ki_estcpu use in "cpu" for ki_lastcpu and I thought that the old functionality should be kept and the new (cpu#) one added to it. But I've since discovered that ki_estcpu is sched_4bsd-specific. What's worse, it represents the same thing as ki_pctcpu, except ki_pctcpu is universal -- so "%cpu" has been using it successfully. Therefore, I've decided to replace information based on ki_estcpu with information based on ki_oncpu/ki_lastcpu.
Key parts of the code and manual changes were borrowed from top(1).
PR: 129965 Reported by: Nikola Knežević MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25377
show more ...
|
#
50301bb0 |
| 19-Jun-2020 |
Lorenzo Salvadore <salvadore@FreeBSD.org> |
bin/ps: Make the rtprio option actually show realtime priorities
Fix the rtprio option that for some reason was progessively becoming an option showing the priority class of threads. In particular:
bin/ps: Make the rtprio option actually show realtime priorities
Fix the rtprio option that for some reason was progessively becoming an option showing the priority class of threads. In particular:
- use the constants defined in sys/sys/rtprio.h instead of those defined in sys/sys/priority.h: this helps making clearer that the code actually is about realtime priorities and not standard scheduler priorities; - remove the PRI_ITHD case that has nothing to do with realtime priorities; - convert the priority levels to realtime priority levels using the same formulas used for pri_to_rtp function in sys/kern/kern_resource.c. - remove outdated note "101 = not a realtime process" in the man page and replace it with a more useful reference to man 1 rtprio.
Approved by: src (mckusick), manpages (bcr), gerald (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25266
show more ...
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
2a22df74 |
| 04-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339813 through r340125.
|
#
f11e51a9 |
| 31-Oct-2018 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
ps(1): Pet mandoc and igor
- Use Xr to reference other manual pages. - Reference execve(2) instead of exec(2) as exec(2) does not exist. - Remove the deprecated "Tn" macro. - Improve the formatting
ps(1): Pet mandoc and igor
- Use Xr to reference other manual pages. - Reference execve(2) instead of exec(2) as exec(2) does not exist. - Remove the deprecated "Tn" macro. - Improve the formatting of the etime description.
Reviewed by: bcr Approved by: krion (mentor, implicit), mat (mentor, implicit) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D17780
show more ...
|
#
c97c08de |
| 31-Oct-2018 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
ps(1): Add a standard exit status section
Reviewed by: bcr, eadler Approved by: krion (mentor) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D17146
|
Revision tags: release/11.2.0 |
|
#
2f5a9b76 |
| 13-Mar-2018 |
John Baldwin <jhb@FreeBSD.org> |
Add a "jail" keyword to list the name of a jail rather than its ID.
Inspired by: mwlucas Reviewed by: jamie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14683
|
#
30417f2c |
| 10-Mar-2018 |
Mike Karels <karels@FreeBSD.org> |
Change ps(1) output width to unlimited if not interactive
Apply patch submitted with PR 217159 to make ps use unlimited width when not associated with a terminal (i.e., none of stdout, stdin, or std
Change ps(1) output width to unlimited if not interactive
Apply patch submitted with PR 217159 to make ps use unlimited width when not associated with a terminal (i.e., none of stdout, stdin, or stderr is a tty). Update comments and man page correspondingly. This change was requested to work around lack of -ww in scripts from third-party packages, including Hadoop, and adds a small measure of Linux compatibility. Hopefully few if any non-interactive scripts depend on the old default of 79.
PR: 217159 Submitted by: n.deepak at gmail.com Reviewed by: vangyzen jhb Differential Revision: https://reviews.freebsd.org/D14614
show more ...
|
#
faf5dd87 |
| 23-Jan-2018 |
John Baldwin <jhb@FreeBSD.org> |
Remove some KSE references from ps(1).
- Simplify the description of -H to assume 1:1 threading. - Drop 'process' from description of 'lwp' field and the corresponding XO field name. - Do add an e
Remove some KSE references from ps(1).
- Simplify the description of -H to assume 1:1 threading. - Drop 'process' from description of 'lwp' field and the corresponding XO field name. - Do add an expansion of LWP in the description of 'lwp' and 'nlwps'. - Add 'tid' as an alias for the 'lwp' field.
Reviewed by: imp, kib (older version) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14021
show more ...
|
#
53606209 |
| 01-Dec-2017 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add "vmaddr" ps(1) keyword.
Obtained from: CheriBSD MFC after: 2 weeks Sponsored by: DARPA, AFRL
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
#
50896984 |
| 10-Oct-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r324482
|
#
4363782b |
| 09-Oct-2017 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Undocument "tdnam" (leaving it as an alias), and rename the column to TDNAME.
Suggested by: bde MFC after: 2 weeks Sponsored by: DARPA, AFRL
|
#
a8373a7c |
| 09-Oct-2017 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Document "tdnam" keyword to ps(1), and add "tdname" alias.
MFC after: 2 weeks Sponsored by: DARPA, AFRL
|
Revision tags: release/10.4.0 |
|
#
b754c279 |
| 13-Sep-2017 |
Navdeep Parhar <np@FreeBSD.org> |
MFH @ r323558.
|