prtconf(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

prtconf(8)

prtconf(8)              System Administration Commands              prtconf(8)

NAME
       prtconf - print system configuration

SYNOPSIS
       /usr/sbin/prtconf [-V] | [-F] | [-bpv] | [-acdDlPuUv] [dev_path]

DESCRIPTION
       The  prtconf  command  prints the system configuration information. The
       output includes the total amount of memory, and  the  configuration  of
       system peripherals formatted as a device tree.


       If a device path is specified on the command line for those command op‐
       tions  that  can take a device path, prtconf will only display informa‐
       tion for that device node.

OPTIONS
       The following options are supported:

       -a    Display all the ancestors device nodes, up to the  root  node  of
             the device tree, for the device specified on the command line.


       -b    Display  the firmware device tree root properties for the purpose
             of platform identification. These properties are "name", "compat‐
             ible", "banner-name" and "model".


       -c    Display the device subtree rooted at the device node specified on
             the command line, that is, display all the children of the device
             node specified on the command line.


       -d    Display vendor ID and device ID for PCI and PCI Express  devices,
             in addition to the nodename.


       -D    For  each system peripheral in the device tree, displays the name
             of the device driver used to manage the peripheral.


       -l    Show the /dev/chassis location associated with the  device  node.
             If -v is used, -l is implied.


       -F    Returns  the device path name of the console frame buffer, if one
             exists. If there is no frame buffer, prtconf returns  a  non-zero
             exit  code. This flag must be used by itself. It returns only the
             name of the console, frame buffer device or a non-zero exit code.
             For example, if the console frame buffer on  a  SUNW,Ultra-30  is
             ffb,  the command returns: /SUNW,ffb@1e,0:ffb0. This option could
             be used to create a symlink for /dev/fb to the actual console de‐
             vice.


       -p    Displays information derived from the device tree provided by the
             firmware (PROM) on SPARC platforms or the booting system  on  x86
             platforms.  The  device tree information displayed using this op‐
             tion is a snapshot of the initial configuration and may not accu‐
             rately reflect reconfiguration events that occur later.


       -P    Includes information about pseudo devices. By  default,  informa‐
             tion regarding pseudo devices is omitted.


       -u    Together  with  -v,  displays information for each device listing
             properties from the vendor and admin lists, if any.


       -U    Provides device usage information.


       -v    Specifies verbose mode.


       -V    Displays platform-dependent PROM (on SPARC platforms) or  booting
             system  (on x86 platforms) version information. This flag must be
             used by itself. The output is a string. The format of the  string
             is arbitrary and platform-dependent.


OPERANDS
       The following operands are supported:

       dev_path    The  path to a target device minor node, device nexus node,
                   or device link for which device node configuration informa‐
                   tion is displayed.


EXIT STATUS
       The following exit values are returned:

       0           No error occurred.


       non-zero    An error occurred.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE _ Availabilitysystem/core-os _ Interface StabilityUncom‐
       mitted


SEE ALSO
       openprom(4D),  driver(5),  driver.conf(5),  attributes(7),  devprop(8),
       fuser(8), modinfo(8), sysdef(8)

NOTES
       The output of the prtconf command is highly dependent on the version of
       the PROM installed in the system. The output will be affected in poten‐
       tially all circumstances.


       The  driver  not attached message means that no driver is currently at‐
       tached to that instance of the device. In general, drivers  are  loaded
       and  installed (and attached to hardware instances) on demand, and when
       needed, and may be uninstalled and unloaded when the device is  not  in
       use.


       On x86 platforms, the use of prtconf  -vp provides a subset of informa‐
       tion  from  prtconf   -v.  The value of integer properties from prtconf
       -vp might require byte swapping for correct interpretation.

HISTORY
       The -U option was added in Oracle Solaris 11.4.0.


       The -x option to check for a 64-bit compatible SPARC PROM was added  in
       Solaris 7, and removed in Oracle Solaris 11.4.0.


       The -d, -l, and -u options were added in Oracle Solaris 11.0.0.


       The -b option was added in Solaris 10 1/06 (Update 1).


       The -a and -c options were added in Solaris 10 3/05.


       The -D option was added in Solaris 2.6.


       The -V option was added in Solaris 2.5.


       The  prtconf  command, including support for the -f, -F, -p, -P, and -v
       options was added in Solaris 2.0.

Oracle Solaris 11.4               6 Jan 2025                        prtconf(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3