1CONDOR_POWER(1) HTCondor Manual CONDOR_POWER(1)
2
3
4
6 condor_power - HTCondor Manual
7
8 send packet intended to wake a machine from a low power state
9
10
12 condor_power [-h ]
13
14 condor_power [-d ] [-i ] [-m MACaddress] [-s subnet] [ClassAdFile ]
15
17 condor_power sends one UDP Wake on LAN (WOL) packet to a machine speci‐
18 fied either by command line arguments or by the contents of a machine
19 ClassAd. The machine ClassAd may be in a file, where the file name
20 specified by the optional argument ClassAdFile is given on the command
21 line. With no command line arguments to specify the machine, and no
22 file specified, condor_power quietly presumes that standard input is
23 the file source which will specify the machine ClassAd that includes
24 the public IP address and subnet of the machine.
25
26 condor_power needs a complete specification of the machine to be suc‐
27 cessful. If a MAC address is provided on the command line, but no sub‐
28 net is given, then the default value for the subnet is used. If a sub‐
29 net is provided on the command line, but no MAC address is given, then
30 condor_power falls back to taking its information in the form of the
31 machine ClassAd as provided in a file or on standard input. Note that
32 this case implies that the command line specification of the subnet is
33 ignored.
34
35 condor_power relies on the router receiving the WOL packet to correctly
36 broadcast the request. Since routers are often configured to ignore re‐
37 quests to broadcast messages on a different subnet than the sender, the
38 send of a WOL packet to a machine on a different subnet may fail.
39
41 -h Print usage information and exit.
42
43 -d Enable debugging messages.
44
45 -i Read a ClassAd that is piped in through standard input.
46
47 -m MACaddress
48 Specify the MAC address in the standard format of six groups
49 of two hexadecimal digits separated by colons.
50
51 -s subnet
52 Specify the subnet in the standard form of a mask for an IPv4
53 address. Without this option, a global broadcast will be
54 sent.
55
57 condor_power will exit with a status value of 0 (zero) upon success,
58 and it will exit with the value 1 (one) upon failure.
59
61 HTCondor Team
62
64 1990-2023, Center for High Throughput Computing, Computer Sciences De‐
65 partment, University of Wisconsin-Madison, Madison, WI, US. Licensed
66 under the Apache License, Version 2.0.
67
68
69
70
71 Oct 02, 2023 CONDOR_POWER(1)