01-16-2011
Try getting rrdtool. It uses a png-generation library as a backend, but the rrdtool offers some very nice graphing features with a command-line (ie, script) interface. All docs are in the man pages. Latest version I think is 1.4.16 or something
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I am a beginner using UNIX, and was wondering how to use gnuplot from UNIX on my pc. I am connected remotely to my work's UNIX server using Secure Shell Client, and gnuplot won't open a new window when I use the plot command. How do I do this?
Moreover, is it possible to save things from the... (0 Replies)
Discussion started by: KTTFB64
0 Replies
2. OS X (Apple)
I am using Mac OS X 10.4.9 and am trying to install gnuplot-4 but I run into some problems. Hopefully someone recognizes them and can help.
- I have installed aquaterm 1.0.1 and this works fine.
- Then I installed gnuplot-4 by clicking the installer package.
- When I then go into a terminal... (1 Reply)
Discussion started by: karman
1 Replies
3. UNIX and Linux Applications
Hi,
I am trying to make a plot of an ASCII file using GNUplot, but I keep getting error msg:
for example plot filename.txt
It says that (.txt ) is not identified ... I tried to write it without the .txt part, but I also get the error msg.
Any idea why? :confused: (1 Reply)
Discussion started by: cosmologist
1 Replies
4. UNIX for Dummies Questions & Answers
I would like to ask if I have already plot a graph using gnuplot, the setting(made by others) is in "gnuplot.defaults":
gnuplot> load '<ParadisDir>/inputs/gnuplot.defaults'
gnuplot> splot 'box.in' with lines, '0t0001' w lines
How to transform it to bmp file? (or other types of pictures?)
... (2 Replies)
Discussion started by: kelvin490
2 Replies
5. UNIX and Linux Applications
I am having a bit of trouble plotting a histogram in gnuplot. I am trying to use it to draw bars side by side. The first bar is from column five in my data file. The second bar is actually three bars stacked on top of each other and should be as tall as the first bar. The data is from the 2nd,... (0 Replies)
Discussion started by: kingnothing
0 Replies
6. Shell Programming and Scripting
Hi!
i want to print ot my data of the last seven days with gnuplot.
in a script i put my gnuplot-script and at the top i generate my date-variable.
#/bin/bash -e
# Gnuplot script "API_Status.txt"
# set terminal postscript color landscape dl 2 lw 2 'Helvetica' 15 ;
# set output... (2 Replies)
Discussion started by: IMPe
2 Replies
7. Shell Programming and Scripting
Hi,
I want a graph plot using gnuplot for df -h command.
like filesystem, total size and avail size.
Thanks,
Anjan
---------- Post updated at 02:35 PM ---------- Previous update was at 02:34 PM ----------
I want a graph plot using gnuplot for df -h command per hour. (4 Replies)
Discussion started by: Anjan1
4 Replies
8. Shell Programming and Scripting
Hi!
Let's say I have these two columns in file.txt
0 1
1 5
2 10
3 15
4 20
5 25
in gnuplot, i would plot usingplot 'file.txt' u 1:2
If I wanted to add a label to the y-axis I would useset label "Ef" at 0.0,7.0
However, I want the label Ef to be on the otherside of the y-axis. Not... (0 Replies)
Discussion started by: sidiq1983
0 Replies
9. Shell Programming and Scripting
Need assistance in getting a script right. It requires little tweaking and I am not getting it right .
Using below data and the below script it creates a table with png file but regarding the time it create 6,7,8 and i want each time 6:15 ,6:30 and so on
So that i can view the exact graph... (3 Replies)
Discussion started by: ajayram_arya
3 Replies
LEARN ABOUT SUSE
log::log4perl::appender::rrds
Appender::RRDs(3) User Contributed Perl Documentation Appender::RRDs(3)
NAME
Log::Log4perl::Appender::RRDs - Log to a RRDtool Archive
SYNOPSIS
use Log::Log4perl qw(get_logger);
use RRDs;
my $DB = "myrrddb.dat";
RRDs::create(
$DB, "--step=1",
"DS:myvalue:GAUGE:2:U:U",
"RRA:MAX:0.5:1:120");
print time(), "
";
Log::Log4perl->init(qq{
log4perl.category = INFO, RRDapp
log4perl.appender.RRDapp = Log::Log4perl::Appender::RRDs
log4perl.appender.RRDapp.dbname = $DB
log4perl.appender.RRDapp.layout = Log::Log4perl::Layout::PatternLayout
log4perl.appender.RRDapp.layout.ConversionPattern = N:%m
});
my $logger = get_logger();
for(10, 15, 20, 25) {
$logger->info($_);
sleep 1;
}
DESCRIPTION
"Log::Log4perl::Appender::RRDs" appenders facilitate writing data to RRDtool round-robin archives via Log4perl. For documentation on RRD
and its Perl interface "RRDs" (which comes with the distribution), check out <http://rrdtool.org>.
Messages sent to Log4perl's RRDs appender are expected to be numerical values (ints or floats), which then are used to run a "rrdtool
update" command on an existing round-robin database. The name of this database needs to be set in the appender's "dbname" configuration
parameter.
If there's more parameters you wish to pass to the "update" method, use the "rrdupd_params" configuration parameter:
log4perl.appender.RRDapp.rrdupd_params = --template=in:out
To read out the round robin database later on, use "rrdtool fetch" or "rrdtool graph" for graphic displays.
COPYRIGHT AND LICENSE
Copyright 2002-2009 by Mike Schilli <m@perlmeister.com> and Kevin Goess <cpan@goess.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.1 2010-02-07 Appender::RRDs(3)