Query: devprop
OS: opensolaris
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
devprop(1M) System Administration Commands devprop(1M)NAMEdevprop - display device propertiesSYNOPSIS/sbin/devprop [-n device-path] [-vq] [-{b|i|l|s}] [property[...]]DESCRIPTIONThe devprop command displays named device properties from the device tree. If a device path is specified on the command line, devprop displays device properties for that device node. The output formats, while Volatile, are patterned after those of prtconf(1M).OPTIONSThe following options are supported: -b The properties to be output are sequences of bytes (DI_PROP_TYPE_BYTES). -b, -i, -l, and -s are mutually exclusive of one another. -i The properties to be output are integers (DI_PROP_TYPE_INT). -l The properties to be output are 64-bit integers (DI_PROP_TYPE_INT64). -s The properties to be output are strings (DI_PROP_TYPE_STRING) (the default). -n device-path The path to a target device node for which properties are displayed. The default path is that of the root node (equivalent to specify- ing -n /). -q Specifies quoted output mode, in which string properties are output surrounded by double quotation marks ("). -v Specifies verbose mode, in which the name of the property is output before its value.OPERANDSThe following operand is supported: property... Name of the property to be displayed.EXIT STATUS0 No error occurred. non-zero An error occurred.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr | +-----------------------------+-----------------------------+ |Interface Stability |See below. | +-----------------------------+-----------------------------+ The command invocation and output are both Volatile. The location of the utility is Committed.SEE ALSOprtconf(1M), libdevinfo(3LIB), attributes(5) SunOS 5.11 26 Sep 2007 devprop(1M)