Quick AWK help
From: Siva Singam Santhakumar (santha_at_stepsoft.com.au)
Date: 08/25/04
- Previous message: Kelly Ormsby: "SunPCi 400Mhz"
- Next in thread: Siva Singam Santhakumar: "Summary: Quick AWK help"
- Reply: Siva Singam Santhakumar: "Summary: Quick AWK help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Aug 2004 12:27:04 +1000 To: sunmanagers@sunmanagers.org
Dear Managers,
Sorry for the OT
What is wrong in this awk line?
/usr/sbin/netstat -an |grep ESTA | awk
'{split($4,a,".");if(a[4]=8005)DEV++;if(a[4]=8006)PROD++;print $DEV,$PROD} '
In this line I am trying to get the total connections for ports 8005 and
8006.
Thanks
-- /Siva //S Santhakumar ( Santha)/ System Administrator Stepsoft Pty Ltd Stepsoft is the developer of Foxtrot, an Enterprise Customer Knowledge System (CKS). Find out more At www.stepsoft.com.au <http://www.stepsoft.com.au/> _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Previous message: Kelly Ormsby: "SunPCi 400Mhz"
- Next in thread: Siva Singam Santhakumar: "Summary: Quick AWK help"
- Reply: Siva Singam Santhakumar: "Summary: Quick AWK help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|