RRDFLUSHCACHED(1) rrdtool RRDFLUSHCACHED(1)NAME
rrdflushcached - Flush the values for a spcific RRD file from memory.
SYNOPSIS
rrdtool flushcached [--daemon address] filename [filename ...]
DESCRIPTION
The flushcached function connects to rrdcached, the RRD caching daemon, and issues a "flush" command for the given files. The daemon will
put the files to the head of the update queue so they are written "soon". The status will be returned only after the files' pending updates
have been written to disk.
filename
The name(s) of the RRD file(s) that are to be written to disk.
--daemon address
Address of the rrdcached daemon. If not specified, the RRDCACHED_ADDRESS environment variable must be set (see below). For a list
of accepted formats, see the -l option in the rrdcached manual.
rrdtool flush --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
ENVIRONMENT VARIABLES
The following environment variables may be used to change the behavior of "rrdtool flushcached":
RRDCACHED_ADDRESS
If this environment variable is set it will have the same effect as specifying the "--daemon" option on the command line. If both are
present, the command line argument takes precedence.
AUTHOR
Florian Forster <octo at verplant.org>
1.4.7 2009-10-14 RRDFLUSHCACHED(1)
Check Out this Related Man Page
RRDFLUSHCACHED(1) rrdtool RRDFLUSHCACHED(1)NAME
rrdflushcached - Flush the values for a spcific RRD file from memory.
SYNOPSIS
rrdtool flushcached [--daemon address] filename [filename ...]
DESCRIPTION
The flushcached function connects to rrdcached, the RRD caching daemon, and issues a "flush" command for the given files. The daemon will
put the files to the head of the update queue so they are written "soon". The status will be returned only after the files' pending updates
have been written to disk.
filename
The name(s) of the RRD file(s) that are to be written to disk.
--daemon address
Address of the rrdcached daemon. If not specified, the RRDCACHED_ADDRESS environment variable must be set (see below). For a list
of accepted formats, see the -l option in the rrdcached manual.
rrdtool flush --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
ENVIRONMENT VARIABLES
The following environment variables may be used to change the behavior of "rrdtool flushcached":
RRDCACHED_ADDRESS
If this environment variable is set it will have the same effect as specifying the "--daemon" option on the command line. If both are
present, the command line argument takes precedence.
AUTHOR
Florian Forster <octo at verplant.org>
1.4.8 2013-05-23 RRDFLUSHCACHED(1)
hi...
i need pointers to books/website...
'm trytin to write a daemon that monitors files of particular type(eg. text or pdfs) copied onto the hard disk. the daemon should detect the above n write the file name (along with the absolute path) to a file.
please DO NOT give me the code... (2 Replies)
I have one file which first line is blank and second line has some data.
$cat filename
output:
30-MAY-07
I want to store 30-MAY-07 value in one variable.
for that I wrote
var="`head -2 filename`"
It will give that result but I want to truncate the first line which is blank.
plz help. (2 Replies)
hello there
the problem i got: i need to list .rrd files in each sub-directory from the parent directory, then create .xml files for each rrd files, the xml file should be in the same subdirectoryas rrd file.
i have tried
ls |awk '{print... (3 Replies)
I need some help with creating graphs using the rrdtool. I have never used it before. I installed by yum install rrdtool.
Basically I have a txt file with these values
432
542
234
531
1004
Does anyone know the syntax of rrdtool to automatically take the values from the txt file and... (1 Reply)
Mit perlscript:
#!/usr/bin/perl
#
# copyright Per Hansen 2009
#
#
# temp.pl
use lib qw(/opt/rrdtool-1.4.1/lib/perl);
use RRDs;
# sti til rrdtool databases
my $rrd = '/var/lib/rrd';
# sti til færdige grafer (1 Reply)
Hi guys,
im having real difficulty getting my head around perl and rrdtool and was hoping someone could help
I want to run a perl script from cron which retrieves the data every 5 mins, creates .rrd's if not already created, and updates the DS from the reultsHash or $key, then creates the... (2 Replies)
Hi All,
I would like to ask what is the command line on OpenBSD which able to be used to check the list of library which used by specific daemon?
For example, I would like to check what are the libraries which are used by ftpd.
Thank you in advance.
Regards,
Stefan (2 Replies)
Hello all,
I am very new to shell scripting. I messed with basic examples in college, but this this the first work related project I am trying to work on. I am trying to test the rrdtool on our office wan link by measuring the bandwidth utilization. The script concept is fairly easy, but I am... (2 Replies)
I have this code that gives this error on Linux and will be grateful if you can help
import rrdtool
try:
ret_asd = rrdtool.update(myfile.rrd,'N:%s:%s' %(metric1, metric2));
except rrdtool.error, e:
print e
When i run the above i get the below error
except... (1 Reply)
hi
I am newbie to Unix and am trying to do some rrdtool searches. I am searching for all the rrd files which are in different directorys and then want to use uniq to sort them out. Once this is don't I wanted to echo the file name and append it to files before executing the rrdtool command to... (1 Reply)