OS Manuals

/usr/bin/rrdcached

RRDtool data caching daemon

From rrdtool-cached 1.11.0-r1 (os), captured 2026-11-05 by running rrdcached --help (exit 1). permalink

RRDCacheD 1.11.0
Copyright (C) 2008,2009 Florian octo Forster and Kevin Brintnall

Usage: rrdcached [options]

Valid options are:
  -a <size>     Memory allocation chunk size. Default is 1.
  -B            Restrict file access to paths within -b <dir>
  -b <dir>      Base directory to change to.
  -F            Always flush all updates at shutdown
  -f <seconds>  Interval in which to flush dead data.
  -G <group>    Unprivileged group used when running.
  -g            Do not fork and run in the foreground.
  -j <dir>      Directory in which to create the journal files.
  -L            Open sockets on all INET interfaces using default port.
  -l <address>  Socket address to listen to.
                Default: unix:/tmp/rrdcached.sock
  -m <mode>     File permissions (octal) of all following UNIX sockets
  -O            Do not allow CREATE commands to overwrite existing
                files, even if asked to.
  -o <file>     Log to given file instead of syslog.
  -P <perms>    Sets the permissions to assign to all following sockets
  -p <file>     Location of the PID-file.
  -R            Allow recursive directory creation within -b <dir>
  -s <id|name>  Group owner of all following UNIX sockets
                (the socket will also have read/write permissions for that group)
  -t <threads>  Number of write threads.
  -U <user>     Unprivileged user account used when running.
  -V <LOGLEVEL> Max syslog level to log with, with LOG_DEBUG being
                the maximum and LOG_EMERG minimum; see syslog.h
  -w <seconds>  Interval in which to write data.
  -z <delay>    Delay writes up to <delay> seconds to spread load

For more information and a detailed description of all options please refer
to the rrdcached(1) manual page.
Options (22)
OptionDescriptionSource
-a sizeAllocate value pointers in chunks of alloc_size.help + man
-BOnly permit writes into the base directory specified in -b (and any sub-directories).help + man
-b dirThe daemon will change into a specific directory at startup.help + man
-FALWAYS flush all updates to the RRD data files when the daemon is shut down, regardless of journal setting.help + man
-f secondsEvery timeout seconds the entire cache is searched for old values which are written to disk.help + man
-G groupWhen running as daemon and invoked from a privileged account, reset group privileges to those of group.help + man
-gDo not fork and run in the foreground.help + man
-j dirDirectory in which to create the journal files.help + man
-LTells the daemon to bind to the default TCP port on all available interfaces.help + man
-l addressTells the daemon to bind to address and accept incoming TCP connections on that socket.help + man
-m modeFile permissions (octal) of all following UNIX socketshelp + man
-OPrevent the CREATE command from overwriting existing files, even when it is instructed to do so.help + man
-o fileLog to the given file instead of syslog.help + man
-P permsSets the permissions to assign to all following socketshelp
-p fileSets the name and location of the PID-file.help + man
-RPermit recursive subdirectory creation in the base directory specified in -b (and any sub-directories).help + man
-s id|nameGroup owner of all following UNIX sockets (the socket will also have read/write permissions for that group)help + man
-t threadsSpecifies the number of threads used for writing RRD files.help + man
-U userWhen running as daemon and invoked from a privileged account, reset user privileges to those of user.help + man
-w secondsData is written to disk every timeout seconds.help + man
-z delayIf specified, rrdcached will delay writing of each RRD for a random number of seconds in the range [0,delay).help + man
-V log_levelrrdcached under load can severely flood the logs. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.