📄 sortedstats.conf
字号:
# Configfile for sortedStats webutility# Make your own views if you want. Make sure:# - that the viewname (the one in brackets) and the name is not taken# - that name, path and dsdescr are set.## NB: You may experience problems when editing this file and then reloading# the ranked statistics-page. This is because the threads in the webserver# still uses the old file and not the new one. Waiting or reloading the page# several times will fix the problem.# The values here are in seconds. If someone wants to see a view and# the cache is older than this, it will fetch live data.[ss_general]# 5 minutescachetimeouthour: 300# 2 hourscachetimeoutday: 7200# 1 daycachetimeoutweek: 86400# 1 daycachetimeoutmonth: 86400# If you want to link to Cricket, sortedStats will do this if you# add the "linkview" option to the view. The value of linkview must# be the value Cricket uses (case-sensitive)# Example from Cricket-url: # https://nav.ntnu.no/cricket/?target=/switches/rfb-382s2-sw.ntnu.no;view=cpu[cpurouters]name: CPU Routerspath: routersdsdescr: cpu5minunits: percentlinkview: cpu[cpuswitches]name: CPU Switchespath: switchesdsdescr: cpu5minlinkview: cpu[uptimeswitches]name: Sysuptime Switchespath: switchesdsdescr: sysuptimeunits: daysmodifier: / 100 / 86400 [ifinoctetsswitchports]name: Traffic in on switchportspath: switch-portsdsdescr: ifinoctetsunits: bits/slinkview: Octetsmodifier: * 8[ifoutoctetsswitchports]name: Traffic out on switchportspath: switch-portsdsdescr: ifoutoctetsunits: bits/slinkview: Octetsmodifier: * 8[temprouters]name: Temperature Routers path: routers dsdescr: tempinlet linkview: temp[inerrors]name: Errors on interface inpath: switch-portsdsdescr: ifinerrorsmodifier: * 1000units: miliErrors / seclinkview: Errors[outerrors]name: Errors on interface outpath: switch-portsdsdescr: ifouterrorsmodifier: * 1000units: miliErrors / seclinkview: Errors
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -