10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
i solved myself.
thx! (2 Replies)
Discussion started by: pabloli150
2 Replies
2. Shell Programming and Scripting
Hi ,
I was going through a script and I saw following commands :--
OPTS="-e /usr/local/bin/ssh -ralpgHSvuz --stats --rsync-path=/usr/local/bin/rsync"
OPTS="-e /usr/local/bin/ssh -vrlopgt --stats --rsync-path=/usr/local/bin/rsync"
Can someone please explain the meaning of words... (4 Replies)
Discussion started by: Abhayman
4 Replies
3. Programming
Trying to establish a socket connection using ssh service - but want to use different login name for ssh than what currently logged in as - if under shell know to use ssh -l <login-name> host - however - not sure how to tell o.s. to use different login name when use connect command (2 Replies)
Discussion started by: clcoh11
2 Replies
4. Shell Programming and Scripting
Hi,
When i am using SSH, trying to automate some process, it seems as I am loosing environment settings that belongs to proper running of jboss server.
On Server (X) a User (A) is trying to run a jboss server but the location of jboss is on the same server (X) but on different user (B) . The... (1 Reply)
Discussion started by: nimrodt
1 Replies
5. Shell Programming and Scripting
Hi, I need script that will allow me to connect to multiple clients using ssh on Ubuntu terminal...
I have a txt file with the ip addresses of clients, i need a script that will connect to everyone one by one and send some commands...
The idea is to check some settings on every client... (2 Replies)
Discussion started by: marko07
2 Replies
6. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
7. Shell Programming and Scripting
Hi All,
How could I use telnet to connect to Primary Host in the below shell script:
Could I use:
(
echo user
sleep 2
echo password
sleep 2
echo "ls ~"
sleep 2
echo "exit"
) | telnet hostname
... (1 Reply)
Discussion started by: a1_win
1 Replies
8. Shell Programming and Scripting
Hi All,
I was implementing a change of TELNET to SSH connectivity, and finding it tough at a point where I was connecting to another unix server through TELNET.
( ps -ef |grep abcd) | TELNET x.xx.xxx.xx
now I when I tried to replace TELNET with SSH, i am not able to connect.
( ps -ef... (1 Reply)
Discussion started by: pranavagarwal
1 Replies
9. UNIX for Dummies Questions & Answers
I want to learn some commands like ssh, telnet and others where i can be tease. thanks for help... (2 Replies)
Discussion started by: Kostantinos
2 Replies
10. UNIX for Advanced & Expert Users
I amn't advance but i want to learn some commands where here you can help me. i don't learn easy commands but i learn if its good experience and interesting. I want to learn about ssh, telnet and how i can be miff ( i don't speek good english but i hope to understant me) thanks for any help... (1 Reply)
Discussion started by: Kostantinos
1 Replies
SCTP_BINDX(3) Linux Programmer's Manual SCTP_BINDX(3)
NAME
sctp_bindx - Add or remove bind addresses on a socket.
SYNOPSIS
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>
int sctp_bindx(int sd, struct sockaddr * addrs, int addrcnt,
int flags);
DESCRIPTION
sctp_bindx adds or removes a set of bind addresses passed in the array addrs to/from the socket sd. addrcnt is the number of addresses in
the array and the flags paramater indicates if the addresses need to be added or removed.
If sd is an IPv4 socket, the addresses passed must be IPv4 addresses. If sd is an IPv6 socket, the addresses passed can be either IPv4 or
IPv6 addresses.
addrs is a pointer to an array of one or more socket addresses. Each address is contained in its appropriate structure(i.e. struct sock-
addr_in or struct sockaddr_in6). The family of the address type must be used to distinguish the address length. The caller specifies the
number of addresses in the array with addrcnt.
The flags parameter can be either SCTP_BINDX_ADD_ADDR or SCTP_BINDX_REM_ADDR. An application can use SCTP_BINDX_ADD_ADDR to associate
additional addresses with an endpoint after calling bind(2). SCTP_BINDX_REM_ADDR directs SCTP to remove the given addresses from the asso-
ciation. A caller may not remove all addresses from an association. It will fail with EINVAL.
RETURN VALUE
On success, 0 is returned. On failure, -1 is returned, and errno is set appropriately.
ERRORS
EBADF sd is not a valid descriptor.
ENOTSOCK
sd is a descriptor for a file, not a socket.
EFAULT Error while copying in or out from the user address space.
EINVAL Invalid port or address or trying to remove all addresses from an association.
EACCES The address is protected, and the user is not the super-user.
SEE ALSO
sctp(7) sctp_sendmsg(3), sctp_send(3), sctp_recvmsg(3), sctp_peeloff(3), sctp_getpaddrs(3), sctp_getladdrs(3), sctp_opt_info(3), sctp_con-
nectx(3)
Linux 2.6 2005-10-25 SCTP_BINDX(3)