⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 linux/unix下c/s形式的资源监视,客户端负责搜集机器,再传送到服务端.
💻 H
字号:
#ifndef _CONFIG_H_#define _CONFIG_H_/************************************  * for collector ************************************//* directory of cluster information */#define PROC_DIR "/tmp/cluster/"/* size of the mmaped file  */#define MAPPED_FILE_SIZE 1024/* how long the information in a node is obsolete */#define OBSOLETE_INTERVAL 10	/* seconds *//* time interval to refresh node list */#define REFRESH_INTERVAL 5		/* seconds *//************************************  * for monitor ************************************//* connection timeout to collector */#define TIMEOUT 5/* information types */#define PROCLIST 1001#define MONPORT 15031/************************************  * for both collector and monitor ************************************//* collector's port */#define SVRPORT 15021#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -