03-15-2011
You can use libpcap for this purpose. For an example of how to do it, look at the sources of tcpdump.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there.
How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly.
sqlplus << EOF
user1@db1/pass1
BEGIN
PACKAGE1.perform_updates($1,$2,$3);
END;
EOF
Thanks in advance,
Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies
2. Shell Programming and Scripting
Hi,
I have a name.txt which is stored:
APPLE
ORANGE
RED
BLUE
GREEN
and my script is:
$name=`cat name.txt
for file_number in `ls 1 /appl/CH_DATA/archive/CACHE/CDBACKUP$name*.archived
however, my script cannot read name.txt and put into my scrip line, I would like the output is to... (18 Replies)
Discussion started by: happyv
18 Replies
3. Solaris
I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies
4. UNIX for Dummies Questions & Answers
Hello All,
Got a question to make a script what reads a directory and put the file names from that directory in a file with some extra text.
ls /tempdir
output is:
file1.gfh
file2.txt
file4.zzz
these file names (always with an extention) must be placed in a line and written to... (2 Replies)
Discussion started by: ToXiQ
2 Replies
5. Shell Programming and Scripting
Hi,
I have a config_file.cfg with the content:
FILE_ID_1=1
FILE_FTP_ID_1=<FTP_SERVER1.COM>
....
FILE_ID_2=2
FILE_FTP_ID_2=<FTP_SERVER2.COM>
....
so on for 28 times.
As you might have guessed it; the script I have to write is to read this config file and get the FTP server... (3 Replies)
Discussion started by: dips_ag
3 Replies
6. IP Networking
Hello, everybody!
I need create a BGP router with 2 fullview for balancing 2 channel (50 Mbit\s). I don't know necessary configuration of server. I will have 100 Mbit\s. I will use the Quagga.
Help me please! (1 Reply)
Discussion started by: Rezonans
1 Replies
7. Shell Programming and Scripting
Hi Experts,
I am writing a shell script (for displaying disk space details) which is logging to 15 different servers using following command.
ssh userid@servername
It is prompting me for password for all 15 servers when I manually run it.
However , soon I would like to schedule this script... (4 Replies)
Discussion started by: ajaypatil_am
4 Replies
8. AIX
Hello,
I need to get the lv mountpoint from the hdisk directly (from vgda i guess) and not from odm or /etc/filesystems
I knew the command, but unfortunately I forgot it ;)
cheers funksen (5 Replies)
Discussion started by: funksen
5 Replies
9. Shell Programming and Scripting
I'm not too fluent at this and having problems comprehending / coming up with a way to do it. Our telephone system is spitting out call information on it's maintenance (serial) port which i have connected to a linux box. I want to be able to monitor the output of this text and when a 911 call is... (1 Reply)
Discussion started by: Pythong
1 Replies
LEARN ABOUT CENTOS
ovs-tcpundump
ovs-tcpundump(1) Open vSwitch Manual ovs-tcpundump(1)
NAME
ovs-tcpundump - convert ``tcpdump -xx'' output to hex strings
SYNOPSIS
ovs-tcpundump < file
Common options:
[-h | --help] [-V | --version]
DESCRIPTION
The ovs-tcpundump program reads tcpdump -xx output on stdin, looking for hexadecimal packet data, and dumps each Ethernet as a single hexa-
decimal string on stdout. This format is suitable for use with the ofproto/trace command supported by ovs-vswitchd(8) via ovs-appctl(8).
At least two -x or -X options must be given, otherwise the output will omit the Ethernet header, which prevents the output from being using
with ofproto/trace.
OPTIONS
-h, --help
Prints a brief help message to the console.
-V, --version
Prints version information to the console.
SEE ALSO
ovs-appctl(8), ovs-vswitchd(8), ovs-pcap(1), tcpdump(8), wireshark(8).
Open vSwitch December 2010 ovs-tcpundump(1)