8c2da7009a
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 MFC after: 1 month |
||
---|---|---|
.. | ||
Makefile | ||
procstat_args.c | ||
procstat_auxv.c | ||
procstat_basic.c | ||
procstat_bin.c | ||
procstat_cred.c | ||
procstat_files.c | ||
procstat_kstack.c | ||
procstat_rlimit.c | ||
procstat_sigs.c | ||
procstat_threads.c | ||
procstat_vm.c | ||
procstat.1 | ||
procstat.c | ||
procstat.h |