07-14-2010
What hardware is this running on.
Are the mtune and stune files the same on both machines.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need a quick script that will serve as a sort of "real time monitor" for watching some log files. I am using Bourne shell in HP-UX 10.20. I have basically created a script that never ends, unless of course I manually terminate it. Here's the script (it's called qhistory):
clear
echo "REAL... (3 Replies)
Discussion started by: cdunavent
3 Replies
2. UNIX for Dummies Questions & Answers
I need a help...
I have a HP Netserver LH 6000 U with Hardware Raid .
Sco 5.0.5 installed with Oracle database.
Total number of users, normally logged in are around 60 nos.
The system is very slow ( takes 6 hours for processing one Lakh bills) during the Billing process. Also it is... (1 Reply)
Discussion started by: saleeshpl
1 Replies
3. Programming
Hello,
How many child processes are actually created when running this code ?
#include <signal.h>
#include <stdio.h>
int main () {
int i ;
setpgrp () ;
for (i = 0; i < 10; i++) {
if (fork () == 0) {
if ( i & 1 ) setpgrp () ;
printf ("Child id: %2d, group: %2d\n", getpid(),... (0 Replies)
Discussion started by: green_dot
0 Replies
4. Shell Programming and Scripting
Hello,
How many child processes are actually created when running this code ?
#include <signal.h>
#include <stdio.h>
int main () {
int i ;
setpgrp () ;
for (i = 0; i < 10; i++) {
if (fork () == 0) {
if ( i & 1 ) setpgrp () ;
printf ("Child id: %2d, group: %2d\n",... (1 Reply)
Discussion started by: green_dot
1 Replies
5. Programming
Hi all.
I wrote a program with the Motif Widget Toolkit. It has a
button and a scrollbar. When the user hits the button the
callback creates a new fork() thread. The new thread sleeps
for a while and then changes the position of the scrollbar.
It does this in an endless loop.
I need the... (2 Replies)
Discussion started by: mghis
2 Replies
6. Programming
Hi friends,
I have a small question regarding unix system call fork, I hope you will solve my problem. Here is the small program
$ cat fork1.c
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
int main()
{
int pid;
int x = 0;
x = x + 1;
pid = fork();
if(pid < 0)
{... (2 Replies)
Discussion started by: gabam
2 Replies
7. Shell Programming and Scripting
Hi,
How to count how many processes opened by fork function in perl.
Thanks (10 Replies)
Discussion started by: Anjan1
10 Replies
8. Programming
Hello people
I need help
How to make ONE process to create MORE (not one) processes with fork(). I tried several codes but do not work.
Thanks (8 Replies)
Discussion started by: nekoj
8 Replies
9. AIX
Hello,
I am running Oracle Database and after a while I keep getting this message whenever I execute any command.
I cannot execute any command even shutdown, whenever I execute any command , I get this message
/usr/bin/ksh: 0403-031 The fork function failed. There is not enough memory... (7 Replies)
Discussion started by: filosophizer
7 Replies
10. Shell Programming and Scripting
Can anyone help me with this?
Create a parent process that gets from the command line n arguments arg1, arg2, ... , argn.
The parent will create n/3 son processes, each of them will create a file with the name argi by concatenate the files argi+1 and argi+2.
How can i concatenate those... (1 Reply)
Discussion started by: bunicu01
1 Replies
LEARN ABOUT DEBIAN
condor_findhost
condor_findhost(1) General Commands Manual condor_findhost(1)
Name
condor_findhost find - machine(s) in the pool that can be used with minimal impact on currently running Condor jobs and best meet any spec-
ified constraints
Synopsis
condor_findhost [-help] [-m] [-n num] [-c c_expr] [-r r_expr] [-p centralmanagerhostname]
Description
condor_findhostsearches a Condor pool of machines for the best machine or machines that will have the minimum impact on running Condor jobs
if the machine or machines are taken out of the pool. The search may be limited to the machine or machines that match a set of constraints
and rank expression.
condor_findhostreturns a fully-qualified domain name for each machine. The search is limited (constrained) to a specific set of machines
using the -coption. The search can use the -roption for rank, the criterion used for selecting a machine or machines from the constrained
list.
Options
-help
Display usage information and exit
-m
Only search for entire machines. Slots within an entire machine are not considered.
-n num
Find and list up to nummachines that fulfill the specification. numis an integer greater than zero.
-c c_expr
Constrain the search to only consider machines that result from the evaluation of c_expr. c_expris a ClassAd expression.
-r r_expr
r_expris the rank expression evaluated to use as a basis for machine selection. r_expris a ClassAd expression.
-p centralmanagerhostname
Specify the pool to be searched by giving the central manager's host name. Without this option, the current pool is searched.
General Remarks
condor_findhostis used to locate a machine within a pool that can be taken out of the pool with the least disturbance of the pool.
An administrator should set preemption requirements for the Condor pool. The expression
(Interactive =?= TRUE )
will let condor_findhostknow that it can claim a machine even if Condor would not normally preempt a job running on that machine.
Exit Status
The exit status of condor_findhostis zero on success. If not able to identify as many machines as requested, it returns one more than the
number of machines identified. For example, if 8 machines are requested, and condor_findhostonly locates 6, the exit status will be 7. If
not able to locate any machines, or an error is encountered, condor_findhostwill return the value 1.
Examples
To find and list four machines, preferring those with the highest mips (on Drystone benchmark) rating:
condor_findhost -n 4 -r "mips"
To find and list 24 machines, considering only those where the kflops attribute is not defined:
condor_findhost -n 24 -c "kflops=?=undefined"
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices.
condor-admin@cs.wisc.edu
September 2012 condor_findhost(1)