304 reputation
517
bio website
location
age
visits member for 2 years, 1 month
seen yesterday

1/0


Sep
24
comment Is it possible to send arrays from bash to C++ program?
I wanted to mean, not writing it explicitly, rather save strings in a bash array, and send it to a C++ function.
Sep
23
asked Is it possible to send arrays from bash to C++ program?
Sep
21
asked How to find out common elements between two files?
Sep
19
comment How can I send single file to multiple remote sites at the same time?
well, I needed to do some experiments, where the root site needs to send copies of the same thing to multiple site at the same time, and multiple sites do some processes then again send the result to root site.
Sep
19
comment How can I send single file to multiple remote sites at the same time?
at the same time->parallely
Sep
19
awarded  Commentator
Sep
19
comment How can I send single file to multiple remote sites at the same time?
and thanks for your script, but again its sending files serially through the iteration of the loop. But I want it to be parallely sent.
Sep
19
comment How can I send single file to multiple remote sites at the same time?
thanks man!..the thing you suspected was correct, one of the guys of that group told me to specify the path to pdcp binaries using -e PATH, and there you go!it worked just fine. Though, It seems to me, somewhat slow..:P:P...anyways, can you just do one more little help? how can I set up global variables for pdcp binaries in root and other hosts? so that writing only pdcp will do,instead writing everytime the total path to pdcp binaries.
Sep
18
comment How can I send single file to multiple remote sites at the same time?
No, I haven't, and the reason to install it into my own path is I dont have permissions in the local/usr/bin and also etc. I'll try dicussing it in the code.google.
Sep
18
comment How can I send single file to multiple remote sites at the same time?
ok, let me tell you how I installed it briefly: In the root pc, I issued following command(inside the pdsh-2.26 directory) ./configure --with-ssh --prefix=/home/mindfreak/local, then make,then make install, I repeated the same process in other hosts where I have also the same file structure under home/mindfreak
Sep
18
comment How can I send single file to multiple remote sites at the same time?
I am trying ../local/bin/pdcp -R ssh -w mindfreak@asper.comgrid.ac,looper.comgrid.ac test.txt /home/mindfreak/Test_Data, from the Test_Data folder of root. It returns the following error: looper: bash: /global/home/mindfreak/Test_Data/../local/bin/pdcp: No such file or directory pdcp@seawolf2: nestor: ssh exited with exit code 127 asper: bash: /global/home/mindfreak/Test_Data/../local/bin/pdcp: No such file or directory pdcp@seawolf2: jasper: ssh exited with exit code 127
Sep
18
comment How can I send single file to multiple remote sites at the same time?
I have installed pdsh in all the hosts,and also,configured all the hosts for passwordless access from the root(by copying public keys of root to them and vice-versa), but the problem is when I issue pdcp command from root,to send same files to the remote hosts,it says,rcmd socket: permission denied. What is the solution for that?
Sep
17
accepted How can I send single file to multiple remote sites at the same time?
Sep
17
comment How can I send single file to multiple remote sites at the same time?
I asked that because I was puzzled too from the man page as it was written that the path cann't be specified the way we specify it in scp,but with that they meant the use of :and then file path name, I didn't get it then,now its clear.
Sep
17
comment How can I send single file to multiple remote sites at the same time?
Is there any other way round than using gender database? I have 1 root site(from where I use to send files to all the 3 client sites).from the man page I found I can use pdcp -w user@[host1,host2...hostn] command, please correct me if its wrong, also here how can I mention the destination hosts path is like pdcp -w user@[host1, host2, host3] /home/user/Test_Data(let this is the common destination path for each hosts).
Sep
15
comment How can I send single file to multiple remote sites at the same time?
Can you shed some light on how can I use it in an environment where I have 3 remote servers each in different locations, how to install and get it working, any man page?
Sep
15
asked How can I send single file to multiple remote sites at the same time?
Sep
7
awarded  Student
Sep
7
comment How to login from remote server to my own PC?
When I ran ps -ef | grep ssh, I found the following:nawshad 2898 2512 0 23:18 pts/0 00:00:00 grep --color=auto sshd Does it mean that I dont have ssh enabled in my personal laptop?
Sep
7
asked How to login from remote server to my own PC?