func (p Proc) NewNetDev() (NetDev, error) {
	return newNetDev(p.path("net/dev"))
}
NewNetDev returns kernel/system statistics read from /proc/[pid]/net/dev.
package procfs
import (
	"bufio"
	"errors"
	"os"
	"sort"
	"strconv"
	"strings"
)
type NetDevLine struct {
	Name         string `json:"name"`           
	RxBytes      uint64 `json:"rx_bytes"`       
	RxPackets    uint64 `json:"rx_packets"`     
	RxErrors     uint64 `json:"rx_errors"`      
	RxDropped    uint64 `json:"rx_dropped"`     
	RxFIFO       uint64 `json:"rx_fifo"`        
	RxFrame      uint64 `json:"rx_frame"`       
	RxCompressed uint64 `json:"rx_compressed"`  
	RxMulticast  uint64 `json:"rx_multicast"`   
	TxBytes      uint64 `json:"tx_bytes"`       
	TxPackets    uint64 `json:"tx_packets"`     
	TxErrors     uint64 `json:"tx_errors"`      
	TxDropped    uint64 `json:"tx_dropped"`     
	TxFIFO       uint64 `json:"tx_fifo"`        
	TxCollisions uint64 `json:"tx_collisions"`  
	TxCarrier    uint64 `json:"tx_carrier"`     
	TxCompressed uint64 `json:"tx_compressed"`  
}
type NetDev map[string]NetDevLine
func NewNetDev() (NetDev, error) {
	fs, err := NewFS(DefaultMountPoint)
	if err != nil {
		return nil, err
	}
	return fs.NewNetDev()
}
func (fs FS) NewNetDev() (NetDev, error) {
	return newNetDev(fs.Path("net/dev"))
}