Hi..,
Now, I am reading about the netstat command and its implementation. I have doubts in some options and its functionalities,
natstat - M (Which is described as display masqueraded connections), what it means?
What is Forwarding Information Base.?(--fib)
Thanks in advance,... (3 Replies)
Hi,
I currently have two processes running on my Solaris server that are hogging the cpu. I am confident that these two processes are caused by remote users logged into the oracle database on the server.
What I need to know is how to get the corresponding ip address associated with the... (2 Replies)
Hello All
I just wanted to know if on solaris ,below two commands need to be run separately unlike AIX where "/usr/bin/netstat -an -f inet " gives tcp as well as udp info.
/usr/bin/netstat -an -f inet -P tcp
/usr/bin/netstat -an -f inet -P udp
Also is there any way i can make these two... (10 Replies)
Hi,
In my project we use sftp with batch mode (password less) script in parallel for 14 sessions which connects to 2 different servers alternatively i.e. 7 connects to one server say server1 and the other 7 connects to say server 2.
Now the problem is that these 14 sessions are run in... (5 Replies)
Do I have this command correct to show all current connections/sessions my Solaris box has? It does not seem to do anything.
netstat -an | grep EST (6 Replies)
Hi All,
Need to run the netstat -i command on the list of hosts and check if "Ierrs" and "Oerrs" has value greaterthan 0.
for Ex: below output, driver bge1 and bge3 has Oerrs and Ierrs value > 0, So, script should report saying
"Netstat status for $host, driver bge1 has Oerrs = 20, Failed"... (5 Replies)
Help required for creating a unix shell script using netstat command for retrieving total traffic in Kbytes with the source and destination address. (4 Replies)
Hi All,
I am trying to collect the listen ports info from netstat command in centos 7
From that info i am trying to collect all the foreign address IP for those ports.
I am using below script to do the same.
netstat -an |grep -w "LISTEN" |grep -v "127.0.0.1" |awk '{print $4}' >... (3 Replies)
Discussion started by: sravani25
3 Replies
LEARN ABOUT HPUX
cmscancl
cmscancl(1m)cmscancl(1m)NAME
cmscancl - gather system configuration information from nodes with Serviceguard installed.
SYNOPSIS
cmscancl [-n node_name]... [-s|-o output_file]
DESCRIPTION
cmscancl is a configuration report and diagnostic tool intended only for use by HP Support Personnel. It gathers system software and hard-
ware configuration information from a list of nodes, or from all the nodes in a cluster. The information that this command displays
includes LAN device configuration, network status and interfaces, file systems, LVM configuration, link-level connectivity (HPUX only),
IPv4/IPv6 connectivity, and the data from the binary cluster configuration file. This command can be used as a troubleshooting tool or as
a data collection tool.
This command is a Perl script which gathers system configuration information by executing various OS commands or tools. It uses the cmexec
command to gather information from remote nodes.
The -n option can be used to specify a list of nodes to be scanned, the nodes to be scanned do not need to be a member of a cluster. If
the -n option is not specified, it will scan all the nodes in the local cluster.
By default, the output of this command will go to the file /tmp/scancl.out. If the file /tmp/scancl.out already exists, the old file will
be saved in /tmp/scancl.out.old.
The -o option can be used to redirect output to a specified output file. If the -o option is not specified, output will go to the default
output file /tmp/scancl.out.
The -s option can be used to direct all output to the screen, instead of to an output file.
Options
cmscancl supports the following options:
-n node_name... Specify the node(s) to be scanned. If this option is not specified and there is a cluster configured, all the
nodes in the cluster will be scanned. If this option is not specified and there is no cluster configured, only the
local node will be scanned.
-o output_file Write configuration information to a specified output file. If this option is not specified, the information will
be directed to stdout.
-s Display the configuration information to the screen only. This option cannot be used in conjunction with the -o
option.
The output from this command contains the following information:
LAN device configuration (On HP-UX, output from lanscan; On Linux, output from ifconfig)
network status and interfaces (output from netstat)
file systems (output from mount)
LVM configuration (contents of /etc/lvmtab file)
LVM physical vg information (contents of /etc/lvmpvg file)
link-level connectivity (HP-UX only)
(output from linkloop)
IPv4/IPv6 connectivity (results from ping (and ping6 on Linux))
binary configuration file data
(output from cmviewconf)
RETURN VALUE
cmscancl returns the following value:
0 Successful completion.
1 Command failed.
EXAMPLES
To gather the configuration information from node1 and node2 and to save the output in file /tmp/scancl.log:
cmscancl -n node1 -n node2 -o /tmp/myscancl.log
To gather the configuration information from all the nodes in the cluster and save the output to the file: /tmp/scancl.log:
cmscancl -o /tmp/myscancl.log
To gather the configuration information from all the nodes in the cluster and display the output on the screen:
cmscancl -s
To gather the configuration information from all the nodes in the cluster and save the output to the file /tmp/scancl.out:
cmscancl
AUTHOR
cmscancl was developed by HP.
SEE ALSO
Linux:
cmviewcl(1), mount(8), netstat(8), ping(8), ping6(8)
HP-UX:
cmviewcl(1m), lanscan(1m), linkloop(1m), mount(1m), netstat(1), ping(1m)
Requires Optional Serviceguard Software cmscancl(1m)