The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix Scripts & Counting TCP Connections daveohr IP Networking 5 01-15-2007 10:25 PM
Similiar to active directory in Unix? blesets UNIX for Dummies Questions & Answers 5 01-13-2007 04:10 AM
active network connections youmna Linux 1 10-29-2005 07:38 AM
Active Directory and UNIX rm -r * UNIX for Dummies Questions & Answers 1 06-01-2005 08:16 PM
unix and active directory Darwin Rodrigue Windows & DOS: Issues & Discussions 1 05-20-2005 04:34 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-26-2007
jatin.jain jatin.jain is offline
Registered User
  
 

Join Date: May 2007
Posts: 6
How to get active connections in Unix

Hi All,
I have to find out how many active connections with other machines are there,then list the remote machine IP address and type of connection.
When u say type of connection what does it means TCP,UDP ram. then what is UNIX active connection
Please let me know as soon as possible.

Thanks in advance.
Jatin
  #2 (permalink)  
Old 05-26-2007
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,422
man netstat.
Code:
netstat <options> | grep -i established

Last edited by ghostdog74; 05-26-2007 at 09:05 AM..
  #3 (permalink)  
Old 05-26-2007
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 429
netstat -an | grep ESTABLISHED
  #4 (permalink)  
Old 05-26-2007
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,422
my bad, yes it should be "established". misinterpretation. thanks for correction.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0