Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for monitoring CPU usage of processes in a Network Element. Copyright (c) 2016-2017 by Cisco Systems, Inc. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpuUsage ¶
type CpuUsage struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Data nodes for Total CPU Utilization Statistics. CpuUtilization CpuUsage_CpuUtilization }
CpuUsage CPU Utilization data
func (*CpuUsage) GetEntityData ¶
func (cpuUsage *CpuUsage) GetEntityData() *types.CommonEntityData
type CpuUsage_CpuUtilization ¶
type CpuUsage_CpuUtilization struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Busy percentage in last 5-seconds. The type is interface{} with range: // 0..255. Units are percent. FiveSeconds interface{} // Interrupt busy percentage in last 5-seconds. The type is interface{} with // range: 0..255. Units are percent. FiveSecondsIntr interface{} // Busy percentage in last one minute. The type is interface{} with range: // 0..255. Units are percent. OneMinute interface{} // Busy percentage in last five minutes. The type is interface{} with range: // 0..255. Units are percent. FiveMinutes interface{} // Data nodes for System wide Process CPU usage Statistics. CpuUsageProcesses CpuUsage_CpuUtilization_CpuUsageProcesses }
CpuUsage_CpuUtilization Data nodes for Total CPU Utilization Statistics.
func (*CpuUsage_CpuUtilization) GetEntityData ¶
func (cpuUtilization *CpuUsage_CpuUtilization) GetEntityData() *types.CommonEntityData
type CpuUsage_CpuUtilization_CpuUsageProcesses ¶
type CpuUsage_CpuUtilization_CpuUsageProcesses struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The list of software processes on the device. The type is slice of // CpuUsage_CpuUtilization_CpuUsageProcesses_CpuUsageProcess. CpuUsageProcess []*CpuUsage_CpuUtilization_CpuUsageProcesses_CpuUsageProcess }
CpuUsage_CpuUtilization_CpuUsageProcesses Data nodes for System wide Process CPU usage Statistics.
func (*CpuUsage_CpuUtilization_CpuUsageProcesses) GetEntityData ¶
func (cpuUsageProcesses *CpuUsage_CpuUtilization_CpuUsageProcesses) GetEntityData() *types.CommonEntityData
type CpuUsage_CpuUtilization_CpuUsageProcesses_CpuUsageProcess ¶
type CpuUsage_CpuUtilization_CpuUsageProcesses_CpuUsageProcess struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Process-ID of the process. The type is interface{} // with range: 0..4294967295. Pid interface{} // This attribute is a key. The name of the process. The type is string. Name interface{} // TTY bound to by the process. The type is interface{} with range: 0..65535. Tty interface{} // Total Run-time of this process (mSec). The type is interface{} with range: // 0..18446744073709551615. Units are milli-seconds. TotalRunTime interface{} // Total number of invocations. The type is interface{} with range: // 0..4294967295. InvocationCount interface{} // Average Run-time of this process (uSec). The type is interface{} with // range: 0..18446744073709551615. Units are micro-seconds. AvgRunTime interface{} // Busy percentage in last 5-seconds. The type is string with range: // -92233720368547758.08..92233720368547758.07. Units are percent. FiveSeconds interface{} // Busy percentage in last one minute. The type is string with range: // -92233720368547758.08..92233720368547758.07. Units are percent. OneMinute interface{} // Busy percentage in last five minutes. The type is string with range: // -92233720368547758.08..92233720368547758.07. Units are percent. FiveMinutes interface{} }
CpuUsage_CpuUtilization_CpuUsageProcesses_CpuUsageProcess The list of software processes on the device.
func (*CpuUsage_CpuUtilization_CpuUsageProcesses_CpuUsageProcess) GetEntityData ¶
func (cpuUsageProcess *CpuUsage_CpuUtilization_CpuUsageProcesses_CpuUsageProcess) GetEntityData() *types.CommonEntityData
Click to show internal directories.
Click to hide internal directories.