20
omhelp: Getting Help With CLI Commands
Figure 2-1.
Different Levels of Help for a Command
You can also parse the
omconfig system assetinfo
command as follows:
<command level 1 command level 2 command level 3> <name=value pair 1>
[name=value pair 2]
where command levels 1, 2, and 3 are represented by
omconfig system assetinfo
, name=value pair 1 is
represented by
info=depreciation
, and name=value pair 2 is represented by
method=straightline
.
To set your depreciation method to straight line, type:
omconfig system assetinfo info=depreciation method=straightline
The CLI responds with the following message:
Asset information set successfully.
When you type
omconfig system assetinfo -?
, the help that displays provides information
about assigning values for the name and option fields. Partial results for the request
omconfig system
assetinfo -?
are as follows:
assetinfo Set asset information.
For one info value, specify one or more optional parameter(s). Table 2-1 displays the optional parameters
for
info=acquisition
:
Table 2-1.
Optional Parameters
Info Value
Optional parameters
Info=acquisition purchasecost=<num>
waybill=<num>
installdate=<mmddyy>
purchasedate=<mmddyy>
ponum=<num>
signauth=<text>
expensed=<yes|no>
costcenter=<text>
info=depreciation
method=<text>
duration=<num>
percent=<percent>
unit=<months|years|unknown>
Summary of Contents for Command Line Interface
Page 12: ...12 Contents ...
Page 50: ...50 omreport Viewing System Status Using the Instrumentation Service ...
Page 100: ...100 omconfig Managing Components Using the Instrumentation Service ...
Page 118: ...118 omreport rac Viewing Remote Access Controller Components ...
Page 134: ...134 omconfig rac Managing the Remote Access Controller ...
Page 186: ...186 Using the Storage Management Service ...
Page 214: ...214 Glossary ...
Page 226: ...26 Index 226 Index ...