What if you create a file including the list of numbers:
batch_num.lst
6000
6001
6002
1010
...
Then your execution script could do something like the following (in sort of code - as I have only had one cup of coffee this morning!)
You could perhaps do the same kind of logic with the whole command lines as you provided, but still need to do error-checking after each cycle to determine if you should comment-out the successful execution.
Hi,
I am not aware whether any one has posted this early or not.
I am creating a house keeping script in which I give the user two options:
1. creating a zip file.
2. removing all files given by user.
Before taking any action I am asking user to
enter full path of file or files to be... (7 Replies)
Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in.
Is there a way to see when ftp users log in... (1 Reply)
I found some posts describing how to completely clean out a mailbox in Unix/Linux. But I want to keep the 50 most recent messages. Any ideas out there?
Thanks! (3 Replies)
Hello,
I am trying to write a script that turns off the screensaver for a certain period of time, then come back on. I have had it up and running for a while, but then I decided to refactor it a bit for my family members that are less computer savvy.
I am starting a subshell for the "meat" of... (4 Replies)
Hi Dudes,
Can you please suggest me how to create a logfile to track the below script output ? Thanks
#!/bin/ksh
# backup the "std" I/P file descriptor
exec 5<&0
#echo "Proceed ?"
while read config_line; do
# backup the I/P file descriptor of "while" block
exec 6<&0
# restore the... (2 Replies)
Hello,
Sorry for the poor tilte but I still don't know how to this.
Here is my problem.
I have to huge log file. In this log file I can know where is stored all my files. As I have to get a reporting of of files I only need to keep the file name but I don't know how to do it. I hope you... (5 Replies)
i have a scenario where i need a script that monitors a process "Monitor" based on process id... there can be any number of instances of this running... i start this across 4 servers in NFS. Now i need a file which has the process ids of the process that are currently in execution at any... (9 Replies)
Hi, wondering if it's been asked before but didn't find matches from google. Basically I have this line:
myvar=$(echo -e "a\tb")
Now somehow the '\t' from the echo output gets replaced with white space and then stored in $myvar.
It creates a problem for me later to use tab as delimiter to do... (2 Replies)
How can i track all the files accessed by script. The script is supposed to bring up my application and this script is just the main script which inturn calls another scripts and executable. I need to know all the the files this main script calls and the files accessed by all the other scripts... (2 Replies)
Please tell me the script, if any user ping my pc so leave his ip, mac and other identity on my pc. (1 Reply)
Discussion started by: abhihot95
1 Replies
LEARN ABOUT DEBIAN
ibdmchk
IBDMCHK(1) IB DATA MODEL PACKAGE IBDMCHK(1)NAME
IBDM - Network Checker and Attributes Analyzer
SYNOPSYS
ibdmchk has two operation modes: design and verification.
DESIGN:
ibdmchk [-v][-h][-u][-a <roots file>] -t <topology file> -n <SM Node>
-p <SM Port> [-e] [-l <lmc>]
VERIFICATION:
ibdmchk [-v][-h][-r <roots file>] [-s <subnet file>] [-f <fdb file>]
[-l <lmc>]
DESIGN MODE DESCRIPTION
The Design mode is intended to be used before the cluster is built. It provides basic checks of the specified network as described by a
topology file. After simulating the SM LID assignment and routing algorithms it provides reports of the (H)CA to (H)CA paths depth his-
togram and credit deadlock potential in the resulting routing scheme.
ARGUMENTS :
-t|--topo <topo file>
The topology file specifying the network. See man ibdm-topology-file
-n|--node <SM Node>
The name of the Subnet Manager node (syntax: <Topo-File-System>/U1)
-p|--port <SM Port>
The port number by which the SM nodes is attached to the fabric.
OPTIONS
-v|--verbose
Verbsoe mode
-h|--help
Provides this help message
-l|--lmc <lmc>
LMC value > 0 means assigning 2^lmc lids to each port.
-e|--enh
Use enhanced routing algorithm when LMC > 0 and report the resulting paths correlation (using same system/node) histogram
-u|--updn
Use up/down routing algorithm instead of OpenSM min-hop.
-r|--roots <roots file> A file with all the roots node names (one on each line).
VERIFICATION MODE DESCRIPTION
After the cluster is built and OpenSM is run (using flag -D 0x43) it reports the subnet and FDB tables into the files osm-subnet.lst,
osm.fdbs and osm.fdbs in /var/log/ (or subnet.lst, osm.fdbs and osm.mcfdbs into /tmp in older OpenSM versions). Based on these files the
utility checks all CA to CA connectivity. Further analysis for credit deadlock potential is performed and reported. In case of an LMC > 0
it reports histograms for how many systems and nodes are common between the different paths for the same port pairs.
ARGUMENTS
-l|--lmc <lmc>
The LMC value used while running OpenSM. Mandatory if not the default 0.
OPTIONS
-v|--verbose
Verbsoe mode
-h|--help
Provides this help message
-s|--subnet <file>
OpenSM subnet.lst file (default is /var/log/osm-subnet.lst or /tmp/subnet.lst)
-f|--fdb <file>
OpenSM dump of Ucast LFDB. Use -D 0x41 to generate it (default is /var/log/osm.fdbs or /tmp/osm.fdbs).
-m|--mcfdb <file>
OpenSM dump of Multicast LFDB. Use -D 0x41 to generate it (default is /var/log/osm.mcfdbs or /tmp/osm.mcfdbs).
-r|--roots <roots file>
A file holding all root nodes guids (one per line).
AUTHOR
Eitan Zahavi, Mellanox Technologies LTD, eitan@mellanox.co.il
IBDM 1.0 2008-06-16 IBDMCHK(1)