|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0 |
|
| #
cc4cee6c |
| 22-Sep-2024 |
Konstantin Belousov <[email protected]> |
procstat(1): add rlimitusage subcommand
(cherry picked from commit 5ac9320ddf50702e4fe05c10adc46dcdbd8ed5ee)
|
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
1d386b48 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
a5229a25 |
| 02-Apr-2022 |
Konstantin Belousov <[email protected]> |
Implement procstat(1) advlocks command
to display list of the advisory file locks in the system.
Example output $ procstat advlock RW TYPE PID SYSID FSID RDEV INO START
Implement procstat(1) advlocks command
to display list of the advisory file locks in the system.
Example output $ procstat advlock RW TYPE PID SYSID FSID RDEV INO START LEN PATH RO FCNTL 5836 0 0x878700ff02 0xffffffffffffffff 57 0 0 /tmp/2 RW FLOCK -1 0 0x878700ff02 0xffffffffffffffff 13 0 0 /tmp/1
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D34834
show more ...
|
| #
e79866dd |
| 07-Apr-2022 |
Konstantin Belousov <[email protected]> |
procstat(1): add ability to specify subcommands not requiring pid lists
Add PS_MODE_NO_KINFO_PROC cmd modifier that indicates that neither process list should be queried from the kernel, nor list of
procstat(1): add ability to specify subcommands not requiring pid lists
Add PS_MODE_NO_KINFO_PROC cmd modifier that indicates that neither process list should be queried from the kernel, nor list of pids or `-a` switch provided on the command line to filter the output.
This is intended for use by commands that query information not neccessary attributed to specific process.
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D34834
show more ...
|
| #
8b1f5965 |
| 17-Mar-2022 |
Piotr Pawel Stefaniak <[email protected]> |
procstat: remove set but not used variable
In an earlier version of D26310, strcmp was strncmp.
|
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0 |
|
| #
34d7dd15 |
| 29-Sep-2020 |
Konstantin Belousov <[email protected]> |
procstat: Fix regression after 365880.
Basically it reverts one chunk that reversed the parsing logic, making legacy variants of invocation, like `procstat -a -f', non-operational.
Reported and tes
procstat: Fix regression after 365880.
Basically it reverts one chunk that reversed the parsing logic, making legacy variants of invocation, like `procstat -a -f', non-operational.
Reported and tested by: Dewayne Geraghty <[email protected]> Sponsored by: The FreeBSD Foundation MFC after: 3 days
show more ...
|
| #
b65eb2f8 |
| 27-Sep-2020 |
Konstantin Belousov <[email protected]> |
Consistently use __FBSDID("FreeBSD") for ids in usr.bin/procstat.
Submitted by: Juraj Lutter <[email protected]> MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26568
|
| #
085e0494 |
| 18-Sep-2020 |
Konstantin Belousov <[email protected]> |
Add pargs, penv, pwdx commands and aliases to procstat(1).
Intent is to mimic Solaris commands with the same names.
Submitted by: Juraj Lutter <[email protected]> MFC after: 1 week Differential revis
Add pargs, penv, pwdx commands and aliases to procstat(1).
Intent is to mimic Solaris commands with the same names.
Submitted by: Juraj Lutter <[email protected]> MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26310
show more ...
|
|
Revision tags: release/11.4.0 |
|
| #
24d57fa8 |
| 09-Feb-2020 |
Konstantin Belousov <[email protected]> |
Add procstat(1) sigfastblock command to show process sigfastblock word address.
Tested by: pho Disscussed with: cem, emaste, jilles Sponsored by: The FreeBSD Foundation Differential revision: https:
Add procstat(1) sigfastblock command to show process sigfastblock word address.
Tested by: pho Disscussed with: cem, emaste, jilles Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D12773
show more ...
|
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
1de7b4b8 |
| 27-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended.
show more ...
|
| #
6effb213 |
| 16-Nov-2017 |
Andriy Gapon <[email protected]> |
procstat: fix a crash with -k -a options
The traditional / legacy usage should still be supported. This fixes a regression in r324619 that introduced a nicer, verb based interface.
Reviewed by: bro
procstat: fix a crash with -k -a options
The traditional / legacy usage should still be supported. This fixes a regression in r324619 that introduced a nicer, verb based interface.
Reviewed by: brooks X-MFC with: r324619
show more ...
|
| #
2a243b95 |
| 14-Oct-2017 |
Brooks Davis <[email protected]> |
Switch procstat from subcommand flags to verbs
- Use an enumerated value instead of separate flags for commands - Look for a verb if no command flag is set - Lookup the "xocontainer" value based on
Switch procstat from subcommand flags to verbs
- Use an enumerated value instead of separate flags for commands - Look for a verb if no command flag is set - Lookup the "xocontainer" value based on the command - Document the new command verbs in the man-page
Submitted by: [email protected] Differential Revision: https://reviews.freebsd.org/D10916
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
8490e4c2 |
| 20-Jul-2017 |
Enji Cooper <[email protected]> |
procstat(8): clarify program usage
- Visualize mutually exclusive options and their corresponding arguments. - Try to make the subtleties that are expressed in the code, and potentially in the m
procstat(8): clarify program usage
- Visualize mutually exclusive options and their corresponding arguments. - Try to make the subtleties that are expressed in the code, and potentially in the manpages, more apparent.
show more ...
|
| #
fbf87d40 |
| 26-May-2017 |
Brooks Davis <[email protected]> |
Add missing usage and getopt(3) options
- Add the missing option 'n' to the getopt(3) string - Add the missing options 'libxo' and 'N' to the usage message - Add the missing options 'M' and 'N' to t
Add missing usage and getopt(3) options
- Add the missing option 'n' to the getopt(3) string - Add the missing options 'libxo' and 'N' to the usage message - Add the missing options 'M' and 'N' to the man-page
Submitted by: Keegan Drake H.P. <[email protected]> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D10915
show more ...
|
| #
86be94fc |
| 30-Mar-2017 |
Tycho Nightingale <[email protected]> |
Add support for capturing 'struct ptrace_lwpinfo' for signals resulting in a process dumping core in the corefile.
Also extend procstat to view select members of 'struct ptrace_lwpinfo' from the con
Add support for capturing 'struct ptrace_lwpinfo' for signals resulting in a process dumping core in the corefile.
Also extend procstat to view select members of 'struct ptrace_lwpinfo' from the contents of the note.
Sponsored by: Dell EMC Isilon
show more ...
|
| #
3d32d4a7 |
| 07-Dec-2016 |
Eric van Gyzen <[email protected]> |
Export the whole thread name in kinfo_proc
kinfo_proc::ki_tdname is three characters shorter than thread::td_name. Add a ki_moretdname field for these three extra characters. Add the new field to
Export the whole thread name in kinfo_proc
kinfo_proc::ki_tdname is three characters shorter than thread::td_name. Add a ki_moretdname field for these three extra characters. Add the new field to kinfo_proc32, as well. Update all in-tree consumers to read the new field and assemble the full name, except for lldb's HostThreadFreeBSD.cpp, which I will handle separately. Bump __FreeBSD_version.
Reviewed by: kib MFC after: 1 week Relnotes: yes Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D8722
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
474b62b8 |
| 05-Sep-2015 |
Allan Jude <[email protected]> |
Introduce libxo to procstat(1)
Reviewed by: rodrigc, bapt Approved by: marcel (mentor) Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D2446
|
|
Revision tags: release/10.2.0 |
|
| #
a506f1dd |
| 11-Mar-2015 |
Scott Long <[email protected]> |
Fix a typo and update the date in the man page.
Submitted by: emax Obtained from: Netflix, Inc. MFC after: 3 days
|
| #
cee9136c |
| 10-Mar-2015 |
Scott Long <[email protected]> |
Implement basic cpuset reporting in procstat via the -S flag.
Obtained from: Netflix, Inc. MFC after: 3 days
|
|
Revision tags: release/10.1.0, release/9.3.0 |
|
| #
dc0aa067 |
| 17-May-2014 |
John Baldwin <[email protected]> |
- Add support for dumping current resource usage for processes via a new -r flag to procstat. - Add an -H flag to request information about threads rather than processes when dumping statistics.
- Add support for dumping current resource usage for processes via a new -r flag to procstat. - Add an -H flag to request information about threads rather than processes when dumping statistics. Currently it is only used for -r to display resource usage for individual threads instead of the entire process.
Reviewed by: kib (older version without -H) MFC after: 1 month
show more ...
|
|
Revision tags: release/10.0.0, release/9.2.0, release/8.4.0 |
|
| #
948baa40 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Make use of newly added libprocstat(3) ability to extract procstat info from a process core file.
So now one can run procstat(1) on a process core e.g. to get a list of files opened by a process whe
Make use of newly added libprocstat(3) ability to extract procstat info from a process core file.
So now one can run procstat(1) on a process core e.g. to get a list of files opened by a process when it crashed:
root@lisa:/ # procstat -f /root/vi.core PID COMM FD T V FLAGS REF OFFSET PRO NAME 658 vi text v r r-------- - - - /usr/bin/vi 658 vi ctty v c rw------- - - - /dev/pts/0 658 vi cwd v d r-------- - - - /root 658 vi root v d r-------- - - - / 658 vi 0 v c rw------- 11 3208 - /dev/pts/0 658 vi 1 v c rw------- 11 3208 - /dev/pts/0 658 vi 2 v c rw------- 11 3208 - /dev/pts/0 658 vi 3 v r r----n-l- 1 0 - /tmp/vi.0AYKz3Lps7 658 vi 4 v r rw------- 1 0 - /var/tmp/vi.recover/vi.GaGYsz 658 vi 5 v r rw------- 1 0 - -
PR: kern/173723 Suggested by: jhb MFC after: 1 month
show more ...
|
| #
d86fa0c7 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Use procstat_getkstack(3) for retrieving process kernel stacks instead of direct sysctl calls.
MFC after: 1 month
|
| #
61e1b7c6 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Use libprocstat(3) to retrieve ELF auxiliary vector.
MFC after: 1 month
|
| #
729e63c3 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Use libprocstat(3) to retrieve process command line arguments and environment variables.
MFC after: 1 month
|