Summary

The profiler tool shows CPU usage for each process running in RouterOS. It helps to identify which process is using most of the CPU resources.
Watch our video about this feature.

[admin@MikroTik] > /tool/profile

On multi-core systems, the tool allows specifying per core CPU usage.

"CPU" parameter allows specifying integer number which represents a core or two of predefined values all and total:

  • total - this value sets to show the sum of all core usages;
  • all - value sets to show CPU usages separately for every available core

In the following example we will take a look at both predefined values:

[admin@MikroTik] > /tool/profile cpu=all 
NAME             CPU        USAGE       
ethernet         1          0%          
kvm              0          0%          
kvm              1          4.5%        
management       0          0%          
management       1          0.5%        
idle             0          100%        
idle             1          93%         
profiling        0          0%          
profiling        1          2%    

[admin@MikroTik] > /tool profile cpu=total 
NAME             CPU        USAGE       
ethernet         all        0%          
console          all        0%          
kvm              all        2.7%        
management       all        0%          
idle             all        97.2%       
profiling        all        0%          
bridging         all        0%  

Classifiers

RouterOS processes are classified by type and the CPU usage for each type is displayed separately for ease of debugging.

PropertyDescription
backupBackup service
bfdBFD service
bgpBGP service
bridgingBridging service
btestBandwidth test.
certificateCertificate service
consoleConsole
containercombined container usage
dhcpDHCP-Server and DHCP-Client services
diskstorage-related services
dnsDNS-related services
dudeThe Dude package services
e-maile-mail tool
encryptingencrypting processes
eoipEoIP
ethernetEthernet-related properties like link speed, auto-negotiation, duplex mode, monitor a transceiver diagnostic information, etc.
fetcherFetch tool
firewallFirewall-related processes
firewall-mgmtFirewall Management: Filtering, NAT, Mangle
flashstorage-related services
ftpFTP Service
gpsGPS Service
graphingGraphing tool
greGRE
healthsystem monitoring, workd health
hotspotHotspot service
idleFree CPU resources
igmp-proxyIGMP Proxy service
internet-detectDetect Internet tool
ip-poolIP Pool service
ipsec

IPsec service:
xfrm -  set of statistics showing numbers of packets dropped by the transformation code and why. 
drivers/crypto - drivers that provide access to the hardware cryptographic accelerators.
ipsec - processes that relate to the Internet Key Exchange (IKE) protocols, Authentication Header (AH), Encapsulating Security Payload (ESP).

kvmKVM virtual machine functionality
l7-matcherL7 matcher
lcdLCD Interfaces system
ldpLabel Distribution Protocol (LDP)
loggingLogging system
managementdifferent subsystems: scheduler, networking, file management, etc.
mplsMPLS-related features
neighbour-discoveryNeighbour discovery service
networkingcommon set of services included in the networking
ntpNTP service
ospfOSPF service
ovpnOVPN service
pimProtocol Independent Multicast
profilingProfiler service
queue-mgmtQueues: Simple queues, Queue tree, Queue types
queuingIntermediate Queuing
radiusRADIUS service
radvIPv6 radv daemon log messages service
remote-accessaccessing the device directly without logging into RouterOS
ripRouting Information Protocol
routingRouting-related services
serialserial console and terminal tool
sniffingpacket Sniffer tool
snmpSNMP
socksSocket Secure
spistorage-related services
sshSSH Server
sslSSL
supout.rifsupout.rif file generation
telnetTelnet service
tftpTFTP service
traffic-accountingTraffic-Flow log system
traffic-flowTraffic-Flow system
unclassifiedprocesses or services that are not defined by this classifier
upnpUPnP protocol
usbUSB features
user-managerUser Manager service
vrrpVRRP
web-proxyWeb Proxy
winboxWinbox
wireguardWireguard
wirelesscommon set of services using Wireless systems
wwwWebfig HTTP service
zerotierZeroTier


  • No labels