Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
powercom(8)
Edit
PageHistory
Diff
Info
LikePages
POWERCOM !!!POWERCOM NAME SYNOPSIS DESCRIPTION OPTIONS DIAGNOSTICS FILES BUGS AUTHOR SEE ALSO ---- !!NAME powercom - UPS model driver for powercom kind of interface !!SYNOPSIS __powercom [[-h] powercom [[-d__ '''' __] -k__ ''''__ powercom [[-i__ '''' __] [[-l__ '''' __] [[-m__ '''' __] [[-s__ '''' __]__ '''' !!DESCRIPTION __powercom__ is a driver for the !PowerCom UPS. It serves as a communication channel between the UPS attached on '''' and the upsd daemon. The driver's task is to pass upsd process information about UPS state and parameters. The driver can also send the UPS instant commands. Alternatively it can instruct the UPS to shutoff the load in a timely fashion when instructed to on the command line.__ powercom__ has two modes of operation which are determined by the command line switches. In the first mode, which is what will be activated almost all the time, __powercom__ will periodically inquire the UPS for its state and parameters and have the results of this inquiries avaiable to upsd and there after for the various clients. In this mode of operation it will also have instant commands sent by upsd transferred to the UPS. This mode is operational whenever the __-k__ switch has not been given on the command line. In its second mode of operation, __powercom__ will instructs the UPS to cut of the power, possibly after some delay. This mode of operation is intended for cases when it is known that the UPS is on battery and the mains electricity supply will not be back in a short while and therefore the machine has to be turned off. !!OPTIONS -h display an help message without doing anything else. This option is the only one for which the '''' parameter is ignored and can be omitted. This option overides any other option. -d this optional flag might be used only when the UPS is instructed to cut off the power. It is meant to have __powercom__ wait additional '''' seconds before announcing that driver failed command the UPS to turn off the power to the load. -k instructs __powercom__ to order the UPS which is attached to '''' to cut off the power. -i gives the UPS that is attached to '''' the identification of the string '''' The default value for it is '' -l indicates which is the mains electricity voltage that is fed to the UPS which it is connected to. '''' Consequently, this voltage should be regarded as on line. The default value is 230 volts. -m A string that represents the model of the UPS that is attached to '''' The default name is '' -s A string that represents the serial number of the UPS that is attached to '''' The default string is '' !!DIAGNOSTICS In addition to recording activities such as first activation, instant commands and cutting the power in the system logs and the console there are clients for inspecting the state and parameters values of the UPS as well as clients for sending the UPS instant commands. !!FILES In normal operation __powercom__ will be called only from the system init scripts. These might be ''/etc/init.d/nut'' and ''/etc/init.d/halt.'' In this way of using it the configuration files ''upsd.conf'' and ''upsmon.conf'' controls its operation. These files might be in ''/etc/nut.'' Please note that all paths are system dependant. !!BUGS Some of the conversions of binary data that is reported by the UPS into numerical values, notably the battery precentage, are wrong. Yet the UPS also reports when its battery is low, which is why the bad conversion of the battery precentage does not harm the functionality of the model driver. The -d switch is ignored when not being given with conjunction with the -k switch. There is no verification or otherwise cross matching between the -i name and the corresponding name in the configuration files. !!AUTHOR The author of this model driver is Shaul Karl, !!SEE ALSO __The main controlling process is__ upsd(8) __The available clients are:__ multimon, upsc, upscmd, upsct, upsct2, upsimage.cgi, upslog, upsmon, upsset, upsstats.cgi __Other models drivers are:__ apcsmart(8), belkin(8), bestfort(8), bestups(8), engetron(8), fentonups(8), genericups(8), ipt-anzen(8), mustekups(8), optiups(8), victronups(8) __Internet resources:__ The NUT (Network UPS Tools) home page is at http://www.exploits.org/nut. NUT mailing list archives and information: http://lists.exploits.org/ ----
3 pages link to
powercom(8)
:
upsd(8)
Man8p
cyberpower(8)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.