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

📄 gkrellmd.1

📁 系统任务管理器
💻 1
字号:
.TH gkrellmd 1 "June 7, 2003" "GNU/Linux" "User's Manual".SH "NAME"gkrellmd \- The GNU Krell Monitors Server.SH "SYNOPSIS".B gkrellmd[.B \-\-help][.B \-\-verbose][.B \-u|.B \-\-update-hzN][.B \-m|.B \-\-max-clientsN][.B \-P|.B \-\-portN][.B \-a|.B \-\-allow-hosthostname][.B \-d|.B \-\-detach][.B \-p|.B \-\-pluginname][.B \-pe|.B \-\-plugin-enablename][.B \-\-plist][.B \-\-plog][.B \-U|.B \-\-userusername][.B \-G|.B \-\-groupgroupname][.B \-\-inet-intervalseconds][.B \-\-io-timeoutseconds][.B \-\-reconnect-timeoutseconds][.B \-\-mailboxmbox_path][.B \-\-net-timernet_interface][.B \-\-mbmon-portnumber].SH "DESCRIPTION".PP.B gkrellmdListens for connections from.Bgkrellmclients.  When a.B gkrellmclient connects to a.B gkrellmdserver all builtin monitors collecttheir data from the server.  However, the.B gkrellmprocess is running on the local machine, soplugins enabled in.B gkrellmwill collect data from the localcontext unless the plugin is client/server capable and has a.B gkrellmdplugin counterpart which is installedand enabled on the server.  Enabling a.B gkrellmdplugin installed on a server requires adding a.I plugin-enableline to a.I gkrellmd.conffile..PPAny command launching from a gkrellm client will run commandson the local machine.  If you want to execute commands on the server,the client side commands will have to use sudo..PPThere is no support for file system mounting on the machine where the.B gkrellmdserver is running..SH "OPTIONS".TP.B \-h \-\-helpDisplays usage information and exits..TP.B \-v \-\-versionPrints.B gkrellmdversion and exits..TP.B \-V \-\-verbosePrints connection progress..TP.B \-u, \-\-update-hz fSets the data update frequency in samples per second for the server.This is independent of and should be less than the.Bgkrellmclient update rate.  The rate can be from 1 to 10 and should be lowerto minimize network traffic.  A value of not much more than 1/2 the clientupdate rate is best where it is not important to minimize network traffic..TP.B \-m, \-\-max-clients NSets the maximum number of simultaneous clients allowed to connectto the server..TP.B \-P, \-\-port server_portUse.I server_portfor the network connection..TP.B \-a, \-\-allow-host hostnameSpecify hosts which are allowed to connect.  Multiple.I allow-hostarguments may be given.  If no hosts are specified on the commandline or in a gkrellmd.conf file, then allhosts are allowed to connect.  The.I hostnameargument may be a text name or a IPv4 or IPv6dotted notation.  For IPv4, the simple subnet pattern x.y.z.* may be used.Also, if.I hostnameis the keyword.B ALLthen all hosts are allowed.  This option is additive and specified hostswill be added to the hostnames listed in gkrellmd.conf files unless the.I --clear-hostsoption is given first..TP.B \-p, \-\-plugin nameFor plugin development convenience, load and enable the command linespecified pluginto avoid repeated install steps in the development cycle.See the README from the gkrellm.I demo5for more information on gkrellmd plugin development.Requires at least gkrellmd version 2.2.0..TP.B \-pe, \-\-plugin-enable nameSpecify an installed plugin to enable (this is probably more convenientto specify in a gkrellmd.conf file).Requires at least gkrellmd version 2.2.0..TP.B \-plistOutput a list of plugins which are installed and available to enable and exit.Requires at least gkrellmd version 2.2.0..TP.B \-plogOutput a log of the plugin install process.  When requesting a log, the.I --detachoption will have no effect.Requires at least gkrellmd version 2.2.0..TP.B \-c, \-\-clear-hostsClears the current list of allowed hosts.  Use this before any.I --allow-hostarguments if you want command lineallowed hosts to override and not be additive to those specified ingkrellmd.conf files..TP.B -d, --detachRuns gkrellmd in the background and detaches from the terminal..TP.B -U, --user usernameChanges user to.I usernameafter startup.  Useful if you want to run gkrellmd as root, but setit to run with another privileges; typically as the.I nobodyuser..TP.B -G, --group groupnameChanges group to.I groupnameafter startup..TP.B --inet-interval secondsThe Internet monitor defaults to reading TCP connections once per second.However, for Linux SMP kernels where reading /proc/net/tcp causes highcpu usage, the.I inet-intervalmay be set to 1-20 seconds to slow down/proc/net/tcp reads.  Or set it to 0 to totally disable the Internet monitor.Requires at least gkrellmd version 2.1.8..TP.B --io-timeout secondsConfigure gkrellm clients to disconnect from a gkrellmd server ifthere is an.I io-timeoutinterval where the client receives no inputfrom the server.  Use this for conditions where gkrellmd may beungracefully terminated such that socket connections are not closed.Minimum is 2 (less than 2 for no I/O disconnecting and is the default).Requires at least 2.1.8 versions of both gkrellmd and gkrellm..TP.B --reconnect-timeout secondsConfigure gkrellm clients to attempt automatic reconnects to agkrellmd server every.I reconnect-timeoutseconds after a disconnectedstate is detected.  Disconnected states are created by normal gkrellmdshutdowns or by an expiring.I io-timeout.Minimum is 2 (less than 2 for no automatic reconnecting and is the default).Requires at least 2.1.8 versions of both gkrellmd and gkrellm..TP.B --mailbox mbox_pathCheck the server side mailbox.I mbox_pathand send mail counts to connected gkrellm clients.  Mailbox types maybe mbox, Maildir, and MH mail.Requires at least 2.1.11 versions of both gkrellmd and gkrellm..TP.B --net-timer net_interfaceConfigure gkrellmd to send the connect time for a network interfaceto all clients to be displayed in the client gkrellm timer buttonmonitor display.  If this is done, the client gkrellm timer button canstill execute commands on the client, but the button will not affect thetimer display.  If you want the client timer button to execute commandson the server, your timer button commands will have to use sudo.So set this if your server box has say a ppp0 or ippp0 connection and youwant to monitor its connect time.Requires at least 2.2.7 versions of both gkrellmd and gkrellm..TP.B --mbmon-port port_numberIf the mbmon daemon is running when gkrellmd is started, gkrellmd willconnect to mbmon using the given port_number and send mbmon sensor data toconnected gkrellm clients.  The mbmon daemon should have been startedusing the same port number like so:.B mbmon -r -P port_number.SH "EXAMPLE".PPOn the server machine where gkrellmd is installed, copy the sample.I gkrellmd.conffile from the.I serversubdirectory of the.B gkrellmsource tarball to one of the.I gkrellmd.conflocations listed in the.B FILESsection and edit it to set your preferences or to enable plugins.  Probablydon't set the.I detachedoption until you are happy with the configuration.  Run:.B gkrellmd.PPOn a client machine, run:.B gkrellm -s server-machine-name.PPConfigure the client gkrellm in its graphical configuration window asyou wish, and that's all there isto it.  Of course, if you don't use the default.B gkrellmd.I portnumber you will have to supply an appropriate.I portargument to the client.B gkrellm..PPAvailable plugins will be installed in the.I plugins-gkrellmddirectory locations listed in the.B FILESsection.  You may test enable any of these plugins with the.I -peoption, but for permanent enabling you should add a.I plugin-enableline to any.I gkrellmd.conffile listed in the.B FILESsection.  Run.B gkrellmd -plistto see a list of all installed plugins and run.B gkrellmd -plogto see a log of the plugin install process..SH "FILES".TP.I /etc/gkrellmd.confSystem server config which is read first.The config file may contain lines similar to the command line args.For example:.RS.TP.Ballow-host localhost.TP.Ballow-host 127.0.0.1.TP.Ballow-host 192.168.0.*.TP.Bport 19150.TP.Bmax-clients 2.TP.Bupdate-hz 2.TP.B detach.TP.B io-timeout 5.TP.B reconnect-timeout 5.TP.B plugin-enable gkrelltop.PPWith the exception of.I --allow-host,command line args will override options in gkrellmd.conf files..RE.TP.I /usr/local/etc/gkrellmd.confLocal server config file which is read second..TP.I ~/.gkrellmd.confUser server config file which is read last..TP.I ~/.gkrellm2/plugins-gkrellmdUser server plugin directory..TP.I /usr/lib/gkrellm2/plugins-gkrellmdSystem wide server plugin directory..TP.I /usr/local/lib/gkrellm2/plugins-gkrellmdLocal server plugin directory..PP.SH "AUTHOR"Bill Wilson <billw@gkrellm.net>.http://www.gkrellm.net/

⌨️ 快捷键说明

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