12-10-2018
There you go ... proving all things are possible if you apply your mind to the situation at hand.
In a parallel world there is a user on unix.com "Asad from India" who is using rsync .... and in another parallel universe the same user got angry and never logged in again.
All things are possible ....
It's up to us.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to read a file fron nth to n+m line by line using bash
ie
while read line
do
# soem stuff
done <<file
But The file is so big I am only intersted in reading ceratin portion of the file ie from nth line to mth line where m is alwasy greatr than n (2 Replies)
Discussion started by: jojan
2 Replies
2. Shell Programming and Scripting
I have variable $2 whose value is expdp_SDW_MSTR_VMDB.par
I want to replace three characters from right (par) with (log)
Input --> expdp_SDW_MSTR_VMDB.par
Output --> expdp_SDW_MSTR_VMDB.log
Thanks
Deep (2 Replies)
Discussion started by: deep.singh
2 Replies
3. UNIX for Advanced & Expert Users
Hi - I frequently run commands, and transfer files to/from a host that uses SecurID ssh authentication. It is a real pain to have to enter the authentication information every time I want to interact with this host. I am wondering if there is a way to establish a one-time ssh connection to this... (2 Replies)
Discussion started by: cpp6f
2 Replies
4. Shell Programming and Scripting
The clear command specifically says it can only clear the entire terminal display. There are no arguments. So I'm wondering if there are any work arounds.
Carriage return does not work for this as it only moves the cursor to the beginning of the line we're on. And obviously NL only goes down. If... (1 Reply)
Discussion started by: FunkyLich
1 Replies
5. Shell Programming and Scripting
Hello i have 2 files:
a.out
10.1.1.1 james.franco
10.1.1.3 google.gol
10.1.1.14 yahoo.bol
b.out
10.1.1.1
10.1.1.3
10.1.1.45
I need to see an output just with:
10.1.1.1 james.franco
10.1.1.3 google.gol
Thankz in advance!! (2 Replies)
Discussion started by: danielldf
2 Replies
6. Programming
I would like to create console application in c# to automate the process of downloading some files from a SFTP server to my local hard drive at a set time each week/day.
SFTP Server installed OpenSSH for windows and client machine also.
Any ideas how I could do such a task? or sample code.
... (0 Replies)
Discussion started by: sufiiyan
0 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I am calling a shell script from another shell script, however, it only executes part of it (the echo commands only). What could be some causes for that?
For example:
ShellScriptA.sh:
...
...
...
. ShellScriptB.sh
ShellScriptB.sh contents:
echo date
echo... (7 Replies)
Discussion started by: DBnixUser
7 Replies
8. Shell Programming and Scripting
Hi
I have numerous files names
product_host_result_B1000842.txt
product_host_result_B1000847.txt
product_host_result_C1000842.txt
product_host_result_C1000848.txt
etc. I need them renamed so that the 'product_host_result' becomes 'output_product_host' but the rest of the filename is... (6 Replies)
Discussion started by: Grueben
6 Replies
9. Shell Programming and Scripting
Hi All,
I have a pretty demanding requirement for an SFTP script I have been trying to put together.
I have nearly 100 files (all with the names staring with T_PROD) generated in my local server daily. I need to transfer each of these files to a remote server via SFTP (that's a client... (6 Replies)
Discussion started by: Aviktheory11
6 Replies
10. Shell Programming and Scripting
I am working on a shell script where after making sftp connection to a remote server the file are being transferred. The problem is how to capture return code for the file which is missing at the remote location. I have tried to capture the return code which return value of "0" even the transfer of... (4 Replies)
Discussion started by: Khan28
4 Replies
LEARN ABOUT X11R4
lamgrow
LAMGROW(1) LAM COMMANDS LAMGROW(1)
NAME
lamgrow - Extend a LAM multicomputer.
SYNOPSIS
lamgrow [-hvd] [-cpu num] [-n nodeid] [-no-schedule] [-ssi key value] hostname
OPTIONS
-cpu num Indicate how many CPUs are available to LAM on the new node.
-d Turn on debugging output. This implies -v.
-h Print useful information on this command.
-n nodeid Assign this ID to the new node.
-no-schedule Indicate that C and N expansion in mpirun and lamexec should not schedule on this node.
-ssi key value
Send arguments to various SSI modules. See the "SSI" section, below.
-v Be verbose.
hostname Extend LAM with this host.
DESCRIPTION
An existing LAM universe, initiated by lamboot(1), can be enlarged to include more nodes with lamgrow. One new node is added for each in-
vocation. At a minimum, the host name that will run the new node is given on the command line. If a different userid is required to ac-
cess the host, it is specified with the appropriate boot SSI options (see lamssi_boot(7)).
The new node can be assigned any unused, non-negative identifier. If no identifier is specified, the highest node identifier in the cur-
rent LAM universe plus one is used. Note that lamboot(1) always assigns node identifiers consecutively from 0.
lamgrow can be run from any node in the current LAM universe. Specifically -- it cannot be run from the intended new host. Two invoca-
tions of lamgrow should not run concurrently, and the command attempts to detect this situation. The name of the host specified in lamgrow
should not be the one which is already present in the user's LAM universe and the command attempts to detect this situation too.
Resource managers will be the most common user of lamgrow. When hosts become idle and a user has expressed a desire to the manager that
extra cycles should be exploited, the manager could invoke lamgrow and then launch the specified application process(es) on the new node.
EXAMPLES
lamgrow -v newhost
Start LAM on newhost and add it to the existing LAM universe. Choose the next available node identifier and report about important
steps as they are done.
lamgrow -n 30 newhost
Start LAM on newhost with node ID 30 and add it to the existing LAM universe. Operate silently.
FILES
laminstalldir/etc/lam-conf.lamd default configuration file for LAM nodes, where "laminstalldir" is the directory where LAM/MPI was in-
stalled.
BUGS
It is not currently possible to specify a configuration file other than lam-conf.lamd on the remote node, even though this is possible with
lamboot.
SEE ALSO
lamboot(1), lamhalt(1), hboot(1), lamwipe(1), tkill(1), bhost(5), conf(5), lamssi_boot(7)
LAM 7.1.4 July, 2007 LAMGROW(1)