I use jtop to periodically log jetson stats. Jtop correctly returns the stats for an hour or two every 5 minutes after which it hangs.
Killing the python program and running jtop in a terminal returns nothing and also hangs (after a reboot jtop works again). Although there is no output, running a minimal jtop test in a debugger shows it freezes on the following line s.connect(address).
The code:
from jtop import jtop
with jtop() as jetson:
stats = jetson.stats
print(stats)
Line on which it freezes:
Traceback (most recent call last):
File "/home/oob1/jetsonServer/server/test.py", line 3, in <module>
with jtop() as jetson:
File "/usr/local/lib/python3.6/dist-packages/jtop/jtop.py", line 1081, in __enter__
self.start()
File "/usr/local/lib/python3.6/dist-packages/jtop/jtop.py", line 927, in start
self._broadcaster.connect()
File "/usr/lib/python3.6/multiprocessing/managers.py", line 489, in connect
conn = Client(self._address, authkey=self._authkey)
File "/usr/lib/python3.6/multiprocessing/connection.py", line 487, in Client
c = SocketClient(address)
File "/usr/lib/python3.6/multiprocessing/connection.py", line 614, in SocketClient
s.connect(address)
KeyboardInterrupt
Hi,
I use jtop to periodically log jetson stats. Jtop correctly returns the stats for an hour or two every 5 minutes after which it hangs. Killing the python program and running
jtop
in a terminal returns nothing and also hangs (after a rebootjtop
works again). Although there is no output, running a minimal jtop test in a debugger shows it freezes on the following lines.connect(address)
. The code:Line on which it freezes:
jtop -v = 3.1.0