GeeKs Blogging @ dotCOM

Let's share…
  • Home
  • About
  • How To – FAQs
  • Disclaimer
  • Terms & Conditions
17 Jun 2009

netstat command

Hi all,

All of us have faced huge performance related issues. When it comes to Siebel, things can only be called murky! The OOB solution itself puts up a few questions. I say this as per my naive understanding and experience :-)

Sorry for being away from this blog for so long. It’s just that almost all the writers on the panel have really been too occupied with their regular jobs.

Anyways, getting the Siebel server performance out of the way, the next thing that comes to anybody’s mind is to check the performance of the physical Server Box itself. I mean the Server Operating System and the processes that it is running. This is where we can make use of the netstat utility.

netstat, or the Network Statistics as we may call it, is a simple command line utility. When used with proper parameters on the command line, it can be used to monitor:
1) Incoming Network Connections
2) Outgoing Network Connections
3) Network Interface Statistics
4) Some Network Routing information that I could see.

It is available on most of the common Operating Systems like Windows, UNIX, etc.

It is generally used to find Network Problems, and more so to find the Network Usage by the number of open Network Connections, for Performance related measurements. A typical netstat output could look like:

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    <machine_hostname>:1218      <dns_server_name>:8080  CLOSE_WAIT
  TCP    <machine_hostname>:2841     <dns_server_name>:1400  ESTABLISHED
  TCP    <machine_hostname>:4651      localhost:62514        ESTABLISHED
  TCP    <machine_hostname>:5152      localhost:3863         CLOSE_WAIT
  TCP    <machine_hostname>:62514     localhost:4651         ESTABLISHED

  etc..

 

A simple dos help utility look up revealed the following options to this utility on my Win XP based machine:

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]

  -a            Displays all connections and listening ports.
  -b            Displays the executable involved in creating each connection or
                listening port. In some cases well-known executables host
                multiple independent components, and in these cases the
                sequence of components involved in creating the connection
                or listening port is displayed. In this case the executable
                name is in [] at the bottom, on top is the component it called,
                and so forth until TCP/IP was reached. Note that this option
                can be time-consuming and will fail unless you have sufficient
                permissions.
  -e            Displays Ethernet statistics. This may be combined with the -s
                option.
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  -v            When used in conjunction with -b, will display sequence of
                components involved in creating the connection or listening
                port for all executables.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.

 

Usage Example:

netstat -aon

This utility can be of immense use on analysing server performances where we are quite sure that the server is running slower than nowmal. It could possibly be running some junk tasks from the now defunct softwares that we no longer need.
Try it, and tell me what you see on your PC!

  • Twitter
  • Digg
  • Facebook
  • LinkedIn
  • Delicious
  • FriendFeed
  • Gmail
  • Hotmail
  • Multiply
  • MySpace
  • Yahoo Buzz
  • Yahoo Mail
  • Share/Bookmark

Related posts:

  1. Siebel Admin – Gateway Name Server – An overview We discussed about the basic Siebel Server Architecture in our...
  2. Siebel Server Architecture – an Introduction You may call this an introductory tutorial. Siebel as we...
  3. Siebel Tools hangs when checking out objects Hi, Now this is strange. I had been running into...
  4. Siebel Server Verification – EVT Tool Verifying the health of our Siebel Server Environment is the...
  5. Siebel – Automatic User Logout Logging out a user automatically, when the user does not...
  6. Siebel – getMilliseconds() usage Siebel by default displays all dates in the system accurate...

Tags: Admin, Performance, Server, Siebel

This entry was posted on Wednesday, June 17th, 2009 at 9:10 PM and is filed under EAI, Siebel CRM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Click here to cancel reply.

« Siebel – Forcing User Logoff
Oracle buys IP Assets of Conformia »
  • Admin Controls

    • Log in
  • Talk to us

    • Bouquets, brickbats, suggestions, complaints?

    • Click here...
  • Authorships

    • We are currently looking out for active authors. Are you willing to contribute?

    • Please click here

    • Everyone's invited..
  • Subscribe by Email


  • Subscribe

    • Entries (RSS)
    • Comments (RSS)
  • Sponsors

  • Daily Dilbert

    •          
  • Sponsors

  • Categories

    • Admin Notifications (9)
    • Business Intelligence (2)
      • Actuate (2)
    • CRM (88)
      • CRM News (3)
      • Sage Software / ACT! (1)
      • Siebel CRM (83)
    • EAI (2)
    • FUN 'n' FROLIC (4)
    • IT News (25)
    • Meet the Author (8)
    • ORACLE (1)
      • Database (1)
    • Product Demostrations (3)
    • Uncategorized (2)
  • Tag Cloud

    Actuate Admin Admin Notifications Applet Author Introductions Business Component Calculated Function Certification CFG file Client Configuration Critique CRM Debugging EAI EIM eScript Fundamentals Fusion Middleware Gaming Google IT News License Logging Login Microsoft ORACLE Performance problems Product Defect Product Demostrations Scriptless solutions Security Server Siebel Siebel Secrets SOA SRF Tips Tools Tricks Tutorials User Property Workarounds workflows



  • Archives

    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Authors

    • Ankit Bhardwaj
    • Ashish Kaul
    • brijesh
    • Himanshu Bajpai
    • Madhvi Arora
    • Nitin Jain
    • Prachi Sharma
    • Renuka Ankam
    • Vikas Luthra
  • Administrators

    • geeksblogging@gmail.com
    • admin@geeksbloggingat.com
  • Sponsors

Fresh Ideas

  • Salesforce CRM Essentials Webinar
  • Sun + Oracle is faster: Proof October 14
  • Oracle v/s IBM: One poster says it all
  • Geeks Blogging @ dotCOM - Subscribe by Email
  • Siebel - Installer hangs midway
  • Oracle finalizes new Training Partner
  • Oracle divorcing Prometric
  • What is Google?
  • Siebel - Case Insensitivity (CIAI) Wizard
  • Oracle VM Templates for Siebel CRM

Just Said

  • Nitin Jain on Sun + Oracle is faster: Proof October 14
  • Kunal on Sun + Oracle is faster: Proof October 14
  • David Clinton on Oracle finalizes new Training Partner
  • Nitin Jain on Siebel – Automatic User Logout
  • Tejeshwer on Siebel – Automatic User Logout
  • Nitin Jain on Siebel – Installer hangs midway
  • geeksajan on Siebel – Installer hangs midway
  • Nitin Jain on Siebel – Run Case Insensitive queries
  • Adriana on Siebel – Run Case Insensitive queries
  • Nitin Jain on Siebel – Run Case Insensitive queries

Most Commented

  • Siebel - SIA BC Utility Service - Loop multiple records
  • Siebel - Adding License Keys to Sample
  • Siebel - Popup Update Only
  • Siebel - Reading data directly from Siebel SRF
  • Siebel - Looping multiple records - Update records
  • Siebel - Automatic User Logout
  • Nitin Kumar Jain
  • Siebel - Scrolling between records - UP and DOWN
  • Siebel Tools hangs when checking out objects
  • Siebel - Make a field Required, conditionally

Old Favourites

  • Highrise Customer Relationship Management
  • Siebel - Autosave Opportunity data - Sample Code
  • Siebel - Autosave Opportunity data - The concept
  • Renuka Ankam
  • Siebel - Merge Records - Checklist
  • Siebel - Fetch Active view properties - III
  • Oracle 11g Certification coming soon
  • Siebel - Fetch Active view properties - II
  • Siebel - Fetch Active view properties
  • Siebel - Automating Merge Records by script - II

If you also want to write on GeeksBlogging@dotCOM, click here. Area of Specialization no constraint. Become Famous!


Entries (RSS) and Comments (RSS).