[ask] how to get value of /system resource monitor?

we know that when running this command

/system resource monitor once

will give the result like this
[admin@Mikrotik] > /system/resource/monitor once
cpu-used: 22%
cpu-used-per-cpu: 7%, 8%, 17%,59%
free-memory: 132988KiB

my question is how to get those result to print in the log, when one of the cpu(cpu-used-per-cpu) goes to 90% ?

starter: http://forum.mikrotik.com/t/cpu-usage-script-in-terminal/166557/3

thanks @msatter
found this to get closer for what i want

[admin@Mikrotik] > :put [system/resource/monitor once as-value]         
cpu-used=14;cpu-used-per-cpu=8%;7%;12%;31%;free-memory=133036

and i also reading this to understand :unamused:
https://wiki.mikrotik.com/wiki/Manual:Scripting_Tips_and_Tricks