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 FRUADM 1M "Feb 22, 2002"
8 fruadm \- prints and updates customer data associated with FRUs
12 \fB/usr/platform/sun4u/sbin/fruadm\fR
17 \fB/usr/platform/sun4u/sbin/fruadm\fR \fB-l\fR
22 \fB/usr/platform/sun4u/sbin/fruadm\fR [\fB-r\fR] \fIpath\fR [\fItext\fR]
28 \fBfruadm\fR prints or sets the customer data for Field-Replaceable Units
32 Without arguments, \fBfruadm\fR prints the paths of all \fBFRU ID\fR-capable
33 \fBFRU\fRs (containers) in the system, along with the contents of the customer
34 data record, if present, for each such \fBFRU\fR; for \fBFRU\fRs without
35 customer data, \fBfruadm\fR prints only the container's path.
38 Only a privileged user can create or update data in containers. The privileges
39 required to perform these write operations are hardware dependent. Typically, a
40 default system configuration restricts write operations to the superuser or to
41 the platform-administrator user.
45 The following options are supported:
52 List the system's frutree paths.
61 Recursively display or update the data for all containers rooted at the
68 The following operands are supported:
75 A full or partial system frutree path for or under which to print or set the
76 customer data. The first field of each line of output of \fBfruadm \fR\fB-l\fR
77 gives the valid full \fBfrutree\fR paths for the system.
79 Paths can include shell meta-characters; such paths should be quoted
80 appropriately for the user's shell. For partial paths, the first matching full
81 path is selected for display or update. Without the \fB-r\fR option, the path
82 must be that of a container; with the \fB-r\fR option, all containers (if any)
83 under \fIpath\fR will be selected.
92 Up to 80 characters of text set as the customer data. If the text contains
93 white space or shell metacharacters, it should be quoted appropriately for the
99 \fBExample 1 \fRDisplaying All Customer Data
102 The following example prints all customer data available from \fBFRU\fRs on the
103 system. For containers with no customer data, only the containers' paths will
115 \fBExample 2 \fRDisplaying Customer Data For a Single FRU
118 The following command prints the customer data, if present, for the specified
124 example% fruadm /frutree/chassis/system-board
130 \fBExample 3 \fRDisplaying Customer Data For a Single FRU
133 The following command prints the customer data, if present, for the first
134 \fBmem-module\fR found:
139 example% fruadm mem-module
145 \fBExample 4 \fR Setting Customer Data
148 The following example sets the customer data for a \fBFRU\fR:
153 example# fruadm system-board 'Asset Tag 123456'
159 \fBExample 5 \fRSetting Customer Data
162 The following command sets the customer data for all \fBFRU\fRs under
168 example# fruadm -r /frutree/chassis "Property of XYZ, Inc."
176 The following exit values are returned:
183 Successful completion.
198 See \fBattributes\fR(5) for descriptions of the following attributes:
206 ATTRIBUTE TYPE ATTRIBUTE VALUE
208 Interface Stability Unstable
214 \fBprtfru\fR(1M), \fBattributes\fR(5)