|
|
NAME
strowner - Find the owner of a stream
SYNOPSIS
strowner address
DESCRIPTION
The strowner macro is given one argument, the address of a stream.
Given a stream, it will scan the process list and display all
processes which have the stream open, along with the file
and vnode pointers associated with the open stream.
Use the strfiles or streams macros to get a stream address.
From strowner, you can find the process that owns the stream and you can use the "File" address given here as an argument to the file macro.
Typical output looks like this:
S> strowner D12A4E00 Proc D1297200 Name: vi file # File Vnode Stream [0] D12A3300 D12A4C04 D12A4E00 [1] D12A3300 D12A4C04 D12A4E00 [2] D12A3300 D12A4C04 D12A4E00 [8] D1295F00 D12A4C04 D12A4E00 Proc D10C8400 Name: kcrash -k /dev/mem /unix # File Vnode Stream [8] D1295F00 D12A4C04 D12A4E00