Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::systemInfo Namespace Reference

Enumerations

enum class  eLsbRelInfoType { LsbRelDistributor , LsbRelDescription , LsbRelRelease , LsbRelCodename }
 

Functions

static std::optional< std::string > getValueFromLsbRelease (const iv::systemInfo::eLsbRelInfoType infoType)
 
static std::optional< std::string > getValueFromOsRelease (const std::string &key)
 
std::optional< std::string > kernelName ()
 
std::optional< std::string > kernelVersion ()
 
std::optional< std::string > kernelVersionFull ()
 
std::optional< std::string > osCodename ()
 
std::optional< std::string > osName ()
 
std::string osPrettyNameWithVersion ()
 
std::string osVersion ()
 
std::optional< std::string > osVersionId ()
 
std::string osVersionInfo ()
 
std::string screenResolution ()
 
std::optional< std::string > cpuUsage ()
 
std::optional< std::string > cpuTemp ()
 
std::optional< std::string > cpuModelName ()
 
std::optional< std::string > cpuFrequency ()
 
std::optional< std::string > totalStorage ()
 
std::optional< std::string > storageUsage ()
 
std::optional< uint64_t > uptime ()
 
std::string prvKbToGb (const std::string &kb)
 
std::optional< std::string > totalMemory ()
 
std::optional< std::string > freeMemory ()
 
std::optional< std::string > memoryUsage ()
 
std::optional< std::string > diamarMemoryUsage ()
 
std::optional< std::string > ethernetLink ()
 
std::optional< std::string > ethernetMacAddress ()
 
std::optional< std::set< std::string > > ethernetIpAddress ()
 
std::optional< std::string > gpuModelName ()
 
std::optional< std::string > gpuVendor ()
 
std::optional< std::string > gpuDriver ()
 

Enumeration Type Documentation

◆ eLsbRelInfoType

Enumerator
LsbRelDistributor 
LsbRelDescription 
LsbRelRelease 
LsbRelCodename 

Function Documentation

◆ cpuFrequency()

std::optional< std::string > iv::systemInfo::cpuFrequency ( )

◆ cpuModelName()

std::optional< std::string > iv::systemInfo::cpuModelName ( )

◆ cpuTemp()

std::optional< std::string > iv::systemInfo::cpuTemp ( )

◆ cpuUsage()

std::optional< std::string > iv::systemInfo::cpuUsage ( )

◆ diamarMemoryUsage()

std::optional< std::string > iv::systemInfo::diamarMemoryUsage ( )

◆ ethernetIpAddress()

std::optional< std::set< std::string > > iv::systemInfo::ethernetIpAddress ( )

◆ ethernetLink()

std::optional< std::string > iv::systemInfo::ethernetLink ( )

◆ ethernetMacAddress()

std::optional< std::string > iv::systemInfo::ethernetMacAddress ( )

◆ freeMemory()

std::optional< std::string > iv::systemInfo::freeMemory ( )

◆ getValueFromLsbRelease()

static std::optional< std::string > iv::systemInfo::getValueFromLsbRelease ( const iv::systemInfo::eLsbRelInfoType infoType)
static

◆ getValueFromOsRelease()

static std::optional< std::string > iv::systemInfo::getValueFromOsRelease ( const std::string & key)
static

◆ gpuDriver()

std::optional< std::string > iv::systemInfo::gpuDriver ( )

◆ gpuModelName()

std::optional< std::string > iv::systemInfo::gpuModelName ( )

◆ gpuVendor()

std::optional< std::string > iv::systemInfo::gpuVendor ( )

◆ kernelName()

std::optional< std::string > iv::systemInfo::kernelName ( )

◆ kernelVersion()

std::optional< std::string > iv::systemInfo::kernelVersion ( )

◆ kernelVersionFull()

std::optional< std::string > iv::systemInfo::kernelVersionFull ( )

◆ memoryUsage()

std::optional< std::string > iv::systemInfo::memoryUsage ( )

◆ osCodename()

std::optional< std::string > iv::systemInfo::osCodename ( )

◆ osName()

std::optional< std::string > iv::systemInfo::osName ( )

◆ osPrettyNameWithVersion()

std::string iv::systemInfo::osPrettyNameWithVersion ( )

◆ osVersion()

std::string iv::systemInfo::osVersion ( )

◆ osVersionId()

std::optional< std::string > iv::systemInfo::osVersionId ( )

◆ osVersionInfo()

std::string iv::systemInfo::osVersionInfo ( )

◆ prvKbToGb()

std::string iv::systemInfo::prvKbToGb ( const std::string & kb)

◆ screenResolution()

std::string iv::systemInfo::screenResolution ( )

◆ storageUsage()

std::optional< std::string > iv::systemInfo::storageUsage ( )

◆ totalMemory()

std::optional< std::string > iv::systemInfo::totalMemory ( )

◆ totalStorage()

std::optional< std::string > iv::systemInfo::totalStorage ( )

◆ uptime()

std::optional< uint64_t > iv::systemInfo::uptime ( )