Can you explain code we con't count succ_count and error count using below code
can you correct my code
any body correct and clarify my doubt
how to count successfully fully copied files from source to target location
else error_count if directory not exist or file not exist at source location.
i want below manner
Hi, need help how to count unique destination for the source ip. The file is contains 4 number of fields. Example of the file is here
src ip dest ip #of flows total bytes
192.168.6.0 88.0.33.2 12 128
192.168.6.0 88.0.33.2 1 168
192.168.6.0 ... (5 Replies)
Hello Techies,
m here with a small issue. Have read out all the relavent threads on unix.com but it was not so good sol. for me.
It's a simple & known issue. I want to move lots of files to dest folder. Actually I want to pick up 1 year older files, but that is even taking lots of... (16 Replies)
Move all files starting with a specific name to different directory.
This shell script program should have three parameters
File Name
Source Directory
Destination Directory
User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
I'd like to specify a different build and deployment path for files, by default the same path is used for both build and install, I wasn't able to find a way to make these different. With Solaris pkgadd, one can specify different paths in prototype, so I would assume something like that is possible... (0 Replies)
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
20 Replies
6. Post Here to Contact Site Administrators and Moderators
Hi guys...please any one help me ....
how to copy files from source to target location
if 5 files copied successfully out of 10 files then implement success=10
and if remaining 5 files not copied successfully then count error=5
how to implement this condition with in loop
i need code linux... (0 Replies)
Hi Guys,
how to count number of files successfully copied while coping files from source to destination path
ex:10 files from source to target location copying
if 8 files copied successfully then
echo successfully copied=8
failure=2 files
if two files get error to coping files... (2 Replies)
hi All, Any one answer my requirement.
I have source location
src_dir="/home/oracle/arun/IRMS-CM"
My Target location
dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct"
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Hi All,
Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder.
using the find command . Could you please assist me how to put the automation using the shell script .
... (11 Replies)
Is there a way to find out all the ports open between source IP & destination IP in any way ? (12 Replies)
Discussion started by: UnknownGuy
12 Replies
LEARN ABOUT CENTOS
ib_acme
ib_acme(7) ib_acme ib_acme(7)NAME
ib_acme - test and configuration utility for the IB ACM
SYNOPSIS
ib_acme [-f addr_format] [-s src_addr] -d dest_addr [-v] [-c] [-P] [-S svc_addr] [-C repetitions]
ib_acme [-A [addr_file]] [-O [opt_file]] [-D dest_dir] [-V]
DESCRIPTION
ib_acme provides assistance configuring and testing the ibacm service. The first usage of the service will test that the ibacm is running
and operating correctly. The second usage model will automatically create address and configuration files for the ibacm service.
OPTIONS -f addr_format
Specifies the format of the src_addr and dest_addr parameters. Valid address formats are: 'i' ip address, 'n' host name, 'l' lid,
'g' gid, and 'u' unspecified. If the -f option is omitted, an unspecified address format is assumed. ib_acme will use getaddrinfo
or other mechanisms to determine which format the address uses.
-s src_addr
Specifies the local source address of the path to resolve. The source address can be an IP address, system network name, or LID, as
indicated by the addr_format option.
-d dest_addr
Specifies the destination address of the path to resolve. The destination address can be an IP address, system network name, or
LID, as indicated by the addr_format option.
-v Indicates that the resolved path information should be verified with the active IB SA. Use of the -v option provides a sanity check
that resolved path information is usable given the current cluster configuration.
-c Instructs the ACM service to only returned information that currently resides in its local cache.
-P Queries performance data from the destination service
-S svc_addr
address of ACM service, default: local service
-C repetitions
number of repetitions to perform resolution. Used to measure performance of ACM cache lookups. Defaults to 1.
-A [addr_file]
With this option, the ib_acme utility automatically generates the address configuration file ibacm_addr.cfg. The generated file is
constructed using the system host name and any IP addresses that are assigned to IPoIB device instances.
-O [opt_file]
With this option, the ib_acme utility automatically generates the option configuration file ibacm_opts.cfg. The generated file is
currently generated using static information.
-D dest_dir
Specify the destination directory for the output files.
-V Enables verbose output. When combined with -A or -O options, ib_acme will display additional details, such as generated address
information saved to the ibacm_addr.cfg file.
NOTES
The ib_acme utility performs two main functions. With the -A and -O options, it automatically generates address or options configuration
files. The generated files are text based and may be edited. These options are intended to provide a simple way to configure address and
option information on all nodes on a cluster.
The other function of the ib_acme utility is to test the ibacm service, including helping to verify that the service is usable given the
current cluster configuration. The ib_acme utility can resolve IP addresses, network names, or IB LIDs into a path record. It can then
compare that path record against one obtained by the SA. When used to test the ibacm service, the ib_acme utility has the side effect of
loading the ibacm caches.
Multiple, numerical destinations can be specified by adding brackets [] to the end of a base destination name or address. Users may spec-
ify a list of numerical ranges inside the brackets using the following example as a guide: node[1-3,5,7-8]. This will result in testing
node1, node2, node3, node5, node7, and node8.
SEE ALSO ibacm(7), ibacm(1)ib_acme 2013-06-21 ib_acme(7)