From DocWiki

Jump to: navigation, search


Performance Routing (PfR) has many features, provides many services and has a great flexibility.
This page lists some useful scripts.

PfR DocWiki Navigation

  • Script to collect every 20 sec the 2x below commands (sh pfr master statistic + show proc cpu hist) and put outputs in a file on disk0:
event manager applet COLLECT
 event timer watchdog name COLLECT time 20
 action 1.0 cli command "enable"
 action 2.0 cli command "show clock"
 action 3.0 cli command "sh pfr master statistic | tee /append disk0:script-output.txt"
 action 4.0 cli command "show proc cpu hist | tee /append disk0:script-output.txt"

Rating: 5.0/5 (1 vote cast)

Personal tools