Crates.io | flaregun |
lib.rs | flaregun |
version | |
source | src |
created_at | 2024-08-22 18:14:55.99678 |
updated_at | 2024-11-05 20:32:50.633481 |
description | Tracing and monitoring tools for Linux |
homepage | https://github.com/e-dant/flaregun |
repository | https://github.com/e-dant/flaregun |
max_upload_size | |
id | 1348026 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Tracing and monitoring tools for Linux.
Allows tracing of:
And monitoring of:
These metrics can be exported in a columnar, CSV, or JSON format.
When written as a CSV file, the output may be plotted using fl-plot
:
fl --all --output-file /tmp/trace.csv --pid 42
# ...
fl-plot -i /tmp/trace.csv -o /tmp/trace.html
The plot is a standalone HTML file which can be opened in a browser.
This is a library as well as a few command-line tools.
Usage: fl [OPTIONS]
Options:
-a, --all
Enable all tracing and monitoring tools
--bio-lat
Enable block and character device i/o latency tracing
--rq-lat
Enable run queue latency tracing
--fs-lat
Enable file system latency tracing
--tcp-pkt-lat
Enable TCP packet latency tracing
--cpu-pct
Enable cpu utilization % monitoring
--mem-pct
Enable virtual memory utilization % monitoring
-p, --pid <PID>
Process ID to trace, or 0 for everything [default: 0]
--tgid <TGID>
Thread ID to trace [default: 0]
-l, --min-lat-us <MIN_LAT_US>
Trace latency higher than this value [default: 10000]
-i, --reporting-interval-ms <REPORTING_INTERVAL_MS>
For monitoring tools, stats will be reported at this interval [default: 1000]
-f, --output-format <OUTPUT_FORMAT>
Some output styles are better for humans (columnar), others for machines [default: columnar] [possible values: columnar, csv, json]
--duration-format <DURATION_FORMAT>
Output format for the duration since this program's start [default: usecs] [possible values: hh-mm-ss, hh-mm-ss-mss, usecs]
-o, --output-file <OUTPUT_FILE>
Write events to this file, if present, or to standard output if not given
--no-header
Omit the header (tool/time/task/pid/value) as the first line of output
--just-header
Show a header and exit ('-V, --version' has precedence)
-h, --help
Print help (see more with '--help')
-V, --version
Print version