 package
    
    
    
      package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v3.18.2+incompatible
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Sep  7, 2022
  
      
  
    License: Apache-2.0
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 12
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 0
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
       Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      
        
       
    
  
    
      
        
 
  
  
  
    
      View Source
      var (
	
	
	ErrDockerNotFound = errors.New("Docker ID not found")
)
     
  
    
      View Source
      var (
	
	ErrFeatureUnsupported = errors.New("That feature is not supported on this platform")
)
     
  
  
  
	  
  
  
    
    
    
  BootID returns the boot ID of the executing kernel.
  
         
	  
  
  
    
    
    
  BytesToMebibytes converts bytes into mebibytes.
  
         
	  
  
  
    
    
    
  DockerID attempts to detect Docker.
  
         
	  
  
  
    
    
    
  Hostname returns the host name.
  
         
	  
  
  
    
    
    
  PhysicalMemoryBytes returns the total amount of host memory.
  
         
  
  
      
  
  
    
    
    
  Usage contains process process times.
    
  
  
    
    
    
  GetUsage gathers process times.
  
   
  
       
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
      - bootid.go
- docker.go
- errors.go
- hostname_linux.go
- memtotal.go
- memtotal_linux.go
- usage.go
- usage_posix.go
 
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.