What is the command used to list all connections on a host?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What is the command used to list all connections on a host?
# 1  
Old 11-16-2015
What is the command used to list all connections on a host?

give the syntax
# 2  
Old 11-16-2015
More information than that would be good?

What hardware?

What operating system?

Are you talking about network interfaces? Or login sessions?

Generic unix/Linux answers are:

Network interfaces:

Code:
 
 # ifconfig -a

Login sessions:

Code:
 
 # who

More information please..............
# 3  
Old 11-16-2015
If "connections" means sockets:

Code:
netstat -an

# 4  
Old 11-16-2015
hick

Quote:
Originally Posted by hicksd8
More information than that would be good?

What hardware?

What operating system? linux operating system

Are you talking about network interfaces? Or login sessions?:network interface

Generic unix/Linux answers are: unix

Network interfaces: yes

Code:
 
 # ifconfig -a

Login sessions:

Code:
 
 # who

More information please..............
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Command host with awk

Hi all, Please, why "echo" instruction: iphost="$(ssh root@$machine -x "host $machine | awk '/has address/ { print $4 }'")" echo $iphost display: g-3.xx.yyy.zz has address 172.16.65.35 instead of: 172.16.65.35 ? Perharps, i have to extract 172.16.65.35 from the... (5 Replies)
Discussion started by: chercheur111
5 Replies

2. Shell Programming and Scripting

Copy a file from local host to a list of remote hosts --- perl script

Hi friends, i need to prepare a script ( in perl) i have a file called "demo.exe" in my local unix host. i have a list of remote hosts in a file "hosts.txt" now i need to push "demo.exe" file to all the hosts in "hosts.txt" file. for this i need to prepare a script(in perl, but shell... (5 Replies)
Discussion started by: siva kumar
5 Replies

3. UNIX for Advanced & Expert Users

Not logging ftp connections in /var/adm/wtmpx file (in last command output)

Hi all, I have F5 load balancer on my system and checking service status by opening an ftp session in every 30 seconds. These ftp sessions are being logged in /var/adm/wtmpx and filling up the file. when i run the last command most of the output is this ftp session. I was wondering if there is a... (1 Reply)
Discussion started by: cepxat
1 Replies

4. AIX

How to list the current ftp connections?

Hello, I need to know How to list the ""current"" ftp connections? the machine is AIX 6.1 Regards Ahmed Amer Cairo,Egypt (5 Replies)
Discussion started by: ahmedamer12
5 Replies

5. Red Hat

Menu system for terminal like Putty for host /ip list

Is there a way to create a menu in Gnome terminal to have a list of hosts with ip's like in Putty on Windows? (2 Replies)
Discussion started by: jlouki01
2 Replies

6. IP Networking

ping can not recognize host but host command can

Hi, I have a weird problem. when ever I do ping command like for example ping unix.comI get the following message: # ping unix.com ping: unknown host unix.com but when I use host the computer is able to know the host. # host unix.com unix.com has address 81.17.242.186 unix.com mail is... (2 Replies)
Discussion started by: programAngel
2 Replies

7. UNIX for Dummies Questions & Answers

Host command

hi guys I have standalone Suse 10 SP3 that when I run # hostname webserver but when I run host command # host webserver ;; connection timed out; no servers could be reached I would like to get the IP when I issue host webserver x.x.x.x and the name when host x.x.x.x... (1 Reply)
Discussion started by: karlochacon
1 Replies

8. Shell Programming and Scripting

Get IP section from host command

How do i get only the IP part from a host call. For example in my script i put #!/bin/sh - # # @(#)daily.local Tim Golding # # Back up server_ip=`host roadhaulage.com` echo $server_ip This echos the following roadhaulage.com has address 86.54.98.194 roadhaulage.com... (5 Replies)
Discussion started by: timgolding
5 Replies

9. Solaris

List all resources on physical host LDOM server

Hello, I have a SUN T5240 running Solaris 10 with Logical Domain Manager (v 1.0.3). You can use the "ldm" command to display current resources on the box. Is there away to display all the "physical resources" on the box(i.e.,used and unused). For example, "ldm ls" will tell me what the... (5 Replies)
Discussion started by: stephanpitts
5 Replies

10. UNIX for Advanced & Expert Users

using: ssh host command

I will remote a connection to a Unix server and launch a command on this server. This commnand requires me to set a view in Clearcase to see the vob element. How do I set a view an run a command with ssh with the syntax: ssh host command? (3 Replies)
Discussion started by: majo
3 Replies
Login or Register to Ask a Question