The following code uses the entire line from "m-names2.txt" i.e. "167.0.0.0/8" instead of just "167.0.0.0".
But I think the problem lies in this line: "@dnsoptions = `./getobjectlst.exe -u Xxx-p Xxx -a $subnet -o rich`;".
It does not capture stderr of getobjectlst.exe, which is thrown out to the terminal (the text in bold red below).
If "getobjectlst.exe" fails, then the text in bold red does not get assigned to @dnsoptions.
But if "getobjectlst.exe" is successful, then the output does get assigned to @dnsoptions.
hi guys,
I have a requirement to run a script 4 times with different parameter values.
the 4 jobs have to run parallely which actually access different data of same table and deletes.
how can i achieve this.................?
Thanks in advance (1 Reply)
Hi Guys, I am trying write a wrapper script but I don't have any idea. I have 4 different korn shell scripts and all of them needs some parameters from command line (positional parameter). My script cant be interactive because its supposed to be automated. I am confused how can I write a wrapper... (6 Replies)
Hello,
I have the below wrapper script:
#!/usr/bin/perl -w
if ($^O eq 'MSWin32' ) {
$subnet = 'c:\path\to\subnet.txt';
}
else {
$subnet = '/opt/qip/wrapper-del-sub';
}
open FH1, 'jj-deleted-subnets.txt' or die "Can't open 'jj-deleted-subnets.txt'
... (0 Replies)
Hi,
I am in need of way to facilitate this senerio in a perl script.
I have CLI ( command line interface) which I run like so:
kip-tepltist -u Xxx -p Xxx
Which produces tones of names from each template it found:
194Iselin-NJ
33-IDFLB-North-611-Woodward-8600 ... (5 Replies)
I have tried looking through wrapper scripts throughout the forum, but I don't think they were able to answer my question (either that or I'm just confused).
Basically, I have a Perl script that I want to run in parallel 4 times with parameters, wait for all of them to finish, then run another... (8 Replies)
Hi,
I am writing a wrapper script(wrap_script.sh) to one of the main scripts (main_script.sh)
The main script is executed as following:
./main_script.sh <LIST> <STARTDATE> <ENDDATE>
looks for a parameter which is a LIST(consists of different list names that need to be processed), START/END... (0 Replies)
I have a KSH script that I want to call in a loop for each row in the above table
---
new_script.ksh (psuedo code)
the contents on this new script would be something like below...
for t in (select table_name,schema_name from laod_table)
loop
/bin/load_table.ksh t.table_name... (4 Replies)
Hi friends,
i am working in ksh88. i am running the follwing wapper script in background to run two jobs parallely((eg nohup wrapper.ksh &)::
wrapper.ksh
########################
#!/bin/ksh
nohup ./pii_insert.ksh /nsing83/p2/test &
nohup ./pii_update.ksh... (1 Reply)
Hi Gurus,
I need to build a wrapper script which will be passing the loading date and the data file name (provides option to the user to load a single data file or load all the data files) to the actual loader data_load.ksh to load in the database.
1. I want to execute the loader script... (6 Replies)
Discussion started by: express14
6 Replies
LEARN ABOUT DEBIAN
condor_power
condor_power(1) General Commands Manual condor_power(1)Name
condor_power send - packet intended to wake a machine from a low power state
Synopsis
condor_power [-h]
condor_power[-d] [-m MACaddress] [-s subnet] [ClassAdFile]
Description
condor_powersends one UDP Wake on LAN (WOL) packet to a machine specified either by command line arguments or by the contents of a machine
ClassAd. The machine ClassAd may be in a file, where the file name specified by the optional argument ClassAdFileis given on the command
line. With no command line arguments to specify the machine, and no file specified, condor_powerquietly presumes that standard input is the
file source which will specify the machine ClassAd that includes the public IP address and subnet of the machine.
condor_powerneeds a complete specification of the machine to be successful. If a MAC address is provided on the command line, but no subnet
is given, then the default value for the subnet is used. If a subnet is provided on the command line, but no MAC address is given, then
condor_powerfalls back to taking its information in the form of the machine ClassAd as provided in a file or on standard input. Note that
this case implies that the command line specification of the subnet is ignored.
Options-h
Print usage information and exit.
-d
Enable debugging messages.
-m MACaddress
Specify the MAC address in the standard format of six groups of two hexadecimal digits separated by colons.
-s subnet
Specify the subnet in the standard form of an IP address. Without this option, the default subnet used will be 255.255.255.255, causing
a broadcast.
Exit Status
condor_powerwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu
September 2012 condor_power(1)