freebsd-nq/usr.bin/procstat
John Baldwin e506e182dd Export some more useful info about shared memory objects to userland
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
2012-04-01 18:22:48 +00:00
..
Makefile usr.bin/procstat 2011-11-24 20:54:06 +00:00
procstat_args.c Add new options, -e and -x, to display process environment variables 2011-11-22 20:59:52 +00:00
procstat_auxv.c Always return 0 if the sysctl failed. 2012-01-29 20:39:42 +00:00
procstat_basic.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
procstat_bin.c When displaying binary information show also osreldate. 2012-03-23 20:09:21 +00:00
procstat_cred.c When displaying security credential information show also process umask. 2012-02-26 14:27:34 +00:00
procstat_files.c Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
procstat_kstack.c Rename ki_ocomm to ki_tdname and OCOMMLEN to TDNAMLEN. 2011-07-18 20:06:15 +00:00
procstat_rlimit.c After the recent changes there is no need in rlimit array any more. 2012-01-25 20:13:37 +00:00
procstat_sigs.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
procstat_threads.c Rename ki_ocomm to ki_tdname and OCOMMLEN to TDNAMLEN. 2011-07-18 20:06:15 +00:00
procstat_vm.c When displaying process virtual memory mappings print superpage 2011-11-07 21:16:19 +00:00
procstat.1 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
procstat.c usr.bin/procstat 2011-11-24 20:54:06 +00:00
procstat.h usr.bin/procstat 2011-11-24 20:54:06 +00:00