DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

files - list the open files of a process

SYNOPSIS

files address

DESCRIPTION

Given the address of proc struct, the files macro prints the addresses of the file and vnode structs for all the files the process has open, along with the address of the associated streams (if any).

The file struct is define in /usr/include/sys/file.h.

Typical output looks like this:


        S> files D13BCE00
        Proc D13BCE00
         #  File      Vnode     Stream
        [0] D13D0600  D1235404
        [1] D13D8E80  D13BBF00
        [2] D13D8E00  D13CAF00  D13CBD80
        [3] D13D0600  D1235404
        [4] D13D8D80  D1113D70
        [5] D13CA680  D10EE708
        [6] D13D8800  D13DEC04  D13DD500

DEFINED IN

file.k

SEE ALSO

files, cred, stream, strfiles, st rowner, vnode

APPENDIX A: Alphabetic Index of Macros