Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rrdflushcached(1) [debian 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.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)
Man Page

10 More Discussions You Might Find Interesting

1. Programming

monitoring files copied onto hard disk

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)
Discussion started by: abhi_abhijith
2 Replies

2. Shell Programming and Scripting

Truncate File contain

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)
Discussion started by: rinku
2 Replies

3. UNIX for Dummies Questions & Answers

read files from subdirectories

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)
Discussion started by: binbintriangel
3 Replies

4. UNIX for Dummies Questions & Answers

linux rrdtool help create graph

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)
Discussion started by: borderblaster
1 Replies

5. Shell Programming and Scripting

Debian, digitemp, rrdtool

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)
Discussion started by: perhansen
1 Replies

6. Shell Programming and Scripting

using Perl with rrdtool to create and update graphs

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)
Discussion started by: jeffersno1
2 Replies

7. BSD

Question: OpenBSD command line for checking list of library used by daemon

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)
Discussion started by: lcxpics
2 Replies

8. Shell Programming and Scripting

Bash script for rrdtool

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)
Discussion started by: AdrianT04
2 Replies

9. Shell Programming and Scripting

Python-rrdtool try except rrdtool.error module object has no attribute error

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)
Discussion started by: kaf3773
1 Replies

10. Shell Programming and Scripting

Finding cricket files and executing the rrdtool

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)
Discussion started by: naz007
1 Replies