Skip to content
Merged

log top #2529

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# flake8: noqa: E402
import logging
from helpermodules import logger
from helpermodules.utils import thread_handler
from helpermodules.utils import run_command, thread_handler
import threading
import sys

Expand Down Expand Up @@ -70,6 +70,7 @@ def handler_with_control_interval():
else:
self.interval_counter = self.interval_counter + 1
log.info("# ***Start*** ")
log.debug(run_command.run_shell_command("top -b -n 1 | head -n 20"))
log.debug(f"Threads: {enumerate()}")
for thread in threading.enumerate():
logging.debug(f"Thread Name: {thread.name}")
Expand Down