05-01-2014
Closing the thread - the Op will not be able to answer anymore in this forum.
These 5 Users Gave Thanks to zaxxon For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have this problem where sometimes my files would go missing when I schedule my crontab to run the SCP command to get file from the SFTP server.
My crontab will run the scripts at an interval of 3 minutes (between the two scripts) The following is the setting in my crontab.
... (1 Reply)
Discussion started by: gingervitus
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies
3. Shell Programming and Scripting
hi
I tried reading some of the threads w.r.t scp/sftp file to another server in the same network without asking for password while copying files.....but couldnot succeed.
i have generated the public key for the system using "ssh-keygen -t " and kept it in the
.ssh/authorized_keys file.
... (8 Replies)
Discussion started by: aemunathan
8 Replies
4. Solaris
Hello forum, I’m trying to get someone else’s log rotation & sync script working. The ksh script is sending daily compressed log files to a Windows RSA envision server. The name of the directory is
“CA SITEMINDER_<IP address of the sending server>”. The servers we are sending from are a mix of... (3 Replies)
Discussion started by: TKD
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I want to use scp to upload file to my unix server.
i am using this:
scp D:\testr.txt unixuser@unixhost:/path
it returns an error:
ssh: D: host/servname not known
i am not sure how to tell path of my D drive in the command and how will command understand it has to pick from my... (5 Replies)
Discussion started by: Kohli
5 Replies
6. Shell Programming and Scripting
Can someone help in writing some script through which I can transfer file (scp) from root user in abc server to crt user in hfg server and can give the crt user password in script itself so that it doesn't prompt me every time for password (4 Replies)
Discussion started by: Moon1234
4 Replies
7. Shell Programming and Scripting
i want to scp file from one server to another. both server have different user name and it needs to give password to transfer file.how can we mention password in the script itself so that we need not mention password while running the script.
Say from servers cpli with user abc and file path /opt... (7 Replies)
Discussion started by: Moon1234
7 Replies
8. AIX
Hi
I'd like to copy file ( or directory ) from a window server to an unix server using scp command, something like this
scp -rp admin@10.0.99.99:C:\Documents and Settings\abc.txt /home/oracle/abc.txtI tried testing something like command above but nothing worked.
Somebody help !! Thank you (7 Replies)
Discussion started by: bobochacha29
7 Replies
9. AIX
Hii Master,
im will copy file/directory aix to windows with scp commandline,
but some error below:
Note: If ping to 172.16.0.250 reply and was connected, and was open/allow port 22 at windows server inbound
In aix finish installing ssh
in windows finish installing winscp
my... (3 Replies)
Discussion started by: williamen
3 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
Need some help regarding file transfer between server.
Suppose we have system-A and system-B. To transfer file from system-A to system-B we usually share the
public keys of system-A to system-B and do scp/sftp to transfer a file.
Is it possible that public key of system-B can be... (3 Replies)
Discussion started by: abhi_123
3 Replies
LEARN ABOUT NETBSD
pthread_attr_get_np
PTHREAD_ATTR_GET_NP(3) BSD Library Functions Manual PTHREAD_ATTR_GET_NP(3)
NAME
pthread_attr_get_np -- get attributes of existing thread
LIBRARY
POSIX Threads Library (libpthread, -lpthread)
SYNOPSIS
#include <pthread.h>
int
pthread_attr_get_np(pthread_t thread, pthread_attr_t *attr);
int
pthread_getattr_np(pthread_t thread, pthread_attr_t *attr);
DESCRIPTION
The pthread_attr_get_np() and pthread_getattr_np() functions can be used to retrieve attributes of a running thread. The result is stored to
attr.
For pthread_attr_get_np() attr should be initialized prior to the call by using pthread_attr_init(3). pthread_getattr_np() does this auto-
matically.
For both functions attr should be freed when it is not in use anymore with pthread_attr_destroy(3).
Most fields of attr are the same ones provided during thread creation time as a parameter to pthread_create(3). The exceptions include:
o The detach state -- a joinable thread may have detached itself after the creation.
o The guard size, which may vary if the application has allocated its own thread stack.
o The stack address and size; pthread_attr_get_np() will always return the thread's real stack address and size, regardless of the
values in the original attributes structure.
The returned pthread_attr_t structure is supposed to be used in conjunction with the pthread_attr_get*() functions to retrieve individual
values from the structure. When the returned attr is no longer needed, it should be destroyed by using pthread_attr_destroy(3).
RETURN VALUES
Upon successful completion, pthread_attr_get_np() and pthread_getattr_np() return 0. Otherwise an error number is returned to indicate the
error.
COMPATIBILITY
The pthread_attr_get_np() and pthread_getattr_np() functions are non-standard extensions.
ERRORS
The pthread_attr_get_np() and pthread_getattr_np() functions will fail if:
[ENOMEM] Insufficient memory.
[ESRCH] Non-existent thread.
SEE ALSO
pthread(3), pthread_attr(3)
BSD
August 6, 2010 BSD