Sponsored Content
Top Forums UNIX for Dummies Questions & Answers RRDtool consolidation not going as expected Post 302515100 by ArtOfLosing on Tuesday 19th of April 2011 03:51:40 AM
Old 04-19-2011
Maybe i didn't explain it good enough so i added a table where you can see what i mean.

As you can see the 5 min interval works. but 15 min interval does not, it had the same value as the 5 min interval at that time. What i want it to be is the total of those 5 min intervals.

Is this possible? Or do i have to make a very big 5 min interval and leave the rest out?

Timestamp>5 Min Interval15 Min Interval15 Min i want
1302679200 >4.2929259482e+02  
1302679500>2.5069977985e+00  
1302679800>3.6908983814e+023.6908983814e+028.0088943076e+02
1302680100>8.0391143842e+03  
1302680400>4.4017006223e+03  
1302680700>4.7308772502e+024.7308772502e+021.2913902732e+04
1302681000>3.7983144383e+02  
1302681300>1.5559865037e+00  
1302681600>4.1231985070e+024.1231985070e+027.9370728103e+02
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Code Consolidation

My code currently looks like this: #!/usr/bin/ksh clear while true do clear echo "Menu" echo " 1. WPPHA1" echo " 2. WPPHA2" echo " 3. WPPHA3" echo " 4. WPPHB1" echo " 5. WPPHB2" echo " 6. WPPHC0" echo " 7. WPPHD0" echo " 8. WPPHD1" echo " 9. WPPHD2" echo "10. WPPHD3" (1 Reply)
Discussion started by: misterpinkey
1 Replies

2. Shell Programming and Scripting

Apache Subnet consolidation script/routine help needed

I have a rather simple routine that I would like to fine tune. I am having scripters block if that exists. Trying to tally up that amount of subnets after I performed an awk and uniq from zipped apache logs. For instance, on a solaris 10 system: This does work gunzip -c access_log1.200834.gz |... (2 Replies)
Discussion started by: NYG71
2 Replies

3. 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
PGASetIntegerInitRange(2)					      PGAPack						 PGASetIntegerInitRange(2)

NAME
PGASetIntegerInitRange - sets a flag to tell the initialization routines to set each integer-valued gene to a value chosen randomly from the interval given by an upper and lower bound. DESCRIPTION
No string initialization is done by this call. INPUT PARAMETERS
ctx - context variable min - array of lower bounds that define the interval the gene is initialized from max - array of upper bounds that define the interval the gene is initialized from OUTPUT PARAMETERS
none SYNOPSIS
#include "pgapack.h" void PGASetIntegerInitRange(ctx, min, max) PGAContext *ctx int *min int *max LOCATION
integer.c EXAMPLE
Set the initialization routines to select a value for gene i uniformly randomly from the interval [0,i]. Assumes all strings are of the same length. PGAContext *ctx; int *low, *high, stringlen, i; : stringlen = PGAGetStringLength(ctx); low = (int *) malloc(stringlen*sizeof(int)); high = (int *) malloc(stringlen*sizeof(int)); for(i=0;i<stringlen;i++) { low[i] = 0; high[i] = i } PGASetIntegerInitRange(ctx, low, high); 05/01/95 PGASetIntegerInitRange(2)
All times are GMT -4. The time now is 02:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy