#include <RobotAPI/libraries/armem_system_state/server/LightweightSystemMonitor/linux_networkload.hpp>
|  | 
| enum | networkParam { RXbytes = 0, 
RXpackets, 
RXerrs, 
RXdrop,
 RXfifo, 
RXframe, 
RXcompressed, 
RXmulticast,
 TXbytes, 
TXpackets, 
TXerrs, 
TXdrop,
 TXfifo, 
TXcolls, 
TXcarrier, 
TXcompressed
 }
 | 
|  | 
- Author
- : Daniel Fuchs @contact: fuxey.nosp@m.solu.nosp@m.tions.nosp@m.@gma.nosp@m.il.co.nosp@m.m
distributed under the MIT License (MIT). Copyright (c) Daniel Fuchs 
Definition at line 20 of file linux_networkload.hpp.
◆ networkParam
| Enumerator | 
|---|
| RXbytes |  | 
| RXpackets |  | 
| RXerrs |  | 
| RXdrop |  | 
| RXfifo |  | 
| RXframe |  | 
| RXcompressed |  | 
| RXmulticast |  | 
| TXbytes |  | 
| TXpackets |  | 
| TXerrs |  | 
| TXdrop |  | 
| TXfifo |  | 
| TXcolls |  | 
| TXcarrier |  | 
| TXcompressed |  | 
Definition at line 51 of file linux_networkload.hpp.
 
 
◆ networkLoad()
  
  | 
        
          | networkLoad | ( | std::string | ethernetDataFileName = "/proc/net/dev", |  
          |  |  | std::string | ethName = "eth0" |  
          |  | ) |  |  |  | explicit | 
 
 
◆ createLinuxEthernetScanList()
  
  | 
        
          | static std::vector<std::shared_ptr<networkLoad> > createLinuxEthernetScanList | ( | const std::string & | ethernetDataFileName = "/proc/net/dev" | ) |  |  | inlinestatic | 
 
 
◆ getBitsPerSeceondString()
  
  | 
        
          | std::string getBitsPerSeceondString | ( | uint64_t | bytesPerSecond | ) |  |  | static | 
 
 
◆ getBitsString()
  
  | 
        
          | std::string getBitsString | ( | uint64_t | totalBytes | ) |  |  | static | 
 
 
◆ getBytesPerSeceondString()
  
  | 
        
          | std::string getBytesPerSeceondString | ( | uint64_t | bytesPerSecond | ) |  |  | static | 
 
 
◆ getBytesString()
  
  | 
        
          | std::string getBytesString | ( | uint64_t | totalBytes | ) |  |  | static | 
 
 
◆ getDeviceName()
      
        
          | std::string getDeviceName | ( |  | ) |  | 
      
 
 
◆ getParamPerSecond()
      
        
          | uint64_t getParamPerSecond | ( | std::string | designator | ) |  | 
      
 
 
◆ getParamSinceStartup()
      
        
          | uint64_t getParamSinceStartup | ( | std::string | designator | ) |  | 
      
 
 
◆ isDeviceUp()
      
        
          | bool isDeviceUp | ( |  | ) | const | 
      
 
 
◆ mapEnumToString()
◆ scanNetworkDevices()
  
  | 
        
          | std::list< std::string > scanNetworkDevices | ( | const std::string & | ethernetDataFile = "/proc/net/dev" | ) |  |  | static | 
 
 
The documentation for this class was generated from the following files: