10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Say I have this line:
read -p "Enter 3 numbers: " num1 num2 num3;
I want to write a while loop that repeatedly asks for input if the number of inputs entered is not equal to 3.
I don't know the correct command to find the number of inputs entered. Help, please? (4 Replies)
Discussion started by: jejemonx
4 Replies
2. Web Development
Hello,
I need help in Apache to restrict user for number of concurrent connection. its basically related to nagios monitoring site. End user opening N no of tab to monitor and it increase load on server.
any setting will help me here. (3 Replies)
Discussion started by: ghpradeep
3 Replies
3. Red Hat
Hi,
i am trying to find out hpw many virtual and physical processors does any linux machine has:
output of /proc/cpuinfo is as below :
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies
4. Solaris
hi,
I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine.
which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies
5. Shell Programming and Scripting
Input file
SFSQW 5192.56
HNRNPK 611.486
QEQW 1202.15
ASDR 568.627
QWET 6382.11
SFSQW 4386.3
HNRNPK 100
SFSQW 500
Desired output file
SFSQW 10078.86 3
QWET 6382.11 1
QEQW 1202.15 1
HNRNPK 711.49 2
ASDR 568.63 1
The way I tried: (2 Replies)
Discussion started by: patrick87
2 Replies
6. Red Hat
Hi
I have a Fedora10 server and i need a particular user to view files only in a particular folder.
All other files in other folders having "read" permission for all shouldn't be accessible to this user.
Please let me know if ther's a way.
Thanks,
HG (5 Replies)
Discussion started by: Hari_Ganesh
5 Replies
7. Solaris
Hello,
Using a Solaris SunOS 5.10, is there anyway to limit the number of processors utilised by an external vendor application over the server, from the unix OS perspective? (1 Reply)
Discussion started by: pgop
1 Replies
8. HP-UX
Hi,
I have two questions here.
I need to find out the number of physical processors the HP-UX operating system is running in. Here i am referring to the physical processors in a system and not the number of cores.
I can get the number of cores using the command 'ioscan -fnkC processor'.... (7 Replies)
Discussion started by: shawshank
7 Replies
9. AIX
Hello
I have a question in Aix 5.3 can I create a user, that only can see a specify path.
I mean the user log in the default path its /home/newuser he type cd the path that need to check /example/directory_check but if he wants to go to / or any other path. we can not do this.
I only... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
10. Shell Programming and Scripting
Hi all,
Is there a way to prevent users from being able to execute commands less a select few? For instance, I wish to allow the user to be only able to execute 1 command, which is exec a.sh. He should not be able to do simple stuff such as ls, cd, rm, cat, etc.
Can this be achieved?
... (1 Reply)
Discussion started by: rockysfr
1 Replies
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)