This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import io | |
| import requests | |
| from ConfigParser import SafeConfigParser | |
| #from ConfigParser import SafeConfigParser, NoSectionError, InterpolationMissingOptionError | |
| url = 'http://gridui18.usatlas.bnl.gov:25880/queues.conf' | |
| r = requests.get(url) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is pilot wrapper : runpilot3-wrapper.sh-example 15275 2013-04-24 11:26:25Z plove $ | |
| Please send development requests to p.love@lancaster.ac.uk | |
| Monitor ping: OK | |
| Scanning landing zone... | |
| Current dir: /home/atlasprd/home_cream_450850604/CREAM450850604 | |
| total 16 | |
| -rw-r--r-- 1 atlasprd atlas 0 May 7 13:44 1340840.11.err | |
| -rw-r--r-- 1 atlasprd atlas 253 May 7 13:44 1340840.11.out | |
| -rwxr-xr-x 1 atlasprd atlas 10050 May 7 13:44 runpilot3-wrapper-apr24.sh | |
| Me and my args: ./runpilot3-wrapper-apr24.sh -s UKI-SOUTHGRID-OX-HEP -h UKI-SOUTHGRID-OX-HEP-t2ce02-longfive-pbs -p 25443 -w https://pandaserver.cern.ch -j false -k 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INFO | jvm 1 | 2013/05/31 11:14:36 | May 31, 2013 11:14:36 AM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions | |
| INFO | jvm 1 | 2013/05/31 11:14:36 | WARN: SQL Error: 0, SQLState: 08003 | |
| INFO | jvm 1 | 2013/05/31 11:14:36 | May 31, 2013 11:14:36 AM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions | |
| INFO | jvm 1 | 2013/05/31 11:14:36 | ERROR: No operations allowed after connection closed. | |
| INFO | jvm 1 | 2013/05/31 11:14:36 | 2013-05-31 11:14:36.899:WARN:/:Exception while dispatching incoming RPC call | |
| INFO | jvm 1 | 2013/05/31 11:14:36 | com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.traccar.web.shared.model.User org.traccar.web.client.model.DataService.login(java.lang.String,java.lang.String)' threw an unexpected exception: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: No operations allowed after connection closed. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nordugridrsl = '(jobname = arc_pilot)' | |
| rsladd = '(runtimeenvironment = APPS/HEP/ATLAS-SITE-LCG)(runtimeenvironment = ENV/PROXY)' | |
| rsladd += '(jobname = arc_pilot)' | |
| if memory: | |
| rsladd += '(memory = %d)' % memory | |
| if corecount: | |
| rsladd += '(count = %d)' % corecount | |
| if maxmemory and corecount: | |
| percore = maxmemory/corecount | |
| rsladd += '(maxmemory = %d)' % percore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rsladd = '(runtimeenvironment = APPS/HEP/ATLAS-SITE-LCG)(runtimeenvironment = ENV/PROXY)' | |
| rsladd += '(jobname = arc_pilot)' | |
| if corecount: | |
| rsladd += '(count = %d)' % corecount | |
| rsladd += '(countpernode = %d)' % corecount | |
| if maxmemory and corecount: | |
| percore = maxmemory/corecount | |
| rsladd += '(memory = %d)' % percore | |
| elif memory: | |
| rsladd += '(memory = %d)' % memory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ _CONDOR_TOOL_DEBUG=D_ALL condor_submit -debug -remote cloudscheduler.cern.ch:8081 /tmp/asoka.jdl | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_CONFIG) config: using subsystem 'SUBMIT', local '' | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_LOAD) Reading from /proc/cpuinfo | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_LOAD) Found: Physical-IDs:False; Core-IDs:False | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_HOSTNAME) condor_gethostname() claims we are aipanda020 | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_HOSTNAME) NETWORK_INTERFACE=* matches lo 127.0.0.1, eth0 128.142.135.97, virbr0 192.168.122.1, choosing IP 128.142.135.97 | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_CONFIG) ENABLE_IPV6 is undefined, using default value of False | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_HOSTNAME) Considering aipanda020.cern.ch (Ranked at 3) as possible local hostname versus aipanda020/ (0) | |
| 02/12/14 20:57:13 (fd:3) (pid:13681) (D_HOSTNAME) Identifying myself as: Short:: aipanda020, Long: aipanda020.cern.ch, IP: 128.142.135.97 | |
| 02/12/14 20:57:13 (fd:3) (pi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ _CONDOR_TOOL_DEBUG=D_ALL condor_submit -debug -remote cloudscheduler.cern.ch:8081 /tmp/asoka.jdl | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_CONFIG) config: using subsystem 'SUBMIT', local '' | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_LOAD) Reading from /proc/cpuinfo | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_LOAD) Found: Physical-IDs:False; Core-IDs:False | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_HOSTNAME) condor_gethostname() claims we are aipanda020 | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_HOSTNAME) NETWORK_INTERFACE=* matches lo 127.0.0.1, eth0 128.142.135.97, virbr0 192.168.122.1, choosing IP 128.142.135.97 | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_CONFIG) ENABLE_IPV6 is undefined, using default value of False | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_HOSTNAME) Considering aipanda020.cern.ch (Ranked at 3) as possible local hostname versus aipanda020/ (0) | |
| 02/12/14 21:27:32 (fd:3) (pid:17633) (D_HOSTNAME) Identifying myself as: Short:: aipanda020, Long: aipanda020.cern.ch, IP: 128.142.135.97 | |
| 02/12/14 21:27:32 (fd:3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ virtualenv --version | |
| 1.11.6 | |
| $ virtualenv env | |
| New python executable in env/bin/python | |
| Installing setuptools, pip...done. | |
| $ . env/bin/activate | |
| (env)$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function set_limits() { | |
| # Set some limits to catch jobs which go crazy from killing nodes | |
| # 20GB limit for output size (block = 1K in bash) | |
| fsizelimit=$((20*1024*1024)) | |
| echo Setting filesize limit to $fsizelimit | |
| ulimit -f $fsizelimit | |
| # Apply memory limit? | |
| memLimit=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # What does logstash do with the topic string? | |
| # How can I filter messages zmq.SUBSCRIBE? | |
| # Is logstash missing this: http://zguide.zeromq.org/page%3aall#Pub-Sub-Message-Envelopes | |
| # logstash config | |
| input { | |
| generator { | |
| lines => [ |
OlderNewer