CPU usage is not getting detected by Tracee #3257
Unanswered
rohitburke
asked this question in
Questions and Help
Replies: 3 comments 2 replies
-
Tracee doesn't have an event to detect CPU or memory usage. |
Beta Was this translation helpful? Give feedback.
0 replies
-
As documented at https://aquasecurity.github.io/tracee/v0.15/docs/events/builtin/syscalls/getcpu/ as well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay, so it is not possible to detect CPU or Memory usage through Tracee? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I thought of using Tracee to detect the CPU usage done by my program. Tracee was not able to detect anything then I use another program that intentionally increase the CPU usage in the background. So to check that with Tracee I also ran Top as I was using it earlier to detect any CPU usage. So, the program which I ran was basically encrypting a file of 100 MB.
You can see in the image where I filtered the getcpu event for CPU detection but it fail to show any output. Although, at the same time Top was able to detect a CPU usage of 17.5%. Still, I gave one more try by running some other programs to disturb my CPU but Tracee wasn't able to detect it. The only time when Tracee gets the CPU warning is when I ran a fork Bomb on my machine. Then only it shows some events.
Let me know why Tracee was not able to detect CPU usage by running those programs. I thought Tracee already has the capability to measure CPU and memory usage on our device.
Output of
tracee version
:Output of
uname -a
:Beta Was this translation helpful? Give feedback.
All reactions