aboutsummaryrefslogtreecommitdiff
path: root/lib/libprocstat/libprocstat.3
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-231-2/+0
| | | | | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit fa9896e082a1)
* libprocstat: document procstat_getadvlock(3)Konstantin Belousov2022-04-161-1/+28
| | | | (cherry picked from commit 50d3c72558f2d0c0ae0a037813a9af420935b538)
* libprocstat.3: Correct two occurrences of kvm_getprocs to procstat_getprocsMateusz Piotrowski2020-11-261-3/+3
| | | | | | | | | | Submitted by: otis_sk.freebsd.org Reviewed by: markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D26151 Notes: svn path=/head/; revision=368084
* libprocstat(3): fix arguments list for procstat_getargv(3) and ↵Enji Cooper2017-07-291-2/+0
| | | | | | | | | | | | | procstat_getenvv(3) Neither libcall takes a fourth argument (`char *errbuf`). PR: 217884 Submitted by: tobik MFC after: 1 month Notes: svn path=/head/; revision=321706
* libprocstat(3): fix reference (typo) to procstat_freeenvv in description forEnji Cooper2017-07-291-1/+1
| | | | | | | | | | | procstat_getargv(3) PR: 217884 MFC after: 1 month Submitted by: tobik Notes: svn path=/head/; revision=321705
* Add sys/socket.h to SYNOPSIS for libprocstat(3)Enji Cooper2017-07-291-1/+2
| | | | | | | | | | | | sys/socket.h is required for procstat_get_socket_info(3), added in r221807. MFC after: 1 month PR: 217884 Submitted by: tobik Notes: svn path=/head/; revision=321704
* Add initial documentation for procstat_freeptlwpinfo and procstat_getptlwpinfoEnji Cooper2017-06-271-1/+27
| | | | | | | | MFC after: 1 month MFC with: r316286 Notes: svn path=/head/; revision=320400
* Create links to the libprocstat man pages for all of the libprocstat ↵Allan Jude2015-05-211-26/+27
| | | | | | | | | | | | | | | | functions so they can be looked up by name Add a cross refrence to libprocstat in the procstat.1 man page Differential Revision: https://reviews.freebsd.org/D2578 Suggested by: jmg Reviewed by: brueffer Approved by: wblock (mentor) MFC after: 1 week Sponsored by: ScaleEngine Inc. Notes: svn path=/head/; revision=283167
* use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-2/+2
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* Bump date.Sergey Kandaurov2013-05-041-1/+1
| | | | Notes: svn path=/head/; revision=250233
* Similar to 233760 and 236717, export some more useful info about theJohn Baldwin2013-05-031-1/+13
| | | | | | | | | | | | | | | | | | kernel-based POSIX semaphore descriptors to userland via procstat(1) and fstat(1): - Change sem file descriptors to track the pathname they are associated with and add a ksem_info() method to copy the path out to a caller-supplied buffer. - Use the fo_stat() method of shared memory objects and ksem_info() to export the path, mode, and value of a semaphore via struct kinfo_file. - Add a struct semstat to the libprocstat(3) interface along with a procstat_get_sem_info() to export the mode and value of a semaphore. - Teach fstat about semaphores and to display their path, mode, and value. MFC after: 2 weeks Notes: svn path=/head/; revision=250223
* mdoc: end function context properly.Joel Dahl2013-04-201-1/+1
| | | | Notes: svn path=/head/; revision=249711
* Bump date.Mikolaj Golub2013-04-201-1/+1
| | | | Notes: svn path=/head/; revision=249688
* Add procstat_getkstack function to dump kernel stacks of a process.Mikolaj Golub2013-04-201-0/+29
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249684
* Add procstat_getauxv function to retrieve a process auxiliary vector.Mikolaj Golub2013-04-201-0/+26
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249681
* Extend libprocstat with functions to retrieve process command lineMikolaj Golub2013-04-201-0/+70
| | | | | | | | | | | arguments and environment variables. Suggested by: stas Reviewed by: jhb and stas (initial version) MFC after: 1 month Notes: svn path=/head/; revision=249679
* Add procstat_getosrel function to retrieve a process osrel info.Mikolaj Golub2013-04-201-0/+14
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249677
* Add procstat_getpathname function to retrieve a process executable.Mikolaj Golub2013-04-201-0/+20
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249676
* Add procstat_getrlimit function to retrieve a process resource limits info.Mikolaj Golub2013-04-201-0/+17
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249674
* Add procstat_getumask function to retrieve a process umask.Mikolaj Golub2013-04-201-0/+15
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249672
* Add procstat_getgroups function to retrieve process groups.Mikolaj Golub2013-04-201-0/+27
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249670
* Add procstat_getvmmap function to get VM layout of a process.Mikolaj Golub2013-04-201-0/+29
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=249667
* Make libprocstat(3) extract procstat notes from a process core file.Mikolaj Golub2013-04-201-2/+21
| | | | | | | | | | PR: kern/173723 Suggested by: jhb Glanced by: kib MFC after: 1 month Notes: svn path=/head/; revision=249666
* General mdoc(7) and typo fixes.Glen Barber2012-05-111-1/+1
| | | | | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235286
* Export some more useful info about shared memory objects to userlandJohn Baldwin2012-04-011-1/+14
| | | | | | | | | | | | | | | | | | | | | | via procstat(1) and fstat(1): - Change shm file descriptors to track the pathname they are associated with and add a shm_path() method to copy the path out to a caller-supplied buffer. - Use the fo_stat() method of shared memory objects and shm_path() to export the path, mode, and size of a shared memory object via struct kinfo_file. - Add a struct shmstat to the libprocstat(3) interface along with a procstat_get_shm_info() to export the mode and size of a shared memory object. - Change procstat to always print out the path for a given object if it is valid. - Teach fstat about shared memory objects and to display their path, mode, and size. MFC after: 2 weeks Notes: svn path=/head/; revision=233760
* Mention myself in the AUTHORS section.Sergey Kandaurov2011-07-121-1/+8
| | | | | | | Requested by: stas Notes: svn path=/head/; revision=223964
* Provide a simple manual page for libprocstat(3).Sergey Kandaurov2011-07-121-0/+251
Reviewed by: jilles, gjb Notes: svn path=/head/; revision=223953