<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/procstat/procstat.c, branch releng/14.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>procstat(1): add rlimitusage subcommand</title>
<updated>2024-10-05T07:08:56+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2024-09-22T17:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc4cee6cc27de8e51295c30b8d71d43032b00cf0'/>
<id>cc4cee6cc27de8e51295c30b8d71d43032b00cf0</id>
<content type='text'>
(cherry picked from commit 5ac9320ddf50702e4fe05c10adc46dcdbd8ed5ee)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 5ac9320ddf50702e4fe05c10adc46dcdbd8ed5ee)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:42+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1d386b48a555f61cb7325543adbbb5c3f3407a66'/>
<id>1d386b48a555f61cb7325543adbbb5c3f3407a66</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-05-12T16:44:03+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d846d260e2b9a3d4d0a701462568268cbfe7a5b'/>
<id>4d846d260e2b9a3d4d0a701462568268cbfe7a5b</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement procstat(1) advlocks command</title>
<updated>2022-04-09T21:47:50+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-04-02T14:13:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a5229a255ea9e67fe935da1f566be803c1e7f99f'/>
<id>a5229a255ea9e67fe935da1f566be803c1e7f99f</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>procstat(1): add ability to specify subcommands not requiring pid lists</title>
<updated>2022-04-09T21:47:50+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-04-07T18:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e79866ddf1c2147890226830838dcca5174c18e1'/>
<id>e79866ddf1c2147890226830838dcca5174c18e1</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>procstat: remove set but not used variable</title>
<updated>2022-03-18T09:03:56+00:00</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2022-03-17T21:53:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8b1f5965d9a55a93517c4366f3e1f22166c1aff6'/>
<id>8b1f5965d9a55a93517c4366f3e1f22166c1aff6</id>
<content type='text'>
In an earlier version of D26310, strcmp was strncmp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In an earlier version of D26310, strcmp was strncmp.
</pre>
</div>
</content>
</entry>
<entry>
<title>procstat: Fix regression after 365880.</title>
<updated>2020-09-29T00:20:58+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-29T00:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=34d7dd1561e0836368e94b43e0f5a5f4801f4489'/>
<id>34d7dd1561e0836368e94b43e0f5a5f4801f4489</id>
<content type='text'>
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 &lt;dewayne@heuristicsystems.com.au&gt;
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;dewayne@heuristicsystems.com.au&gt;
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently use __FBSDID("FreeBSD") for ids in usr.bin/procstat.</title>
<updated>2020-09-27T23:01:54+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-27T23:01:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b65eb2f8a83fb102bcacaa0eafff96ac290a2d5a'/>
<id>b65eb2f8a83fb102bcacaa0eafff96ac290a2d5a</id>
<content type='text'>
Submitted by:	Juraj Lutter &lt;juraj@lutter.sk&gt;
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26568
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Juraj Lutter &lt;juraj@lutter.sk&gt;
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26568
</pre>
</div>
</content>
</entry>
<entry>
<title>Add pargs, penv, pwdx commands and aliases to procstat(1).</title>
<updated>2020-09-18T12:59:27+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-18T12:59:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=085e04945cc3cb3a725a2b0cd992ad0358e49f7e'/>
<id>085e04945cc3cb3a725a2b0cd992ad0358e49f7e</id>
<content type='text'>
Intent is to mimic Solaris commands with the same names.

Submitted by:	Juraj Lutter &lt;juraj@lutter.sk&gt;
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26310
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Intent is to mimic Solaris commands with the same names.

Submitted by:	Juraj Lutter &lt;juraj@lutter.sk&gt;
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26310
</pre>
</div>
</content>
</entry>
<entry>
<title>Add procstat(1) sigfastblock command to show process sigfastblock word address.</title>
<updated>2020-02-09T12:30:50+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-02-09T12:30:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=24d57fa83e114d537fe6b3906898c4e95a976530'/>
<id>24d57fa83e114d537fe6b3906898c4e95a976530</id>
<content type='text'>
Tested by:	pho
Disscussed with:	cem, emaste, jilles
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D12773
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested by:	pho
Disscussed with:	cem, emaste, jilles
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D12773
</pre>
</div>
</content>
</entry>
</feed>
