thanks guys & sorry for delayed response, as I was away. But this is not I am looking for, what I need is something like below :
This should give me the list of all open ports between two systems, we are using red hat linux 6.10 ( Santiago ), please help if at all this is possible to achieve.
Maybe you will be happy on Linux with this:
... for starters... and you can process the text further as you like?
Quote:
You can't always get what you want. But if you try sometimes, you just might get what you need. - Rolling Stones
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)
Hi all,
I have some doubts in selecting the interface to transfer packets and receive the packets.
--> Multiple interfaces :
--------------------
1) 0.0.0.0 --------> wild card address.
2) x.x.x.x --------> valid address.(192.168.1.156)
3) ff.ff.ff.ff -------->... (0 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 Everyone,
I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (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 from... (23 Replies)
Discussion started by: sravanreddy
23 Replies
LEARN ABOUT DEBIAN
perfquery
PERFQUERY(8) OpenIB Diagnostics PERFQUERY(8)NAME
perfquery - query InfiniBand port counters
SYNOPSIS
perfquery [-d(ebug)] [-G(uid)] [-e(xtended)] [-a(ll_ports)] [-l(oop_ports)] [-r(eset_after_read)] [-R(eset_only)] [-C ca_name] [-P ca_port]
[-t(imeout) timeout_ms] [-V(ersion)] [-h(elp)] [<lid|guid> [[port] [reset_mask]]]
DESCRIPTION
perfquery uses PerfMgt GMPs to obtain the PortCounters (basic performance and error counters) or PortExtendedCounters from the PMA at the
node/port specified. Optionally shows aggregated counters for all ports of node. Also, optionally, reset after read, or only reset coun-
ters.
Note: In both PortCounters and PortCountersExtended, components that represent Data (e.g. PortXmitData and PortRcvData) indicate octets
divided by 4 rather than just octets.
Note: Inputting a port of 255 indicates an operation be performed on all ports.
OPTIONS -e, --extended
show extended port counters rather than (basic) port counters. Note that extended port counters attribute is optional.
-a, --all_ports
show aggregated counters for all ports of the destination lid or reset all counters for all ports. If the destination lid does not
support the AllPortSelect flag, all ports will be iterated through to emulate AllPortSelect behavior.
-l, --loop_ports
If all ports are selected by the user (either through the -a option or port 255) iterate through each port rather than doing than
aggregate operation.
-r, --reset_after_read
reset counters after read
-R, --Reset_only
only reset counters
COMMON OPTIONS
Most OpenIB diagnostics take the following common flags. The exact list of supported flags per utility can be found in the usage message
and can be shown using the util_name -h syntax.
# Debugging flags
-d raise the IB debugging level.
May be used several times (-ddd or -d -d -d).
-e show send and receive errors (timeouts and others)
-h show the usage message
-v increase the application verbosity level.
May be used several times (-vv or -v -v -v)
-V show the version info.
# Addressing flags
-G use GUID address argument. In most cases, it is the Port GUID.
Example:
"0x08f1040023"
-s <smlid> use 'smlid' as the target lid for SM/SA queries.
# Other common flags:
-C <ca_name> use the specified ca_name.
-P <ca_port> use the specified ca_port.
-t <timeout_ms> override the default timeout for the solicited mads.
Multiple CA/Multiple Port Support
When no IB device or port is specified, the port to use is selected by the following criteria:
1. the first port that is ACTIVE.
2. if not found, the first port that is UP (physical link up).
If a port and/or CA name is specified, the user request is attempted to be fulfilled, and will fail if it is not possible.
EXAMPLES
perfquery # read local port performance counters
perfquery 32 1 # read performance counters from lid 32, port 1
perfquery -e 32 1 # read extended performance counters from lid 32, port 1
perfquery -a 32 # read perf counters from lid 32, all ports
perfquery -r 32 1 # read performance counters and reset
perfquery -e -r 32 1 # read extended performance counters and reset
perfquery -R 0x20 1 # reset performance counters of port 1 only
perfquery -e -R 0x20 1 # reset extended performance counters of port 1 only
perfquery -R -a 32 # reset performance counters of all ports
perfquery -R 32 2 0x0fff # reset only error counters of port 2
perfquery -R 32 2 0xf000 # reset only non-error counters of port 2
AUTHOR
Hal Rosenstock
<halr@voltaire.com>
OpenIB March 29, 2007 PERFQUERY(8)