Quick start
Command tine run
tine run
Define a simple pipeline description in a TOML file.
Copy the example below and save it as cpu.toml
.
Run tine passing the cpu.toml
path as argument.
Press ^C to stop.
TINE prints out a CSV line per every 3 seconds until it is stopped by pressing ^C.
Each line in the content represents the "cpu" inlet, which generates data consisting of a timestamp in UNIX epoch time and the corresponding system CPU usage percentage.
Add format="json"
at the end of the file, it changes the out outlets.file
applying JSON format instead of CSV which is default.
Using shebang
Edit the cpu.toml
file and add the following line at the beginning: #!/path/to/tine run
. Replace /path/to/tine
with the actual path to the tine executable file on your system.
The chmod +x cpu.toml
to make it executable.
Run
Last updated