Author Topic: FPC commandline read CPU utilization  (Read 271 times)


  • Jr. Member
  • **
  • Posts: 96
FPC commandline read CPU utilization
« on: May 14, 2022, 06:47:32 pm »
Does anybody have a component name or example code to monitor the CPU utilization of my Raspberry for FPC in the command line?

Maybe i can strip a component ?

NumCPULib4Pascal only reads the processor count, and RPI_HAL does not have utilization percentages in it.

This URL is only for temperature.

Does anybody have alternatives?

Greets, Wouter van Wegen


  • Full Member
  • ***
  • Posts: 238
Re: FPC commandline read CPU utilization
« Reply #1 on: May 15, 2022, 01:32:28 pm »
Maybe you can make use:

Linux say: everything is file, so can open /proc/stat like file, read text, convert like number, make math as link write and print answer.


TinyPortal © 2005-2018