Useful Commands & Tools


Local Linux install

Exporting measurement data to line protocol

$ sudo influxd inspect export-lp --bucket-id <id> --engine-path /var/lib/influxdb/engine/ --measurement <name> --output-path <path-to-file>

Importing measurement data line protocol

$ sudo influx write --org <org> -b <bucket> -f <path-to-file> --token $INFLUX_TOKEN

Deleting measurements

$ sudo influx delete --org <org> --bucket <bucket> --start '1970-01-01T00:00:00Z' --stop $(date +"%Y-%m-%dT%H:%M:%SZ") --predicate '_measurement="<name>"' --token $INFLUX_TOKEN

Run the v1 client

$ influx v1 shell


Web page timings from Windows Powershell:

Powershell version

PS > $PSVersionTable

Show current user certificate thumbprints

PS > get-ChildItem Cert:\CurrentUser\My

Set Tls version

PS > [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Measure page download time

PS > Measure-Command {Invoke-WebRequest -Uri "https://<>" -CertificateThumbprint ""}


Example curl request below prints out details about the timing and size of the request. Further details and options can be found on the man page for curl here:

$ curl -s -o /dev/null --cert <pem> --key <pem> --insecure -k "url" -w "URL=%{url_effective} RTT=%{time_total} SIZE=%{size_download} TTFB=%{time_starttransfer} CODE=%{http_code} DNS=%{time_namelookup} CONNECT=%{time_connect} appconnect=%{time_appconnect}\n"


A number of useful tools, but very useful for debugging and tracing socket streams used by chrome. Further details can be found here:


A great tool for Linux reporting with nice Excel macro for creating a spreadsheet out of nmon result files. For more information see here: