Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
30cccdb4
Commit
30cccdb4
authored
Nov 19, 2009
by
Leo Gordon
Browse files
revised changes proposed by Abel
parent
f499fa99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/Bio/EnsEMBL/Hive/Meadow/LOCAL.pm
modules/Bio/EnsEMBL/Hive/Meadow/LOCAL.pm
+2
-2
No files found.
modules/Bio/EnsEMBL/Hive/Meadow/LOCAL.pm
View file @
30cccdb4
...
...
@@ -10,7 +10,7 @@ use base 'Bio::EnsEMBL::Hive::Meadow';
sub
count_running_workers
{
my
$self
=
shift
@_
;
my
$cmd
=
'
ps
-a
| grep runWorker.pl | grep -v grep | wc -l
';
my
$cmd
=
'
ps
x
| grep runWorker.pl | grep -v
"
grep
runWorker.pl"
| wc -l
';
my
$run_count
=
qx/$cmd/
;
chomp
(
$run_count
);
...
...
@@ -26,7 +26,7 @@ sub responsible_for_worker {
sub
status_of_all_my_workers
{
# returns a hashref
my
(
$self
)
=
@_
;
my
$cmd
=
'
ps -o state,pid,cmd -w -w --no-header x | grep runWorker.pl
';
my
$cmd
=
'
ps -o state,pid,cmd -w -w --no-header x | grep runWorker.pl
| grep -v "grep runWorker.pl"
';
# FIXME: if we want to incorporate Meadow->pipeline_name() filtering here,
# a dummy parameter to the runWorker.pl should probably be introduced
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment