Project

General

Profile

Bug #6651

mdb could support printing open file information

Added by David Pacheco about 4 years ago. Updated 22 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-02-12
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Similar to #6650: you can use "!" to shell out to pfiles(1) to print open files in a target process or core file, but it would be useful if you could this from within mdb.

History

#1

Updated by Andy Fiddaman 22 days ago

Does this not do what you want here?

> ::pgrep picld | ::pfiles
FD   TYPE            VNODE INFO
   0  CHR fffffe171745e900 /devices/pseudo/mm@0:null
   1  CHR fffffe171745e900 /devices/pseudo/mm@0:null
   2  CHR fffffe171745e900 /devices/pseudo/mm@0:null
   3 DOOR fffffe1717e63500 [door to 'picld' (proc=fffffe17270cdfd8)]
   4 DOOR fffffe1726b4b000 [door to 'picld' (proc=fffffe17270cdfd8)]

Also available in: Atom PDF