Machine Administration Guide 2.6
Contents Index PreviousNext

Chapter 4 Command Reference

4.32 setbattlife (1M)

Name
setbattlife - Battery life monitoring display/setting command
Format
/usr/sbin/FJSVmadm/setbattlife battery_name [yyyymm | -d]
Function
Displays or sets battery life monitoring.
Option
The options are:
battery_name
Specify the battery name.
Specify a UPS battery name in the form of UPS-B#n.
Specify a disk array battery name in the form of DARY-B#n.
n is a battery identification number.
If you specify only a battery name, the system displays the month and year when the life of the specified battery is due to expire.
yyyymm
Displays the month and year when the life of the specified battery is due to expire.
The life of a battery is the year and month indicated on the label attached to the battery.
For the following disk array, the year and month indicated on a battery label indicates the date when the battery was manufactured. Specify the life of the battery as two years later from the indicated date.

F6403XX

-d
If you remove a battery, specify the battery name, and delete the life monitoring information using this parameter.
Example of use
The following shows an example of setting the life of UPS-B#2.
# /usr/sbin/FJSVmadm/setbattlife UPS-B#2 200312

The following shows the example of displaying the life of UPS-B#0.

# /usr/sbin/FJSVmadm/setbattlife UPS-B#0 
UPS-B#0  2001/10
End status
The end status can be:
0: Normal end
Other than 0: Error

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2001-2005
All Rights Reserved, Copyright (C) PFU LIMITED 2001-2005