~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to man/upsrw.8

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2005-07-20 19:48:50 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050720194850-oo61wjr33rrx2mre
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
.SH SYNOPSIS
5
5
.B upsrw \fIups\fR
6
6
 
7
 
.B upsrw -h
 
7
.B upsrw \-h
8
8
 
9
 
.B upsrw -s \fIvariable\fB [-u \fIusername\fB] [-p \fIpassword\fB]
 
9
.B upsrw \-s \fIvariable\fB [\-u \fIusername\fB] [\-p \fIpassword\fB]
10
10
\fIups\fR
11
11
 
12
12
.SH DESCRIPTION
23
23
 
24
24
.SH OPTIONS
25
25
 
26
 
.IP -h
 
26
.IP \-h
27
27
Display the help message.
28
28
 
29
 
.IP "-s \fIvariable\fR"
 
29
.IP "\-s \fIvariable\fR"
30
30
Specify the variable to be changed inside the UPS.  For unattended
31
31
mode such as in shell scripts, use the format VAR=VALUE to specify both
32
32
the variable and the value, for example:
33
33
 
34
 
-s input.transfer.high=129
 
34
\-s input.transfer.high=129
35
35
 
36
36
Without this argument, upsrw will just display the list of the variables
37
37
and their possible values.
41
41
those values.  Refer to the list to know what's available in your
42
42
hardware.
43
43
 
44
 
.IP "-u \fIusername\fR"
 
44
.IP "\-u \fIusername\fR"
45
45
Set the username for the connection to the server.  This is optional,
46
 
and you will be prompted for this when using the -s option if you don't
47
 
specify -u on the command line.
 
46
and you will be prompted for this when using the \-s option if you don't
 
47
specify \-u on the command line.
48
48
 
49
 
.IP "-p \fIpassword\fR"
 
49
.IP "\-p \fIpassword\fR"
50
50
Set the password to authenticate to the server.  This is also optional
51
 
like -u, and you will be prompted for it if necessary.  
 
51
like \-u, and you will be prompted for it if necessary.  
52
52
 
53
53
.IP \fIups\fR
54
54
View or change the settings on this UPS.  The format for this option is
58
58
 
59
59
If you run this program inside a shell script or similar to set
60
60
variables, you will need to specify all of the information on the
61
 
command line.  This means using -s VAR=VALUE, -u and -p.  Otherwise it
 
61
command line.  This means using \-s VAR=VALUE, \-u and \-p.  Otherwise it
62
62
will put up a prompt and your program will hang.
63
63
 
64
64
This is not necessary when displaying the list, as the username and
65
 
password are not required for read-only mode.
 
65
password are not required for read\(hyonly mode.
66
66
 
67
67
.SH DIAGNOSTICS
68
68