Lines Matching refs:_sys

38     private $_sys = null;  variable in XML
113 $vitals->addAttribute('Hostname', $this->_sys->getHostname());
114 $vitals->addAttribute('IPAddr', $this->_sys->getIp());
115 $vitals->addAttribute('Kernel', $this->_sys->getKernel());
116 $vitals->addAttribute('Distro', $this->_sys->getDistribution());
117 $vitals->addAttribute('Distroicon', $this->_sys->getDistributionIcon());
118 $vitals->addAttribute('Uptime', $this->_sys->getUptime());
119 $vitals->addAttribute('Users', $this->_sys->getUsers());
120 $vitals->addAttribute('LoadAvg', $this->_sys->getLoad());
121 if ($this->_sys->getLoadPercent() !== null) {
122 $vitals->addAttribute('CPULoad', $this->_sys->getLoadPercent());
132 if (($procss = $this->_sys->getProcesses()) !== null) {
191 foreach ($this->_sys->getNetDevices() as $dev) {
213 if ($this->_sys->getMachine() != "") {
214 $hardware->addAttribute('Name', $this->_sys->getMachine());
218 foreach ($this->_sys->getCpus() as $oneCpu) {
260 foreach (System::removeDupsAndCount($this->_sys->getMemDevices()) as $dev) {
289 foreach (System::removeDupsAndCount($this->_sys->getPciDevices()) as $dev) {
306 foreach (System::removeDupsAndCount($this->_sys->getIdeDevices()) as $dev) {
323 foreach (System::removeDupsAndCount($this->_sys->getScsiDevices()) as $dev) {
340 foreach (System::removeDupsAndCount($this->_sys->getNvmeDevices()) as $dev) {
357 foreach (System::removeDupsAndCount($this->_sys->getUsbDevices()) as $dev) {
380 foreach (System::removeDupsAndCount($this->_sys->getTbDevices()) as $dev) {
389 foreach (System::removeDupsAndCount($this->_sys->getI2cDevices()) as $dev) {
407 $memory->addAttribute('Free', $this->_sys->getMemFree());
408 $memory->addAttribute('Used', $this->_sys->getMemUsed());
409 $memory->addAttribute('Total', $this->_sys->getMemTotal());
410 $memory->addAttribute('Percent', $this->_sys->getMemPercentUsed());
411 …if (($this->_sys->getMemApplication() !== null) || ($this->_sys->getMemBuffer() !== null) || ($thi…
413 if ($this->_sys->getMemApplication() !== null) {
414 $details->addAttribute('App', $this->_sys->getMemApplication());
415 $details->addAttribute('AppPercent', $this->_sys->getMemPercentApplication());
417 if ($this->_sys->getMemBuffer() !== null) {
418 $details->addAttribute('Buffers', $this->_sys->getMemBuffer());
419 $details->addAttribute('BuffersPercent', $this->_sys->getMemPercentBuffer());
421 if ($this->_sys->getMemCache() !== null) {
422 $details->addAttribute('Cached', $this->_sys->getMemCache());
423 $details->addAttribute('CachedPercent', $this->_sys->getMemPercentCache());
426 if (count($this->_sys->getSwapDevices()) > 0) {
428 $swap->addAttribute('Free', $this->_sys->getSwapFree());
429 $swap->addAttribute('Used', $this->_sys->getSwapUsed());
430 $swap->addAttribute('Total', $this->_sys->getSwapTotal());
431 $swap->addAttribute('Percent', $this->_sys->getSwapPercentUsed());
433 foreach ($this->_sys->getSwapDevices() as $dev) {
538 foreach ($this->_sys->getDiskDevices() as $disk) {
750 if ($this->_sys === null) {
778 $this->_sys = $this->_sysinfo->getSys();