Closed m8 closed 2 months ago
Thank you for this nice PR! I'm wondering if the changed output could break any existing workflows (e.g., damo status
output parser scripts), though. The probability is pretty low, but I'd like to ensure this never breaks something. What do you think about making this output optional using another command line, e.g., damo status --show_cpu_usage
?
Thanks @sjp38 for the feedback, i just updated the code.
Thank you for this great PR, @m8!
This commit adds CPU usage stat for kdamond by parsing the output of ps, which will then be used in damo status. I would also like to ask if I should implement this as a separate function, such as
is_kdamond_running
, or if the current approach is ok.