9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to collect IP address of all servers (more than 300). One way is put it in for loop and run nslookup for that servers list, but there are multiple fields in output.
(tty/dev/pts/13): bash: 1011 > nslookup vplssor04
Server: 10.58.115.34
Address: 10.58.115.34#53
Name: ... (7 Replies)
Discussion started by: solaris_1977
7 Replies
2. HP-UX
Hi
I want to know how capture all user command line output and save this commands and outputs to text files?
if you have script for this subject please give me.:o
please help me
thank you (6 Replies)
Discussion started by: amvhd
6 Replies
3. UNIX for Dummies Questions & Answers
Hello,
any way to download file from image captcha download protected website? The download link is not static but session based, generated.
I can do also via web browser, but i trust rather command line, maybe im wrong (1 Reply)
Discussion started by: postcd
1 Replies
4. Red Hat
Hi All,
Please let me know that how to start Fedora 11 in command line mode and skip damaged programs ??
Scenario being:
I have Fedora 11 ( pretty ole... eh !! ). If I try to start the PC , then after some steps of startup... it just hangs and does not boots. I tried entering the mode... (4 Replies)
Discussion started by: dipanchandra
4 Replies
5. UNIX for Dummies Questions & Answers
I'd like to capture the audio playing in itunes (OSX) to a file (from the command line).
I currently use Wiretap Pro, but i'd like a non-gui. I tried installing sox, but after installing about 40-50 dependencies it crashed out. I do have ffmpeg working and I am pretty sure it can capture what's... (0 Replies)
Discussion started by: sentinel
0 Replies
6. Linux
When I access a samba share from command line using gvfs-mount, I can not see anything in ~/.gvfs/ directory. See below:
ajitabhp:$ gvfs-mount smb://iomega-dstore/music/
ajitabhp:$ echo $?
0
ajitabhp:$ ls -l ~/.gvfs/
total 0
ajitabhp:$ ps -ef|grep gvfsd-smb
ajitabhp 10896 1 0 11:28 ? ... (2 Replies)
Discussion started by: ajitabhpandey
2 Replies
7. Shell Programming and Scripting
Hi Guyz,
I need to capture first N Bytes from the first line of my file.
Eg. If i have following data in File1
414d51204541495052475731202020204a910846230e420c Hello 3621363663212 Help Required
Then, i want the value of first 48 Bytes to be stored in a variable.
That is, variable... (5 Replies)
Discussion started by: DTechBuddy
5 Replies
8. UNIX and Linux Applications
Hey, I'm downloading a DVD image for Fedora 9 onto a windows XP environment. I want to burn it to a DVD of course and then install the operating system on a partition of my laptop. My question is, what's a reliable image burner that I can download and use with windows for this project. I'm not... (1 Reply)
Discussion started by: gelitini
1 Replies
9. Shell Programming and Scripting
I need to determine what processes are running at certain times of the day. I have a script that issues the /usr/ucb/ps aux command and captures it to a file.
I want to see the cpu usage and memory usage.
This command lops off the end of the of the display line so I can't see the entire... (2 Replies)
Discussion started by: MizzGail
2 Replies
PCAP_SET_TSTAMP_TYPE(3) Library Functions Manual PCAP_SET_TSTAMP_TYPE(3)
NAME
pcap_set_tstamp_type - set the time stamp type to be used by a capture device
SYNOPSIS
#include <pcap/pcap.h>
int pcap_set_tstamp_type(pcap_t *p, int tstamp_type);
DESCRIPTION
pcap_set_tstamp_type() sets the the type of time stamp desired for packets captured on the pcap descriptor to the type specified by
tstamp_type. It must be called on a pcap descriptor created by pcap_create() that has not yet been activated by pcap_activate().
pcap_list_tstamp_types() will give a list of the time stamp types supported by a given capture device. See pcap-tstamp(7) for a list of
all the time stamp types.
RETURN VALUE
pcap_set_tstamp_type() returns 0 on success if the specified time stamp type is expected to be supported by the capture device, PCAP_WARN-
ING_TSTAMP_TYPE_NOTSUP on success if the specified time stamp type is not supported by the capture device, PCAP_ERROR_ACTIVATED if called
on a capture handle that has been activated, and PCAP_ERROR_CANTSET_TSTAMP_TYPE if the capture device doesn't support setting the time
stamp type.
SEE ALSO
pcap(3), pcap_list_tstamp_types(3), pcap_tstamp_type_name_to_val(3), pcap-tstamp(7)
21 August 2010 PCAP_SET_TSTAMP_TYPE(3)