PIP 5.5.3
Platform-Independent Primitives
Classes | Static Public Member Functions | Public Attributes | List of all members
PISystemInfo Class Reference

Information about system. More...

#include <pisysteminfo.h>

Classes

struct  MountInfo
 Mount point information. More...
 

Static Public Member Functions

static PIStringList mountRoots ()
 Returns all mount points absolute pathes.
 
static PIVector< MountInfomountInfo (bool ignore_cache=false)
 Returns information of all mount points.
 
static PIString machineKey ()
 Returns system unique key.
 
static uint machineID ()
 Returns system unique key hash.
 
static PISystemInfoinstance ()
 Returns singleton of PISystemInfo.
 

Public Attributes

PIString ifconfigPath
 Absolute path to "ifconfig" utility.
 
PIString execCommand
 Application execution path (argv[0])
 
PIString hostname
 System hostname.
 
PIString user
 Username that starts application.
 
PIString OS_name
 System name (Windows, MacOS, ...)
 
PIString OS_version
 System version.
 
PIString architecture
 System architecture (x86, x86_64, ...)
 
PIDateTime execDateTime
 Application start date and time.
 
int processorsCount = 1
 System logical processors count.
 

Detailed Description

Information about system.