IT Management and Cloud Blog

« | Home | »

Netstat on Steriods!

By John | June 28, 2007

I am purposely trying my hardest not to do deep dives on this blog and save those for my day job.  However, this one deserves a comment.  Some one described the lsof program as a netstat on steroids.  The lsof has no license (see first comment).  I have used it many times as a life saver to find out what port a particular process is using.  In fact I used it just this morning, hence the genesis of this blog entry. One of the reasons lsof is important for “today’s” discussion is that tools like this are being used for a new breed of solution we are seeing in the press (Discovery, CMDB, ITIL,…).  

Ok for today’s deep dive:

To find a specific port for a specific process:

lsof –i  | grep 6014 

Pop quiz:  What is the name of the process I am looking for? 

 (If you don’t work with  Tivoli don’t bother.  Extra credit if you can tell me why I had to do this).

Topics: cmdb, ibm, itil, tivoli | 5 Comments »

5 Responses to “Netstat on Steriods!”

  1. admin Says:
    June 28th, 2007 at 10:59 am

    * Copyright 2002 Purdue Research Foundation, West Lafayette,
    * Indiana 47907. All rights reserved.
    * Written by Victor A. Abell
    * This software is not subject to any license of the American
    * Telephone and Telegraph Company or the Regents of the
    * University of California.
    * Permission is granted to anyone to use this software for
    * any purpose on any computer system, and to alter it and
    * redistribute it freely, subject to the following
    * restrictions:
    * 1. Neither the authors nor Purdue University are responsible
    * for any consequences of the use of this software.
    * 2. The origin of this software must not be misrepresented,
    * either by explicit claim or by omission. Credit to the
    * authors and Purdue University must appear in documentation
    * and sources.
    * 3. Altered versions must be plainly marked as such, and must
    * not be misrepresented as being the original software.
    * 4. This notice may not be removed or altered.

  2. Jamie Says:
    June 28th, 2007 at 2:16 pm

    6014 – sounds like wpa to me.

  3. admin Says:
    June 28th, 2007 at 3:29 pm

    bingo … you get a beer next time I am in Columbus…

  4. Jamie Says:
    June 28th, 2007 at 3:39 pm

    But I’m not certain WHY… checking if the agent is running? nah, too simple. How about making sure it is hard-wired to 6014 with the SKIP/COUNT stuff??

  5. admin Says:
    June 28th, 2007 at 5:11 pm

    Oh man… I really need to anser this one on capital…

    See ya there…