03-15-2013
Script for real time network traffic per process
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,
Amritendu Das
Last edited by Scott; 03-15-2013 at 12:46 PM..
Reason: Removed phone number
8 More Discussions You Might Find Interesting
1. Cybersecurity
Hi,
Can someone give me the clue on how to capture network traffic at gateway.
Thanx (2 Replies)
Discussion started by: kayode
2 Replies
2. Shell Programming and Scripting
Hello,
I have a Apache webserver running on RedHat. Its primary function is a proxy server for users accessing the internet. I have a transaction log that logs every transactions of every users. For users trying to access certain sites/content the transactions goes into a 302 redirect loop and... (2 Replies)
Discussion started by: bruno406
2 Replies
3. Infrastructure Monitoring
Hi all,
Got a strange one here, well not so much strange, different :-)
I need to work out if a server is particulary chatty, whether its talking / communicating heavily to a particular server, as Im planning to physically move the server to a different server, over a link. Hence the... (6 Replies)
Discussion started by: sbk1972
6 Replies
4. Shell Programming and Scripting
Hi,
On the server, we have app log files in this location /app/logs/error.log
On the same server, in a real time, we would like to replicate that into /var/ directory.
if someone has already done this, please share the script.
Thanks in advance. (4 Replies)
Discussion started by: lookinginfo
4 Replies
5. Shell Programming and Scripting
Dear experts,
I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140
1302501033105
1302511536485
1302512669550
I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies
6. Shell Programming and Scripting
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,
Amritendu Das (3 Replies)
Discussion started by: linux.amrit
3 Replies
7. Infrastructure Monitoring
If I would like to know what connection , data , traffic in a network port ( eth0 ) , what can I do ?
ps. because I always found the network is very slow , so I would like what the network port is doing .
Thanks
Login ID ust3 is currently in read-only mode for multiple infractions. Creating... (0 Replies)
Discussion started by: ust03
0 Replies
8. IP Networking
My son does homework on a school laptop. I was thinking about setting up a gateway on my home network, so that I can monitor web traffic and know if he is doing his homework without standing over his shoulder. Ideally I would like to use the Raspberry Pi Model b that I already have. However, I... (15 Replies)
Discussion started by: gandolf989
15 Replies
LEARN ABOUT CENTOS
varnetload
varnetload(8) Tool to create reproducable network traffic varnetload(8)
NAME
varnetload - tool to create reproducable network traffic
SYNOPSIS
varnetload [-d delay] [-t time to run] [-u url]
DESCRIPTION
varnetload is a simple python script to create reproducable sustained network traffic.
In order to use it effectively, you need to have an HTTP server present in your local LAN where you can put files. Upload a large HTML (or
any other kind of file) to the HTTP server. Use the -u option of the script to point to that URL. Play with the delay option to vary the
load put on your network.
delay Sets delay between individual downloads in miliseconds. Default value is 1000. But you my find values range from 0 to 500 more use-
ful.
time to run
Sets total run time in seconds. Default value is 60.
url Sets downloaded resource. Default is http://myhost.mydomain/index.html.
SEE ALSO
tuned(8) diskdevstat(8) netdevstat(8) scomes(8)
AUTHOR
Written by Phil Knirsch <pknirsch@redhat.com>.
REPORTING BUGS
Report bugs to <pknirsch@redhat.com>.
Phil Knirsch 13 Jan 2011 varnetload(8)