07-02-2009
tcpdump -w: how to reduce disk space ?
Hello !
I am using
tcpdump -w /tr.cap -p -n -s 0 "udp"
to trace my network trafic.
(analysing later)
I want to reduce the size of the trace files.
Firtst i can use the great -C option but old files are not deleted...
Second I don't want trace RTP packet but i can't find how to use ("not rtp" , "udp.port < 10000"...)
Idealy i want trace only few firsts bytes of RTP but all bytes of other...
Any idea ?
Thanks
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I'm trying to install gcc and the installation program tells me that I'm out of disk space! I have just installed the os (using the default settings for partitions and sizes) and have only installed apache on the machine. Can it really be out of disk space already?
How do I check how much... (4 Replies)
Discussion started by: alfabetman
4 Replies
2. UNIX for Dummies Questions & Answers
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Discussion started by: alan
4 Replies
3. Solaris
I'm a Unix newbie running Solaris 9. After installing a fresh copy on a 40GB drive I noticed the available disk space is 2% free or approximately 200MB available. Is that possible? Did I do something wrong? (4 Replies)
Discussion started by: jbarbuto
4 Replies
4. HP-UX
Hi Experts.
I had 100% disk full , even though i have removed 2 GB space still dbf command shows 100%.
How to rectify that. Appreciate your prompt help. Thanks (1 Reply)
Discussion started by: test10002
1 Replies
5. Shell Programming and Scripting
HI ...
I am New to the Unix...I am trying to write a script to check the disk space.
But i am not able to write it.
I know the command to check the disk space df -k,but unable to write the script..Can any body help me...
Thanks in advance... (3 Replies)
Discussion started by: Kingkon
3 Replies
6. AIX
Hi
I have used gzip on AIX and the used paging space has jumped from 7% to 20%. The gzip process is finished since a long time. But the used paging space is still the same. How to release this space ? (1 Reply)
Discussion started by: bfarah
1 Replies
7. Filesystems, Disks and Memory
Hi, can anyone please suggest a tool to dump i/o packets just like tcpdump does for network traffic. Basically I have a complex dataflow that needs to be optimized and I want to see how packets go to/from disk - what goes randomly and sequentially.
Thanks (8 Replies)
Discussion started by: vsmi
8 Replies
8. Solaris
I know there are other threads but they have not helped. My server is running low on disk space and I haven't been able to re-allocate. I think my solaris machine is missing tools or the way it was originally setup, may not have the right pathing.
$ df -k
Filesystem kbytes used... (5 Replies)
Discussion started by: lnxjenn
5 Replies
9. Shell Programming and Scripting
Hi Team,
Please help me in shell script, I have a some file in Linux which I want to reduce the space every 4 hours in the form of ZIP move to other location with the help of Shell Script using with with current date. Can you please help me.
Regards,
Suhail (3 Replies)
Discussion started by: frsuhail001
3 Replies
LEARN ABOUT DEBIAN
net::sip::simple::rtp
Net::SIP::Simple::RTP(3pm) User Contributed Perl Documentation Net::SIP::Simple::RTP(3pm)
NAME
Net::SIP::Simple::RTP - simple RTP handling for Net::SIP::Simple
SYNOPSIS
my $echo_10 = Net::SIP::Simple->rtp( 'media_recv_echo', 'output.pcmu-8000', 10 );
my $announce = Net::SIP::Simple->rtp( 'media_send_recv', 'announce.pcmu-8000', 2 );
DESCRIPTION
This package handles simple RTP stuff for testing and small applications. It provides methods for receiving PCUM/8000 data and for echoing
them back or for sending and receiving PCMU/8000 data.
It's used from method rtp in Net::SIP::Simple.
SUBROUTINES
media_recv_echo ( [ OUTPUT, DELAY ] )
Receives RTP data and echos them back to the sender. If OUTPUT is given it will be used as the file for saving the received data
without the RTP header.
OUTPUT might also be a callback which gets the payload as argument.
If DELAY is >0 the data will not be echoed back immediatly but with an delay of DELAY packets (e.g. with DELAY 10 it will send back
the first packet after it received the 10th packet). If DELAY is <0 the data will not be echoed back. If DELAY is not given or equal
0 the data will be echoed back immediatly.
If no traffic comes in for more then 10 seconds it will hang up the call because of inactivity.
media_send_recv ( INPUT, [ REPEAT, OUTPUT ] )
Will read data from file INPUT and send them as RTP to peer. It will assume that each data block in INPUT consists of 160 bytes, which
is right for PCMU/8000 without RTP header. The RTP header will be added to the data.
If it reaches the end of the file it will stop unless REPEAT is given in which case it will repeat the sending REPEAT times (if REPEAT
is less 0 it will repeat forever e.g. until the other party hangs up). On stopping it will invoke the callback cb_rtp_done from the
connection params for the Net::SIP::Simple::Call or if this is not given it will close the call by issuing a BYE.
INPUT might also be a callback usable by invoke_callback in Net::SIP::Util which returns the data to send. In this case REPEAT is not
used.
Incoming data will be written to the optional OUTPUT file like in media_recv_echo. The content from OUTPUT has the same format as INPUT
or OUTPUT from media_recv_echo.
OUTPUT might also be a callback which gets the payload as argument.
If no traffic comes in for more then 10 seconds it will hang up the call because of inactivity.
perl v5.14.2 2009-01-23 Net::SIP::Simple::RTP(3pm)