Commit 3455eb84 authored by Alessio Netti's avatar Alessio Netti
Browse files

Updates to documentation and minor fixes

parent 777a70c2
......@@ -156,9 +156,10 @@ The currently supported operations are *delta*, *delta_t*, *derivative* and *int
> NOTE        Quoting of the dcdbquery command in the shell might be required to ensure proper parsing
when using sensor operations.
> NOTE 2       By default, the dcdbquery tool only returns data for sensors that are correctly
published. This check can be bypassed by using the *-d* option.
> NOTE 2 &ensp;&ensp;&ensp;&ensp;&ensp; When using the *-j* option to query sensors for specific jobs, the *<Start>* and
*<End>* arguments are omitted, since they are inferred automatically from the job's start and end times.
## Examples <a name="dcdbqueryexamples"></a>
......@@ -196,7 +197,7 @@ Sensor,Time,Value
Visualizing the delta_t for the successive readings of a DRAM power sensor:
dcdbquery -h "delta_t(/sng/i01/r01/c01/s09/DRAM_POWER)" now-2h now
dcdbquery -h "delta_t(/i01/r01/c01/s09/DRAM_POWER)" now-2h now
Sample output:
......@@ -227,7 +228,7 @@ Sensor,Time,Delta_t
Visualizing an unpublished sensor containing job-aggregated performance metrics:
dcdbquery -h -d /job800745/FLOPS now-20m now
dcdbquery -h /job800745/FLOPS now-20m now
Sample output:
......@@ -248,6 +249,45 @@ Sensor,Time,Value
Visualizing all of the *DRAM_POWER* sensor readings for the compute nodes on which job 781742 was running, throughout its runtime:
dcdbquery -h -j 781742 DRAM_POWER
Sample output:
dcdbquery 0.4.144-g777a70c (libdcdb 0.4.144-g777a70c)
# The dcdbslurmjob Tool <a name="dcdbconfig"></a>
The *dcdbslurmjob* tool allows to manually insert job information in the Apache Cassandra database. Its syntax is the
......@@ -447,7 +447,7 @@ int main(int argc, char** argv) {
retCode = 1;
goto exit;
} while(!done && getTimestamp() - startTs < S_TO_NS(timeout));
} while(!done && getTimestamp() - startTs < (uint64_t)S_TO_NS(timeout));
//hasta la vista
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment