05-31-2011
Thanks every one for valuable inputs and ideas... Of course its helpfull
Warm Regards,
Jayadeava
10 More Discussions You Might Find Interesting
1. Solaris
Hi all,
I have done ssh-keygen to two servers in work place and given there entry for authorized_keys. I m able to ssh to other servers without asking password. But i face problem while trying to run a command or script on other server. It is throwing an Error.
$ ssh... (4 Replies)
Discussion started by: naree
4 Replies
2. Shell Programming and Scripting
Hi,
I want to run a particular script present in a different server.
At the moment I am trying to run it like this:
(sleep 3; echo $USERID; sleep 1; echo $PASSWORD ; sleep 1 ; sleep 1 ;
echo "nohup perl myscript.pl $* &")| telnet "$server"
But the problem is that once the script has... (6 Replies)
Discussion started by: King Nothing
6 Replies
3. UNIX for Advanced & Expert Users
We have some AIX Unix Servers with 4 or 6 CPU and when type this command “c” in nmon always displays each cpu % with Averages on buttom. However we have several Servers with 18 CPU's and it only shows 16 17 on main page. Does nmon have some command that would show remaining with totals for Physical... (3 Replies)
Discussion started by: groosha
3 Replies
4. Shell Programming and Scripting
Hi guys ,
I want to run a specific command from one server to another.
For example I have a server called A(client) and a server called B(Server).
How would i fire a command on Server(B) while working on Client(A).
One way of doing it is using ssh
"ssh -tq 10.180.8.231 ls -ltr"
but... (3 Replies)
Discussion started by: pinga123
3 Replies
5. Shell Programming and Scripting
If i have one server processing some feeds and creating a database. Then i want to copy the relevant tables from the first server to the second server. I have a shell script to do the copy. I was going to make a cron to run the script at a certain time. But it would not be ideal. I really want... (8 Replies)
Discussion started by: timgolding
8 Replies
6. Programming
Hi All,
I am using a expect script to run a shell script on remote server, the code is as follows. But the problem is that it executes only first command, and hangs it doesn't run the next commands.
spawn ssh $uid@$host
expect "password:"
send "$password\r"
expect "*\r"
send... (2 Replies)
Discussion started by: yashwanthsn
2 Replies
7. Shell Programming and Scripting
hi,
I am using the below line to run a script from remote server(say server A) to another server(say server B).
ssh username@servername ksh script name.
The issue is the script logs into server B, executes the script on server B, transfers the file to server A but does not exit from... (4 Replies)
Discussion started by: yohasini
4 Replies
8. Shell Programming and Scripting
hi,
I need script to perform below task.
1. Read the IP address
2. copy the script from origin server to destination.
3. get root access on destination server
4. run the script on destination server
5. return to the origin server
Code:
#!/bin/bash
echo "Enter Server IP... (5 Replies)
Discussion started by: bapu1981
5 Replies
9. UNIX for Dummies Questions & Answers
I want to grab all the luns in vscsi disks from vio that are assigned to client lpars. They are not powerpath disks. Now when I do lspv as root in vio server I see 956 disks..the problem right now is that each disks lun are in hex so when I do lscfg vpl from vio..the FRU number is on hex.
Can... (3 Replies)
Discussion started by: pregmi
3 Replies
10. Shell Programming and Scripting
local script:
cat > first.sh
cd /tmp
echo $PWD
echo `whoami`
cd /tmp/123
tar -cvf 789.tar 456
sleep 10
except script:
cat > first
#!/usr/bin/expect
set ip 10.5.15.20
set user "xyz123"
set password "123456"
set script first.sh
spawn sh -c "ssh $user@$ip bash < $script" (1 Reply)
Discussion started by: Aditya Avanth
1 Replies
LEARN ABOUT DEBIAN
pbs_resources_sp2
pbs_resources_sp2(7B) PBS pbs_resources_sp2(7B)
NAME
pbs_resources_sp2 - pbs resources on IBM SP-2
DESCRIPTION
This page summarizes the resources supported by PBS for the IBM SP-2. These resources are specified by including them in the -l option
argument on the qsub or qalter command or in the PBS job script.
RESOURCES
nice The nice value under which the job is to be run. Units: unitary.
walltime
Maximum amount of real time during which the job can be in the running state. Units: time.
arch Specifies the administrator defined system architecture requried. This defaults to whatever the PBS_MACH string is set to in
"local.mk". Units: string.
host Name of host on which job should be run. This resource is provided for use by the site's scheduling policy. The allowable values
and effect on job placement is site dependent. Units: string.
nodes Number and/or type of nodes to be reserved for exclusive use by the job. The value is one or more node_specs joined with the '+'
character, "node_spec[+node_spec...]. Each node_spec is an number of nodes required of the type declared in the node_spec and a
name or one or more properity or properities desired for the nodes. The number, the name, and each properity in the node_spec are
separated by a colon ':'. If no number is specified, one(1) is assumed. Units: string.
The name of a node is its hostname. The properities of nodes are:
. ppn=# specifying the number of processors per node requested. Defaults to 1.
. arbitrary string assigned by the system administrator, please check with your administrator as to the node names and properities
available to you.
Examples:
. To ask for 12 nodes of any type: -l nodes=12
. To ask for 2 "server" nodes and 14 other nodes (a total of 16): -l nodes=2:server+14
The above consist of two node_specs "2:server" and "14".
. To ask for (a) 1 node that is a "server" and has a "hippi" interface, (b) 10 nodes that are not servers, and (c) 3 nodes that have
a large amount of memory an have hippi:
-l nodes=server:hippi+10:noserver+3:bigmem:hippi
. To ask for three nodes by name:
-l nodes=b2005+b1803+b1813
. To ask for 2 processors on each of four nodes:
-l nodes=4:ppn=2
. To ask for 4 processors on one node:
-l nodes=1:ppn=4
. To ask for 2 processors on each of two blue nodes and three processors on one red node:
-l nodes=2:blue:ppn=2+red:ppn=3
host Allows a user to specify the desired execution location. This resource is provided for use by the site's scheduling policy. The
allowable values and effect on job placement is site dependent. Units: string.
other Allows a user to specify site specific information. This resource is provided for use by the site's scheduling policy. The allow-
able values and effect on job placement is site dependent. Units: string.
software
Allows a user to specify software required by the job. This is useful if certain software packages are only available on certain
systems in the site. This resource is provided for use by the site's scheduling policy. The allowable values and effect on job
placement is site dependent. Units: string.
EXAMPLES
qsub -l nodes=15,walltime=2:00:00 script
or in a qsub script as a directive:
#PBS -l nodes=15,walltime=2:00:00
RESOURCE UNITS
The resource values take the following units:
time specifies a maximum time period the resource can be used. Time is expressed in seconds as an integer, or in the form:
[[hours:]minutes:]seconds[.milliseconds]
unitary The maximum amount of a resource which is expressed as a simple integer.
SEE ALSO
the PBS ERS, qsub(1B), qalter(1B), pbs_submit(3B), pbs_alterjob(3B), pbs_statjob(3b) pbs_resources_aix4(7B), pbs_resources_irix5(7B)
pbs_resources_sunos4(7B), pbs_resources_unicos8(7B)
Local pbs_resources_sp2(7B)