8980 BIOS clock is sometimes one hour fast
[unleashed.git] / usr / src / man / man1m / prtfru.1m
blobfc59f0a4cb0ffba3f974a3e972359ffa47efb2b7
1 '\" te
2 .\" Copyright (c) 2002, Sun Microsystems, Inc.  All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH PRTFRU 1M "April 9, 2016"
7 .SH NAME
8 prtfru \- print FRUID-specific information about the FRUs on a system or domain
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/prtfru\fR [\fB-d\fR] | [\fB-clx\fR] [\fIcontainer\fR]
13 .fi
15 .SH DESCRIPTION
16 .LP
17 The \fBprtfru\fR utility is used to obtain \fBFRUID\fR data from the system or
18 domain. Its output is that of a tree structure echoing the path in the
19 \fBFRU\fR (Field-Replaceable Unit) tree to each container. When  a container is
20 found, the data from that container is printed in a tree-like structure as
21 well.
22 .sp
23 .LP
24 \fBprtfru\fR without any arguments will print the \fBFRU\fR hierarchy and all
25 of the \fBFRUID\fR container data. \fBprtfru\fR prints to stdout which may be
26 redirected to a file.
27 .SH OPTIONS
28 .LP
29 The following options are supported:
30 .sp
31 .ne 2
32 .na
33 \fB\fB-c\fR \fR
34 .ad
35 .RS 7n
36 Prints \fIonly\fR the containers and their data. This option does not print the
37 \fBFRU\fR tree hierarchy.
38 .RE
40 .sp
41 .ne 2
42 .na
43 \fB\fB-d\fR \fR
44 .ad
45 .RS 7n
46 Prints a \fBDTD\fR for the current registry to stdout.
47 .RE
49 .sp
50 .ne 2
51 .na
52 \fB\fB-l\fR \fR
53 .ad
54 .RS 7n
55 Prints \fIonly\fR the \fBFRU\fR tree hierarchy. This option does not print the
56 container data.
57 .RE
59 .sp
60 .ne 2
61 .na
62 \fB\fB-x\fR \fR
63 .ad
64 .RS 7n
65 Prints in \fBXML\fR format with a system identifier (SYSTEM) of
66 \fBprtfrureg.dtd\fR.
67 .RE
69 .sp
70 .LP
71 Options \fB-c\fR and \fB-l\fR can be used together to obtain a list of the
72 containers.
73 .SH OPERANDS
74 .LP
75 The following operand is supported:
76 .sp
77 .ne 2
78 .na
79 \fB\fIcontainer\fR\fR
80 .ad
81 .RS 13n
82 The name of a particular container in the \fBFRU\fR hierarchy, that is, either
83 the name or path/name of a container as displayed in the \fB-l\fR option.
84 .RE
86 .SH EXIT STATUS
87 .LP
88 The following exit values are returned:
89 .sp
90 .ne 2
91 .na
92 \fB\fB0\fR\fR
93 .ad
94 .RS 6n
95 All information was found and printed successfully.
96 .RE
98 .sp
99 .ne 2
101 \fB\fB>0\fR\fR
103 .RS 6n
104 An error has occurred.
107 .SH SEE ALSO
109 \fBfruadm\fR(1M), \fBattributes\fR(5)