Hello. I'm quite new to writing scripts for Mikrotik. But I needed a script that would display used of the Mikrotik processor in the terminal. Is it possible?
:local cpuLoad [/system resource get cpu-load]
:put $cpuLoad
Thank you. Thus shows the degree of CPU usage in percent. And to find out how the processor will be loaded in a second, the script needs to be run in a loop and then it will display the result in a new line. But in order to monitor the state of the processor, this is not enough and not convenient. Can you tell me how to make a graphical display similar to displaying the CPU load in Linux with the "htop" command?Code: Select all:local cpuLoad [/system resource get cpu-load] :put $cpuLoad