Project

General

Profile

Actions

Bug #6651

open

mdb could support printing open file information

Added by David Pacheco over 5 years ago. Updated over 1 year ago.

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

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

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.

Actions #1

Updated by Andy Fiddaman over 1 year 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)]

Actions

Also available in: Atom PDF