irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

terminate_irods_processes.py
Go to the documentation of this file.
1 #!/usr/bin/python
2 from __future__ import print_function
3 
4 import sys
5 
6 from irods.controller import IrodsController
7 
8 #
9 # This script finds iRODS processes owned by the current user,
10 # confirms their full_path against this installation of iRODS,
11 # checks their executing state, then pauses and kills each one.
12 #
13 
14 if __name__ == '__main__':
15  try:
16  control = IrodsController()
17  control.stop()
18  except BaseException as e:
19  print(e, file=sys.stderr)
20  sys.exit(1)
irods.controller
Definition: controller.py:1
irods.controller.IrodsController
Definition: controller.py:26