ljh1 commited on
Commit
99233a7
1 Parent(s): 3dc7c4a

Add tracing

Browse files
Files changed (1) hide show
  1. handler.py +5 -7
handler.py CHANGED
@@ -18,14 +18,12 @@ class EndpointHandler:
18
  Return:
19
  A :obj:`list` | `dict`: will be serialized and returned
20
  """
21
- print('sys.executable', sys.executable)
22
- print('sys.version', sys.version)
23
- print('os.getcwd', os.getcwd())
24
- print('__file__', __file__)
25
- print('ls')
26
  os.system('ls')
27
- print('ls ..')
28
- os.system('ls ..')
29
 
30
  # get inputs
31
  inputs = data.pop("inputs", data)
 
18
  Return:
19
  A :obj:`list` | `dict`: will be serialized and returned
20
  """
21
+ os.system('echo $PWD')
22
+ os.system('python --version')
23
+ os.system('python3 --version')
 
 
24
  os.system('ls')
25
+ os.system('ps -ef')
26
+ os.system('uname -a')
27
 
28
  # get inputs
29
  inputs = data.pop("inputs", data)