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

📄 mmstatd.conf

📁 mmstatd包含一个 C库和服务器
💻 CONF
字号:
# $Id: mmstatd.conf,v 1.1.1.1 2002/12/11 10:16:26 mmondor Exp $# This consists of the configuration file used by both mmstatd service# and mmstat library initialization. See mmstatd.conf(5) man page for details.# User mmstatd should run as (usually mmstatd)USER		mmstatd# Groups mmstatd should be part of, separated by spaces # LOG_GROUP and STAT_GROUP should be specified here as wellGROUPS		"mmstat staff"# syslog facility which should be usedLOG_FACILITY	LOG_AUTHPRIV# Location where mmstatd writes it's pid filePID_FILE	"/var/mmstatd/mmstatd.pid"## Location of mmstatd lock file, this is only used to make sure that only  # one copy of the service is running, otherwise this could lead to database# corruptionLOCK_FILE	"/var/mmstatd/mmstatd.lock"## Location of statistics update request socketLOG_SOCKET	"/var/mmstatd/mmstatd_log.sock"## Location of statistics report request socketSTAT_SOCKET	"/var/mmstatd/mmstatd_stat.sock"## Location where database and recovery logs are storedENV_DIR		"/var/mmstatd"# LOG_SOCKET is created with mode 220. This permits users of the following# specified group to perform statistic update requests.LOG_GROUP	mmstat## STAT_SOCKET is created with mode 660. This permits users of the following# specified group to obtain statistic reports.STAT_GROUP	staff# Specifies the interval in seconds at which the statistics db will be# synchronized to disk. This delay can be long enough, as a good log-based# recovery technique is used in case system crashed between two sync events.SYNC_INTERVAL	1800## Maximum number of bytes to write to recovery logs before forcing a sync# with physical media (using fsync()). 0 Can be specified to force a sync# after every new entry; Higher values may cause some of the last update# requests before a crash to be lost but will be more efficient.SYNC_BYTES	4096## Maximum size of a recovery log file. When reaching that size internal# rotation to other files is performed. Logs are internally maintained# and cleaned up as necessary by mmstatd and are not user serviceable.MAX_LOGSIZE	1048576## Maximum rate to accept statistic report requests at. This # prevents an# application from requesting a large number of full reports thus potentially# preventing the librarian part of mmstatd to peform it's # vital tasks. As a# general rule reports are not requested frequently. Care should be taken to# choose an adequate STAT_GROUP to restrict access also. STATS_RATE specifies# maximum number of requests to accept in STATS_TIME seconds.STATS_RATE	5		STATS_TIME	10

⌨️ 快捷键说明

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