03-15-2020
ok little confused, would you please write complete script you mean? like what I wrote in previous reply?
Thanks,
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
LFTP Mirroring
We are planning to use lftp to mirror some of the files and
directories on to the remote server.
What we exactly want to do is mirror some of the directories and
exclude some of the the directories from "/" i.e. main root. . What
lftp is doing is... (0 Replies)
Discussion started by: sameerarora
0 Replies
2. Solaris
I've looked a little but haven't found a solid answer, assuming there is one.
What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies
3. Solaris
Hi ,
I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through
metainit d51 1 1 c0t0d0s2
metainit d52 1 1 c1t0d0s2
In the next step
metainit d50 -m d51
d50: Mirror is setup
next step is
metaattach d50 d52
d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies
4. UNIX for Advanced & Expert Users
Please let me know what is lftp options combination to wait and download a file from target as soon as its gets created. I tried with different options but not able to get it working as I need
any help would be appreciated (4 Replies)
Discussion started by: bmkux
4 Replies
5. HP-UX
what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
6. Red Hat
I installed KVM and configured two virtual machines in it server1.example.com(192.168.100.193) and tester1.example.com(192.168.100.230).I want to access server1.example.com from tester1.example.com over lftp.As far as networking is concerned between both I do have some doubts.
I tried ping and... (5 Replies)
Discussion started by: shazgaurav
5 Replies
7. UNIX for Dummies Questions & Answers
dear all,
I need to get files from ftp when only files consist of words 'EUROPE'
ftp sources in folder /ftp1/ftp2/ftp3/201409
files inside /ftp1/ftp2/ftp3/201409is as below
201409_EUROPE_citizen.txt
201409_EUROPE_natality.txt
201409_EUROPE_occupancy.txt
201409_ASIA_citizen.txt... (1 Reply)
Discussion started by: radius
1 Replies
8. Shell Programming and Scripting
We have lftp command inside shell file. which is intern calling .cfg file for transferring the file from one server to other.
Below command to not working.
lftp -e "set net:max-retries 1; set net:reconnect-interval-base 1; put -E -O /destinationdir/inbox/ /sourcedir/test.txt; bye" -u... (4 Replies)
Discussion started by: johnsnow
4 Replies
9. Shell Programming and Scripting
I use below ftp command to push the file from UNIX server to Mainframe system.
(lftp -d -e "set ftp:passive-mode false; put -a ${SPOOLFILE} -o ${FNAME}; exit" -u ${id},${paswd} ${host} ) >> $ftplog
To ftp the file successfully i need to get the out put for FNAME as "'filename'" (double... (5 Replies)
Discussion started by: zooby
5 Replies
LEARN ABOUT SUNOS
dlerrorack
dlbindack(9F) Kernel Functions for Drivers dlbindack(9F)
NAME
dlbindack, dlphysaddrack, dlokack, dlerrorack, dluderrorind - DLPI device driver helper functions
SYNOPSIS
#include <sys/dlpi.h>
void dlokack(queue_t *wq, mblk_t *mp, t_uscalar_t correct_primitive);
void dlerrorack(queue_t *wq, mblk_t *mp, t_uscalar_t error_primitive, t_uscalar_t error, t_uscalar_t unix_errno);
void dlbindack(queue_t *wq, mblk_t *mp, t_scalar_t sap, const void *addrp, t_uscalar_t addrlen, t_uscalar_t maxconind, t_uscalar_t
xidtest);
void dlphysaddrack(queue_t *wq, mblk_t *mp, const void *addrp, t_uscalar_t addrlen);
void dluderrorind(queue_t *wq, mblk_t *mp, const void *addrp, t_uscalar_t addrlen, t_uscalar_t error, t_uscalar_t unix_errno);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
wq
Streams write queue.
mp
Pointer to the bind request message.
sap
Service access point being requested.
addrp
Pointer to the dlpi layer source address.
addrlen
Size of the dlpi layer address pointed to by addr.
maxconind
Maximum number of DL_CONNECT_IND messages allowed to be outstanding per stream.
xidtest
The XID and TEST responses supported.
correct_primitive
Identifies the DL primitive completing successfully.
error_primitive
Identifies the DL primitive in error.
error
DLPI error associated with the failure in the DLPI request.
unix_errno
Corresponding UNIX system error that can be associated with the failure in the DLPI request.
DESCRIPTION
All functions described in this manpage take a pointer to the message passed to the DLPI provider (mblk_t) and attempt to reuse it in for-
mulating the M_PROTO reply. If the message block is too small to be reused, it is freed and a new one is allocated.
All functions reply upstream using qreply(9F). The write-side queue pointer must be provided.
The dlokack() function provides the successfull acknowledgement DL_OK_ACK message reply to the DLPI provider and is used to complete many
of the DLPI requests in the DLPI consumer.
The dlerrorack() function provides the unsuccessfull acknowledgement DL_ERROR_ACK message reply to the DLPI provider and is used for error
completions were required for DLPI requests in the DLPI consumer.
The dlbindack() function provides the DL_BIND_ACK message reply to the DLPI provider and is used to complete the DL_BIND_REQ processing in
the DLPI consumer.
The dlphysaddrack() function provides the DL_PHYS_ADDR_ACK message reply used to complete the DL_PHYS_ADDR_ACK processing.
The dluderrorind() function provides the DL_UDERROR_IND message reply used to complete an unsuccessfull DL_UNITDATA_REQ.
RETURN VALUES
None.
NOTES
These functions are not required if you are are writing a DLPI device driver using gld(7D).
CONTEXT
All DLPI helper functions can be called from user or interrupt context.
SEE ALSO
gld(7D), dlpi(7P), qreply(9F)
Writing Device Drivers
STREAMS Programming Guide
SunOS 5.10 1 Aug 2004 dlbindack(9F)