Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Comparing netstat command in Linux and Solaris Post 303045387 by hicksd8 on Thursday 19th of March 2020 07:18:38 AM
Old 03-19-2020
How about:

Code:
# pfiles -p pid

Does that give you the information you want?

Also,

Code:
# netstat -aun

but that might not work on Solaris 10 (only Solaris 11), but try.

Last edited by hicksd8; 03-19-2020 at 08:25 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

netstat command between clustered hosts

I have 2 clustered hosts, is it possible for me to issue a netstat command against 1 host from the other ? (4 Replies)
Discussion started by: murphyboy
4 Replies

2. UNIX for Advanced & Expert Users

Netstat command

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)
Discussion started by: nagalenoj
3 Replies

3. UNIX for Dummies Questions & Answers

Solaris netstat. Newbie.

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)
Discussion started by: gwhelan
2 Replies

4. UNIX for Dummies Questions & Answers

Netstat command query

hy guys, I did netstat and it is listening, what can i do from the client side that to see if the port is open? Regards Charneet (1 Reply)
Discussion started by: charneet
1 Replies

5. Solaris

'netstat' info on Solaris

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)
Discussion started by: ak835
10 Replies

6. Shell Programming and Scripting

netstat command

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)
Discussion started by: dips_ag
5 Replies

7. UNIX for Dummies Questions & Answers

Need help with a netstat command

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)
Discussion started by: SIFT3R
6 Replies

8. Shell Programming and Scripting

netstat command to be executed for list of hosts

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)
Discussion started by: Optimus81
5 Replies

9. Shell Programming and Scripting

Help with netstat traffic server command

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)
Discussion started by: Samee
4 Replies

10. UNIX for Beginners Questions & Answers

Filtering netstat command output

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
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)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy