1 unstable release
Uses old Rust 2015
0.1.0 | Sep 3, 2017 |
---|
#4 in #pcp
120KB
3K
SLoC
hornet
This is a work-in-progress PCP Memory Mapped Value (MMV) instrumentation API in Rust.
Currently, only singleton metrics are supported. There is a simple example of it's usage at examples/physical.rs
. To run it, do
cargo run --example physical
Then,
- if you have a valid PCP installation, the metrics can be monitored using the command
pminfo -f mmv.physical_metrics
, and the MMV file itself can be found at$PCP_TMP_DIR/mmv/physical_metrics
. - if PCP isn't installed, the MMV file will be found in
/tmp/mmv/
, though in order to view it you'll have compile themmvdump
tool (found here or here) and run./mmvdump /tmp/mmv/physical_metrics
.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~7.5MB
~146K SLoC