[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

phin

Provide Photon system information

Syntax:

phin [-AhLMqW] [-f chars] [-n name] [-P name]
     [-p pid] [-R rid] [-r rid] [-T type] [command]

Options:

-A
Show all regions.
-f chars
Instead of a command, use the specified string of format characters. Valid characters are:
Note: * See the Description section for details on these options.

-h
Suppress header information.
-L
Be literal: display flags fields in hex.
-M
Display for manager type regions only.
-n name
The name of the Photon Manager to communicate with. If the name starts with a digit, the utility treats it as a node number and communicates with /dev/photon on that node. If the name starts with a slash, the utility treats it as a full path. Otherwise, the utility looks for it in your /dev directory. The default is /dev/photon.
-P name
Show information only for the process with this name.
-p pid
Show information only for the process with this PID.
-q
Suppress all output; the exit value is the number of regions that would have been listed.
-R rid
Start with the region that has this region identifier (RID) and show information about its children and the siblings behind.
-r rid
Show information only for the region with this RID.
-T type
Display information only about this type of region:
-W
Show window type regions only.
command
A command that lets you view specific groups of information and provides a compact way to specify commonly used -f combinations. Only the first two letters of a command are required:
Command   Description Equivalent
all All the commonly used flags pnbrPFfehOzwST
areas Region absolute areas and origins prPOAn
channel Channel information dprPgGkMqQBn
cproc Channel and process dprPgkqQnib
default Simple process and region flags prPfenb
family Region parent, child, and brother info prPFfen
rareas Region relative areas and origins prPoan
regions Specific info about regions prPfeOz
sculpted Region and process info, indented by depth +prPibnT
window Specific info about windows rnwST
wprocess Process info about windows rpiSnT

Description:

The phin utility displays information about the state of the Photon window system.

Here's what the options of the region flags, event flags, window flags, window render, window state, process flags, and channel flags indicate.

Region flags:
-f [BFAIKPGMW]
Event flags:
-e [isTRWcdDEBm#k]
Window flags:
-w [FBXIMRS<>fTC]
Window render:
-R [Mncmtrb]
Window state:
-S [MDpIihfARF]
Process flags:
-g [VABHCD]
Channel flags:
-G [BTPHD]

Examples:

Display default information:

phin

Display information about windows on node my_node:

phin -n my_node window

Display information about regions on the device /net/my_node/dev/photon:

phin -n /net/my_node/dev/photon regions

Display parent, child, and brother information about regions on the device /dev/photon:

phin -n photon family

[Previous] [Contents] [Index] [Next]