<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/procstat/procstat.1, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-02-19T19:11:14Z</updated>
<entry>
<title>MFC 261780:</title>
<updated>2014-02-19T19:11:14Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2014-02-19T19:11:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=82db435ae0373ebe029996c8f6423c2d2ec7140d'/>
<id>urn:sha1:82db435ae0373ebe029996c8f6423c2d2ec7140d</id>
<content type='text'>
Expose OBJT_MGTDEVICE VM objects used for GEM/TTM with drm2 as an
explicit object type.
</content>
</entry>
<entry>
<title>MFC r249668, r249669, r249671, r249673, r249675, r249678, r249680, r249683,</title>
<updated>2013-05-21T19:05:27Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2013-05-21T19:05:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=620d459aa9bd8d181bb58ea52af11ff8e284b432'/>
<id>urn:sha1:620d459aa9bd8d181bb58ea52af11ff8e284b432</id>
<content type='text'>
    r249685, r249686:

r249668:

Use procstat_getprocs(3) for retrieving thread information instead of
direct sysctl calls.

r249669:

Use more generic procstat_getvmmap(3) for retrieving VM layout of a process.

r249671:

Use procstat_getgroups(3) for retrieving groups information instead of
direct sysctl.

r249673:

Use procstat_getumask(3) for retrieving umaks information instead of
direct sysctl.

r249675:

Use procstat_getrlimit(3) for retrieving rlimit information instead of
direct sysctl calls.

r249678:

Use libprocstat(3) when retrieving binary information for a process.

r249680:

Use libprocstat(3) to retrieve process command line arguments and
environment variables.

r249683:

Use libprocstat(3) to retrieve ELF auxiliary vector.

r249685:

Use procstat_getkstack(3) for retrieving process kernel stacks
instead of direct sysctl calls.

r249686:

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
</content>
</entry>
<entry>
<title>MFC r241117:</title>
<updated>2012-10-10T21:20:34Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-10-10T21:20:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=607130cc0047dc6f8d0c92bcc1f3ff9d3b032b88'/>
<id>urn:sha1:607130cc0047dc6f8d0c92bcc1f3ff9d3b032b88</id>
<content type='text'>
	add SG state type

PR:		bin/171664
Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>MFC r238527:</title>
<updated>2012-07-20T06:50:57Z</updated>
<author>
<name>Gabor Pali</name>
<email>pgj@FreeBSD.org</email>
</author>
<published>2012-07-20T06:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c8dca15961d102e36646d388ca1140bfa7a52a89'/>
<id>urn:sha1:c8dca15961d102e36646d388ca1140bfa7a52a89</id>
<content type='text'>
  - Add support for displaying process stack memory regions.

Approved by:	re (kib), rwatson
</content>
</entry>
<entry>
<title>MFC r233648:</title>
<updated>2012-06-18T04:55:07Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-06-18T04:55:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1be2e5bd8cc6faf5b25f9b39445ed5e3d1b6d5f5'/>
<id>urn:sha1:1be2e5bd8cc6faf5b25f9b39445ed5e3d1b6d5f5</id>
<content type='text'>
	Remove trailing whitespace per mdoc lint warning

Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>MFC r233390:</title>
<updated>2012-04-06T16:31:29Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-04-06T16:31:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32a23d0aabeca025b7b5c884a363afe6ba5ee972'/>
<id>urn:sha1:32a23d0aabeca025b7b5c884a363afe6ba5ee972</id>
<content type='text'>
When displaying binary information show also osreldate.

Suggested by:	kib
</content>
</entry>
<entry>
<title>MFC r232300 (pluknet):</title>
<updated>2012-04-05T19:32:39Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-04-05T19:32:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e20e0768d46d8b6923e006aa23765c0c9531a6ee'/>
<id>urn:sha1:e20e0768d46d8b6923e006aa23765c0c9531a6ee</id>
<content type='text'>
Update the description for -s flag after r232182.
When displaying security credential information show also process umask.
</content>
</entry>
<entry>
<title>MFC r227956, r228090, r228446, r230471, r230548:</title>
<updated>2012-02-02T18:22:25Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-02-02T18:22:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9bb8534ab03df0b008e1765dd930eeb1d3148641'/>
<id>urn:sha1:9bb8534ab03df0b008e1765dd930eeb1d3148641</id>
<content type='text'>
r227956:

Add -l flag to display resource limits.

PR:		bin/161257
Reviewed by:	kib

r228090:

Update SYNOPSIS to include the flags added recently.

Spotted by:	jhb

r228446:

Make procstat -l output similar to the output of limits(1).

Suggested by:	jhb

r230471, r230548:

Make procstat -l to work with the new version of kern.proc.rlimit.

Submitted by:	Andrey Zonov &lt;andrey at zonov.org&gt;
</content>
</entry>
<entry>
<title>MFC r227838, r227873, r228025, r228049, r228289, r228447, r230753:</title>
<updated>2012-02-02T18:17:49Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-02-02T18:17:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a9c17fad1d0a30a8c2a6971c38a325b1c36bd1c6'/>
<id>urn:sha1:a9c17fad1d0a30a8c2a6971c38a325b1c36bd1c6</id>
<content type='text'>
r227838, r227873:

Add new options, -e and -x, to display process environment variables
and ELF auxiliary vectors.

r228025, r228049:

Make proctstat -x output more readable.

This also fixes the issue, spotted by mdf, with values that were
printed as decimal and had hex prefixes.

Discussed with:	kib, rwatson

r228289:

Don't output a warning if kern.proc.auxv sysctl has returned EPERM.
After r228288 this is rather a normal situation.

r228447:

Make 64-bit procstat output ELF auxiliary vectors for 32-bit processes.

Reviewed by:	kib

r230753:

Always return 0 if the sysctl failed.

This fixes the bug: when procstat -xa was run and the sysctl for a
process returned ESRCH or EPERM, for this process procstat output the
result collected for the previous successful process.
</content>
</entry>
<entry>
<title>MFC r227317, r227355:</title>
<updated>2012-01-06T16:57:56Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-01-06T16:57:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2fd46651f53a491a3f048d5969271775af24080'/>
<id>urn:sha1:a2fd46651f53a491a3f048d5969271775af24080</id>
<content type='text'>
When displaying process virtual memory mappings print superpage
mapping flag.

Submitted by:	Mel Flynn &lt;mel.flynn+fbsd.hackers@mailing.thruhere.net&gt;
Reviewed by:	alc, rwatson
</content>
</entry>
</feed>
