10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everyone;
I need to create a shell script for full and incremental backup purposes. for incremental backup only for one folder (test1) located in /home/test1 syntax below works fine and have no problem: tar -cvf /home/backup/backup-0.tar.gz -g /home/test1/test.snar /home/test Problem is here... (5 Replies)
Discussion started by: momed131
5 Replies
2. Shell Programming and Scripting
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies
3. Solaris
Hello
I am new to solaris samba. After configuring samba through swat I can see the the machine listed under windows workgroup computers. when selected it shows the shared directories, But when trying to connect to shares shows a error network path not found.
At the same time solaris network... (5 Replies)
Discussion started by: kc2dws
5 Replies
4. AIX
I have an aix server, it is not a VIO server or client. I need to check if it has multi-path driver installed, how to check it? (1 Reply)
Discussion started by: rainbow_bean
1 Replies
5. Solaris
Hi there
Now, Ive always support servers that used multi path software with dual cards, e.g. powerpath (emc ) / MPXIO. I got asked a question today, that if a solaris 8/9/10 host had 2 HBA cards, but no multipathing software, what would happen ?? Does the HBA card with the highest id on the... (2 Replies)
Discussion started by: sbk1972
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a linux machine connected to 2 networks, with devices eth0 and eth1.
When I give the command host whatever, how do I now which network is searched for the DNS's ? Is there a default ethernet device for network related commands ? How do I change it ? :confused: (2 Replies)
Discussion started by: mik
2 Replies
7. Red Hat
Hi all,
i need to backup files on network from RHEL 4 machine
tape drive is installed on solaris 10 machine and want ot use this
using
# tar cv /myfiles |ssh -l myuser myhost 'buffer -o /dev/rmt/0 "
to backup these file but getting getting error " sh buffer not found '
even "buffer-1.19-1"... (2 Replies)
Discussion started by: ajays
2 Replies
8. UNIX for Dummies Questions & Answers
My system info is show below:-
#uname -a
SunOS qfserver 5.8 Generic_117350-29 sun4u sparc SUNW,Sun-Blade-2500
and I have two network card as shown below:-
#ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0:... (1 Reply)
Discussion started by: sarifudin
1 Replies
9. Shell Programming and Scripting
Dear All,
I have a problem in knowing ..how the network path is represented in the unix ..I need sample in shell script to find whether the given path is in network or not . (0 Replies)
Discussion started by: yessowmya
0 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I have 4 unix servers (2 of them are OpenBSD 2.8, and the other 2 RedHat) Is there any way i can backup those servers through the network to a hard drive. I have checked NDMP though. Is there any free software network backup software or smth like that? All comments and suggestions are... (3 Replies)
Discussion started by: solvman
3 Replies
curl_multi_add_handle(3) libcurl Manual curl_multi_add_handle(3)
NAME
curl_multi_add_handle - add an easy handle to a multi session
SYNOPSIS
#include <curl/curl.h>
CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle);
DESCRIPTION
Adds a standard easy handle to the multi stack. This function call will make this multi_handle control the specified easy_handle.
While an easy handle is added to a multi stack, you cannot and you must not use curl_easy_perform(3) on that handle. After having removed
the easy handle from the multi stack again, it is perfectly fine to use it with the easy interface again.
If the easy handle is not set to use a shared (CURLOPT_SHARE(3)) or global DNS cache (CURLOPT_DNS_USE_GLOBAL_CACHE(3)), it will be made to
use the DNS cache that is shared between all easy handles within the multi handle when curl_multi_add_handle(3) is called.
When an easy interface is added to a multi handle, it will use a shared connection cache owned by the multi handle. Removing and adding new
easy handles will not affect the pool of connections or the ability to do connection re-use.
If you have CURLMOPT_TIMERFUNCTION set in the multi handle (and you really should if you're working event-based with
curl_multi_socket_action(3) and friends), that callback will be called from within this function to ask for an updated timer so that your
main event loop will get the activity on this handle to get started.
The easy handle will remain added to the multi handle until you remove it again with curl_multi_remove_handle(3) - even when a transfer
with that specific easy handle is completed.
You should remove the easy handle from the multi stack before you terminate first the easy handle and then the multi handle:
1 - curl_multi_remove_handle(3)
2 - curl_easy_cleanup(3)
3 - curl_multi_cleanup(3)
RETURN VALUE
CURLMcode type, general libcurl multi interface error code.
SEE ALSO
curl_multi_cleanup(3),curl_multi_init(3), curl_multi_setopt(3), curl_multi_socket_action(3)
libcurl 7.54.0 February 03, 2016 curl_multi_add_handle(3)