next up previous contents
Next: condor_history Up: 5. Command Reference Manual Previous: condor_compile

Subsections

  
condor_config_val

Query or set a given condor configuration variable

Synopsis

condor_config_val [options] variable [variable ... ]

condor_config_val [options] -set variable value [variable value ... ]

condor_config_val [options] -rset variable value [variable value ... ]

condor_config_val [options] -unset variable value [variable value ... ]

condor_config_val [options] -runset variable value [variable value ... ]

condor_config_val [options] -tilde

condor_config_val [options] -owner

Description

condor_config_val can be used to quickly see what the current condor configuration is on any given machine. Given a list of variables, condor_config_val will report what each of these variables is currently set to. If a given variable is not defined, condor_config_val will halt on that variable, and report that it is not defined. By default, condor_config_val looks in the local machine's configuration files in order to evaluate the variables.

condor_config_val can also be used to quickly set configuration variables for a specific daemon on a given machine. Each daemon remembers settings made by condor_config_val. The configuration file is not modified by this command. Persistent settings remain when the daemon is restarted. Runtime settings are lost when the daemon is restarted. NOTE: The changes will not take effect until you perform a condor_reconfig.

Options

Supported options are as follows:

-name daemon_name
Query the specified daemon for its configuration
-pool hostname
Use the given central manager to find daemons
-address <ip:port>
Connect to the given ip/port
-host hostname
Connect to the given hostname
-master | -schedd | -startd | -collector | -negotiator
The daemon to query (if not specified, master is default)
-set variable value
Set a persistent config file expression
-rset variable value
Set a runtime config file expression
-unset variable value
Unset a persistent config file expression
-runset variable value
Unset a runtime config file expression
-tilde
Return the path to the Condor home directory
-owner
Return the owner of the condor_config_val process
variable ...
The variables to query

Examples

% condor_config_val -name perdita -schedd MAX_JOBS_RUNNING
500
% condor_config_val -name perdita -schedd -set MAX_JOBS_RUNNING 10
Successfully set configuration "MAX_JOBS_RUNNING : 10" on 
schedd perdita.cs.wisc.edu <128.105.73.32:52067>.
% condor_reconfig -schedd perdita
Sent "Reconfig" command to schedd perdita.cs.wisc.edu
% condor_config_val -name perdita -schedd MAX_JOBS_RUNNING
10
% condor_config_val -name perdita -schedd -unset MAX_JOBS_RUNNING
Successfully unset configuration "MAX_JOBS_RUNNING" on 
schedd perdita.cs.wisc.edu <128.105.73.32:52067>.
% condor_reconfig -schedd perdita
Sent "Reconfig" command to schedd perdita.cs.wisc.edu
% condor_config_val -name perdita -schedd MAX_JOBS_RUNNING
500

Author

Condor Team, University of Wisconsin-Madison

Copyright

Copyright © 1990-1998 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. No use of the Condor Software Program is authorized without the express consent of the Condor Team. For more information contact: Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu. U.S. Government Rights Restrictions: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable, Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu.

See the Condor Version 6.1.2 Manual for additional notices.


next up previous contents
Next: condor_history Up: 5. Command Reference Manual Previous: condor_compile
condor-admin@cs.wisc.edu