How to Monitor a Task Consuming Too Much on a Linux Real Time Target?

Updated Apr 21, 2023

Environment

Hardware

  • cRIO-9035

I have an application on a Linux Real Time Controller, and my CPU is consuming too much (over 70%).

If your CPU usage of a Linux Real-Time Target is over a certain limit follow these steps to monitor the tasks running on it:
  1. You can start by monitoring the CPU load and the memory usage.
  2. Access the shell of the Linux Real-Time Target through SSH (Secure Shell) using PuTTY, a third-party Telnet and SSH client.
  3.  In the shell(prompt of command) that appears on your Windows PC host, you have to write the keyword top and you have the consuming percentage of the CPU, divided by each task as you can see in the following picture: