mirror of
https://github.com/bjango/istatserverlinux.git
synced 2025-10-21 15:08:08 +00:00
4
README
4
README
@@ -18,6 +18,10 @@ Requirements
|
||||
- sqlite3 + development libraries.
|
||||
- libxml2 + development libraries.
|
||||
|
||||
Optional Libraries
|
||||
- libavahi + development libraries.
|
||||
- lm_sensors/libsensors4 + development libraries.
|
||||
|
||||
We have a package guide available to help you install all the required packages for your OS - https://github.com/bjango/istatserverlinux/wiki/Package-Guide
|
||||
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# iStat Server
|
||||
|
||||
iStat Server is a system monitoring daemon that is used in conjunction with [iStat View for iOS](https://bjango.com/ios/istat/) and [iStat View for Mac](https://bjango.com/mac/istat/) to remotely monitor computers.
|
||||
iStat Server is a system monitoring daemon that is used in conjunction with [iStat View for iOS](https://bjango.com/ios/istat/) and [iStat View for macOS](https://bjango.com/mac/istat/) to remotely monitor computers.
|
||||
|
||||
-----
|
||||
|
||||
|
@@ -103,7 +103,11 @@ void Stats::prepare()
|
||||
|
||||
#ifdef HAVE_LIBKVM
|
||||
kvm_t *kd;
|
||||
if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, NULL)) != NULL)
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
if ((kd = kvm_open(NULL, NULL, NULL, KVM_NO_FILES, "kvm_open")) != NULL)
|
||||
#else
|
||||
if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open")) != NULL)
|
||||
#endif
|
||||
{
|
||||
cpuStats.kd = kd;
|
||||
loadStats.kd = kd;
|
||||
|
@@ -35,8 +35,8 @@
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SERVER_VERSION 3.02
|
||||
#define SERVER_BUILD 104
|
||||
#define SERVER_VERSION 3.03
|
||||
#define SERVER_BUILD 105
|
||||
#define PROTOCOL_VERSION 3
|
||||
#define HISTORY_SIZE 600
|
||||
|
||||
|
Reference in New Issue
Block a user