OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pidfiles
(Results
1 - 3
of
3
) sorted by null
/external/autotest/scheduler/
drone_manager_unittest.py
404
# Create some fake
pidfiles
and confirm that a refresh call is
441
pidfiles
= {pidfile_path: '123\n12\n0\n'}
443
'
pidfiles
':
pidfiles
,
447
'pidfiles_second_read':
pidfiles
,
462
pidfiles
= self.manager._pidfiles
463
pidfile_id =
pidfiles
.keys()[0]
464
pidfile_contents =
pidfiles
[pidfile_id]
drone_utility.py
9
5. The caller is responsible for monitoring asynchronous calls through
pidfiles
.
439
"""Object to refresh process information from give
pidfiles
.
459
@param pidfile_paths: A list of paths to check for
pidfiles
.
463
-
pidfiles
: dict mapping pidfile paths to file contents, for
464
pidfiles
that exist.
470
- pidfiles_second_read: same info as
pidfiles
, but gathered after
482
logging.info('Refreshing %d
pidfiles
with %d helper processes',
501
'
pidfiles
': self._read_pidfiles(pidfile_paths),
517
pidfiles
= {}
522
pidfiles
[content.path] = content.conten
[
all
...]
drone_manager.py
410
def _process_pidfiles(self, drone,
pidfiles
, store_in_dict):
411
for pidfile_path, contents in
pidfiles
.iteritems():
509
# {drone: [{'
pidfiles
': (raw contents of pidfile paths),
524
# The loop below goes through and parses pidfile contents.
Pidfiles
529
# All
pidfiles
are stored in the drone managers _pidfiles dict as:
551
self._process_pidfiles(drone, results['
pidfiles
'], self._pidfiles)
[
all
...]
Completed in 120 milliseconds