|
|
@ -12,7 +12,7 @@ import (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func ParseNetstat(output string, mode string,
|
|
|
|
func ParseNetstat(output string, mode string,
|
|
|
|
iocs map[string]IOCountersStat) (error) {
|
|
|
|
iocs map[string]IOCountersStat) error {
|
|
|
|
lines := strings.Split(output, "\n")
|
|
|
|
lines := strings.Split(output, "\n")
|
|
|
|
|
|
|
|
|
|
|
|
exists := make([]string, 0, len(lines)-1)
|
|
|
|
exists := make([]string, 0, len(lines)-1)
|
|
|
|