Annotated edit history of
upsct(8) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
UPSCT |
|
|
2 |
!!!UPSCT |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
DIAGNOSTICS |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
upsct - example UPS client using TCP sockets |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__upsct__ ''ups'' |
|
|
18 |
!!DESCRIPTION |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__upsct__ retrieves UPS data just like upsc(8), |
|
|
22 |
but it uses TCP instead of UDP. This makes it possible to |
|
|
23 |
use it in situations where the link between the client and |
|
|
24 |
the server is less than ideal. |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
It can also be used inside shell scripts and other programs |
|
|
28 |
that need UPS data but don't want to include the full |
|
|
29 |
interface. |
|
|
30 |
!!OPTIONS |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
''ups'' |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
Display the status of that UPS. The format for this option |
|
|
37 |
is [[upsname@]hostname[[:port]. |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
For example, |
|
|
41 |
upsd__(8) running on port 1234. |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
Using an argument like |
|
|
45 |
!!DIAGNOSTICS |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
upsct will either print a list of all supported variables |
|
|
49 |
and their values on the UPS or an error message. If you |
|
|
50 |
receive an error, make sure you have specified a valid UPS |
|
|
51 |
on the command line, that upsd(8) is really running |
|
|
52 |
on the other host and that no firewalls are blocking |
|
|
53 |
you. |
|
|
54 |
!!SEE ALSO |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
upsd(8), upsc(8) |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
__Internet resources:__ |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
The NUT (Network UPS Tools) home page: |
|
|
64 |
http://www.exploits.org/nut/ |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
NUT mailing list archives and information: |
|
|
68 |
http://lists.exploits.org/ |
|
|
69 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.