---
title: "gmond帮助"
author: "wks3000"
date: "2015-08-23T18:53:31Z"
tags: ["Dump", "RRD", "gmond", "help"]
categories: ["开源软件"]
slug: "gmond"
draft: false
lastmod: "2015-08-23T18:53:31Z"
id: 2237447
url: "https://wks3000.iteye.com/blog/2237447"
---

\[[root@test2](mailto:root@test2) ganglia]# gmond -h  
gmond 3.7.2

The Ganglia Monitoring Daemon (gmond) listens to the cluster  
message channel, stores the data in-memory and when requested  
will output an XML description of the state of the cluster

Usage: gmond \[OPTIONS]...

  -h, --help             Print help and exit  
  -V, --version          Print version and exit  
  -c, --conf=STRING      Location of gmond configuration file    
                           (default=\`/etc/ganglia/gmond.conf')  
  -l, --location=STRING  Location of this host in the cluster   
                           'rack,rank,plane'.  (default=\`0,0,0')  
  -d, --debug=INT        Debug level. If greater than zero, daemon will stay in   
                           foreground.  (default=\`0')  
  -f, --foreground       Run in foreground (don't daemonize)  (default=off)  
  -t, --default\_config   Print the default configuration to stdout and exit    
                           (default=off)  
  -m, --metrics          Print the list of metrics this gmond supports    
                           (default=off)  
  -b, --bandwidth        Calculate minimum bandwidth use for configuration    
                           (default=off)  
  -r, --convert=STRING   Convert a 2.5.x configuration file to the new 3.x   
                           format  
  -p, --pid-file=STRING  Write process-id to file

 

gmond -m 查看所有加载的模块

gmond -t 查看默认配置

 

把RRD文件导出为可读的xml文件

rrdtool dump cpu\_idle.rrd &gt; cpu\_idle.xml