Displaying 4 results from an estimated 4 matches for "create_graph".
2013 Sep 05
4
Shell Script Help
I have a script file in my cron.hourly that contains a good number of
scripts I must call.
#!/bin/sh
sleep 15
perl /scripts/create_graph.pl &
sleep 15
perl /scripts/create_graph_out.pl &
many more lines. etc.
Is there a way I can sleep random length to time before executing each
but background each one so master script returns promptly. Something
like.
sleep (random 1 - 300 seconds, perl /scripts/create_graph_out.pl) &a...
2006 Jun 05
1
Strange problem with Gruff not always displaying graph
...lem with Gruff not always displaying the graph
on the page. On some pages, the graph is displayed fine. On others,
however, I just get the number relating to the id of the requested item
- in my case, report.
Does anyone know how to solve this problem?
I have the following in my controller:
def create_graph
g = Gruff::Line.new(290)
g.title = "Reports"
g.theme = {
:colors => [''#CC0000'', ''#00CC00'', ''#cc6633'', ''#cc9966'',
''#99cc99''],
:marker_color => ''black'...
2008 Jul 21
2
Creation of png=problems
...the latest version of or R known to compile on Solaris 8 is version 2.6.2. I have been able to compile and install R version 2.6.2. under Unix. I also installed Hmisc package needed by my script.
The problem is that when I launch my script to create graphs from text files I get this error :
> Create_Graph("File")
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, :
unable to start device PNG
In addition: Warning message:
In png(paste(PATH, "/", filename, sep = ""), 800, 600) :
no png support in this version of R
The thi...
2010 Sep 19
0
A logging/graphing UPS client using rrdtool and UPS::Nut
...$| = 1)[0]);
(undef,undef,$uid,$gid) = getpwnam($runuser);
create_files($uid,$gid);
POSIX::setgid($gid) || upslog("Could not set GID!\n");
POSIX::setuid($uid) || upslog("Could not set UID!\n");
create_rrds($rrd_file) unless (-e $rrd_file);
$graphctr = create_graphs();
while (1)
{
$ups = UPS::Nut->new(NAME => $opts{upsname},
HOST => $upshost);
$ups->Authenticate($username, $password) || upslog("Could not authenticate to UPSD!\n");
$date = time();
$bcharge...