How to Monitoring Task Consuming on a Linux Real Time Target?

Updated Nov 24, 2018

Reported In

Hardware

  • cRIO-9035

Issue Details

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

Solution

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: