메소드 | 설명 | |
---|---|---|
Create ( string argv ) : int |
The create function of RRDtool lets you set up new Round Robin Database (RRD) files. The file is created at its final, full size and filled with *UNKNOWN* data.
|
|
Create ( string filename, |
The create function of RRDtool lets you set up new Round Robin Database (RRD) files. The file is created at its final, full size and filled with *UNKNOWN* data.
|
|
Dump ( string argv ) : |
Writes the contents of an rrd file to an XML file
|
|
Dump ( string filename, string outname ) : |
Writes the contents of an rrd file to an XML file
|
|
Fetch ( string argv, |
Returns an array of values for the period specified from a given rrd. Specify your parameters in the argv array and check the referenced parameters for values returned from the rrd
|
|
First ( string argv ) : |
Returns the timestamp of the first value in the rrd
|
|
First ( string filename, int rraindex ) : |
Returns the timestamp of the first value in the rrd given the rra index
|
|
Get_Error ( ) : string |
Returns the latest error from rrdlib
|
|
Graph ( string argv ) : |
Generate a graph from an RRD file. Specify all the graph options in the string array as you normally would with the command line version.
|
|
Info ( string filename ) : |
Returns a linked list of rrd_info_t objects that describe the rrd file.
|
|
Info_Print ( |
Formats and prints information in the object to the standard output
|
|
Last ( string argv ) : |
Returns the timestamp of the last value in the rrd
|
|
Last ( string filename, int rraindex ) : |
Returns the timestamp of the last value in the rrd given the rra index
|
|
Last_Update ( string filename, |
Finds the timestamp of the last updated value in the rrd
|
|
Random ( ) : int |
Generates a random number for testing rrdlib
|
|
Resize ( string argv ) : |
Alters the size of an RRA and creates a new rrd in the dll's directory NOTE: The new rrd may return unexpected results if you are not very careful NOTE: This may crash in version 1.4.3
|
|
Restore ( string argv ) : |
Creates an rrd from an XML data dump
|
|
Tune ( string argv ) : |
Modify the characteristics of an rrd
|
|
Update ( string argv ) : |
The update function feeds new data values into an RRD. The data is time aligned (interpolated) according to the properties of the RRD to which the data is written.
|
|
Update ( string filename, string template, string argv ) : |
The update function feeds new data values into an RRD. The data is time aligned (interpolated) according to the properties of the RRD to which the data is written.
|
|
Update2 ( string argv ) : |
The update function feeds new data values into an RRD. The data is time aligned (interpolated) according to the properties of the RRD to which the data is written.
|
|
Version ( ) : string |
Returns a string with the numeric version of the rrdlib build version
|
|
Xport ( string argv, |
Grabs the values from an rrd. Similar to fetch but enables merging of multiple rrds and calculations
|
메소드 | 설명 | |
---|---|---|
rrd_create ( |
||
rrd_create_r ( [ filename, |
||
rrd_dump ( |
||
rrd_dump_r ( string filename, string outname ) : |
||
rrd_fetch ( |
||
rrd_first ( |
||
rrd_first_r ( string filename, |
||
rrd_get_error ( ) : string | ||
rrd_graph ( |
||
rrd_graph_v ( |
||
rrd_info_print ( |
||
rrd_info_r ( string filename ) : |
||
rrd_last ( |
||
rrd_last_r ( string filename, |
||
rrd_lastupdate ( |
||
rrd_lastupdate_r ( string filename, |
||
rrd_random ( ) : |
||
rrd_resize ( |
||
rrd_restore ( |
||
rrd_strversion ( ) : string | ||
rrd_tune ( |
||
rrd_update ( |
||
rrd_update_r ( string filename, string template, |
||
rrd_update_v ( |
||
rrd_xport ( |
public static Create ( string argv ) : int | ||
argv | string | String array of command line arguments |
리턴 | int |
public static Create ( string filename, |
||
filename | string | A full path to the location where you want the rrd to reside |
pdp_step | Specifies the base interval in seconds with which data will be fed into the RRD | |
last_up | Timestamp of the last update | |
argv | string | String array of command line arguments |
리턴 | int |
public static Dump ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Dump ( string filename, string outname ) : |
||
filename | string | Full path to the rrd file |
outname | string | Full path to write the XML output |
리턴 |
public static Fetch ( string argv, |
||
argv | string | String array of command line arguments (must include the filename) |
start | Starting timestamp found in the rrd | |
end | Ending timestamp found in the rrd | |
step | The rrd's step value | |
ds_cnt | Number of data sources found | |
ds_namv | string | Names of data sources found |
data | Values found (in double type) | |
리턴 |
public static First ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static First ( string filename, int rraindex ) : |
||
filename | string | Full path to the rrd file |
rraindex | int | 0 based index of the rra to get a value for |
리턴 |
public static Graph ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Info ( string filename ) : |
||
filename | string | Full path to the rrd file |
리턴 |
public static Info_Print ( |
||
info | rrd_info_t object with data to print | |
리턴 | void |
public static Last ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Last ( string filename, int rraindex ) : |
||
filename | string | |
rraindex | int | 0 based index of the rra to get a value for |
리턴 |
public static Last_Update ( string filename, |
||
filename | string | Full path to the rrd file |
ret_last_update | Unix timestamp of the last update | |
ret_ds_count | Number of data sources found | |
ret_ds_names | string | Names of the data sources found |
ret_last_ds | string | Name of the last data source found |
리턴 |
public static Resize ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Restore ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Tune ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Update ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Update ( string filename, string template, string argv ) : |
||
filename | string | Full path to the rrd to update |
template | string | List of data sources to update and in which order |
argv | string | String array of command line arguments |
리턴 |
public static Update2 ( string argv ) : |
||
argv | string | String array of command line arguments |
리턴 |
public static Xport ( string argv, |
||
argv | string | String array of command line arguments |
start | Starting timestamp found in the rrd | |
end | Ending timestamp found in the rrd | |
step | Step size found in the rrd | |
col_cnt | Number of data sources found in the rrd | |
leggend_v | string | Add a legend |
data | Values from the rrd as double type | |
리턴 |