文件操作 - collisions
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/pcp/config/pmieconf/pernetif/collisions
编辑文件内容
#pmieconf-rules 1 # --- DO NOT MODIFY THIS FILE --- see pmieconf(5) # rule per_netif.collisions default = "$rule$" enumerate = hosts predicate = "some_inst ( 100 * network.interface.collisions $hosts$ / ( network.interface.collisions $hosts$ + network.interface.out.packets $hosts$ ) > $threshold$ && network.interface.out.packets $hosts$ > $packet_rate$ count/second )" enabled = yes version = 1 help = "More than threshold percent of the packets being sent across an interface are causing a collision, and packets are being sent across the interface at packet_rate packets per second. Ethernet interfaces expect a certain number of packet collisions, but a high ratio of collisions to packet sends is indicitive of a saturated network."; string rule default = "High collision rate in packet sends" modify = no display = no; percent threshold default = 40 help = "Threshold percent of transmitted packets are colliding with other packet sending attempts before being successfully transmitted."; double packet_rate default = 10 help = "Rate at which packets are being transmitted on an interface (number of packets per second) before considering the number of collisions as significant."; string action_expand default = "%v%collisions[%i]@%h" display = no modify = no; string email_expand default = "host: %h interface: %i collision rate: %v%" display = no modify = no; # Configuration info specific to non-PCP tools follows... # # for SGI Embedded Support Partner integration: string esp_type default = "0x20004E" display = no modify = no; # for EnlightenDSM integration: string enln_test default = per_netif.collisions display = no modify = no; string enln_units default = %collide[%i] display = no modify = no; # # --- DO NOT MODIFY THIS FILE --- see pmieconf(5)
修改文件时间
将文件时间修改为当前时间的前一年
删除文件