Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script for real time network traffic per process

Status
Not open for further replies.

amritjsr

IS-IT--Management
Mar 4, 2008
12
0
0
JP
Hi All Gurus,

I want to write a script (bash/ksh/csh) which will show real time network traffic ( TCP or UDP ) generated by per process/PID. For both
Linux/AIX system, as nethogs ( Linux package ) shows ?
Any suggestion is MOST welcome.

Thanks in Advance,
Amrit
+91 9900132917
 
Go for it!
Please let us know your ideas as well as what you try and the results.
I'm fairly sure there are loads of tools that can do this already but would like to see your efforts.
Good luck, and looking forward to seeing how you get on.
 
nettop/nethogs are the utilities present , but i want to write script, which i can port any unix platform ... nottop/nethogs are not present for all unix flavour
 
Then go for it as Duke suggests. What have you got so far?

The internet - allowing those who don't know what they're talking about to have their say.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top