<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/procstat, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<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 r245345:</title>
<updated>2013-01-17T02:42:08Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2013-01-17T02:42:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f56e5118df98831dbc0542a59f9ce307da182ff6'/>
<id>urn:sha1:f56e5118df98831dbc0542a59f9ce307da182ff6</id>
<content type='text'>
procstat: only one mode flag can be specified, but required check for 'i'
and 'j' modes was missing. Fix that.
</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 r240546:</title>
<updated>2012-09-23T06:16:08Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2012-09-23T06:16:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a82ff7bbe3ecde20eadf6d33cde7d9e24d7dff75'/>
<id>urn:sha1:a82ff7bbe3ecde20eadf6d33cde7d9e24d7dff75</id>
<content type='text'>
Handle AT_TIMEKEEP in procstat(1) -x.

PR:	bin/171662
</content>
</entry>
<entry>
<title>MFC r240081:</title>
<updated>2012-09-14T18:45:14Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-09-14T18:45:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b7b5e420586bb6c5deac437229f89144d2f828e3'/>
<id>urn:sha1:b7b5e420586bb6c5deac437229f89144d2f828e3</id>
<content type='text'>
Free memory allocated by procstat_getfiles(), which may make difference
when procstat(1) is run with -a option.

Submitted by:	Daniel Dettlaff &lt;dmilith gmail com&gt;
</content>
</entry>
<entry>
<title>MFC r238086:</title>
<updated>2012-09-01T09:55:35Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-09-01T09:55:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2bd440a4bd55ae60806df4b0ab17d3984674ffdd'/>
<id>urn:sha1:2bd440a4bd55ae60806df4b0ab17d3984674ffdd</id>
<content type='text'>
Fix style.
</content>
</entry>
<entry>
<title>MFC r238753:</title>
<updated>2012-07-27T19:56:36Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-07-27T19:56:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb1283128653de03ce4d663cd99a7a163d4f3f40'/>
<id>urn:sha1:cb1283128653de03ce4d663cd99a7a163d4f3f40</id>
<content type='text'>
Align the header with output.

Approved by:	re (kib)
</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>
</feed>
