Package: autometric 0.1.2

autometric: Background Resource Logging
Intense parallel workloads can be difficult to monitor. Packages 'crew.cluster', 'clustermq', and 'future.batchtools' distribute hundreds of worker processes over multiple computers. If a worker process exhausts its available memory, it may terminate silently, leaving the underlying problem difficult to detect or troubleshoot. Using the 'autometric' package, a worker can proactively monitor itself in a detached background thread. The worker process itself runs normally, and the thread writes to a log every few seconds. If the worker terminates unexpectedly, 'autometric' can read and visualize the log file to reveal potential resource-related reasons for the crash. The 'autometric' package borrows heavily from the methods of packages 'ps' <doi:10.32614/CRAN.package.ps> and 'psutil'.
Authors:
autometric_0.1.2.tar.gz
autometric_0.1.2.zip(r-4.5)autometric_0.1.2.zip(r-4.4)
autometric_0.1.2.tgz(r-4.5-x86_64)autometric_0.1.2.tgz(r-4.5-arm64)autometric_0.1.2.tgz(r-4.4-x86_64)autometric_0.1.2.tgz(r-4.4-arm64)
autometric_0.1.2.tar.gz(r-4.5-noble)
autometric_0.1.2.tgz(r-4.4-emscripten)autometric_0.1.2.tgz(r-4.3-emscripten)
autometric.pdf |autometric.html✨
autometric/json (API)
NEWS
# Install 'autometric' in R: |
install.packages('autometric', repos = c('https://community.r-multiverse.org', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/wlandau/autometric/issues
Pkgdown site:https://wlandau.github.io
Last updated 6 months agofrom:36e98ae76f (on 0.1.2). Checks:14 OK. Indexed: no.
Target | Result | Total time |
---|---|---|
linux-devel | OK | |
source / vignettes | OK | |
linux-release | OK | |
macos-devel-x86_64 | OK | |
macos-devel-arm64 | OK | |
macos-release-x86_64 | OK | |
macos-release-arm64 | OK | |
macos-oldrel-x86_64 | OK | |
macos-oldrel-arm64 | OK | |
windows-devel | OK | |
windows-release | OK | |
windows-oldrel | OK | |
wasm-release | OK | |
wasm-oldrel | OK |
Exports:log_activelog_phase_getlog_phase_resetlog_phase_setlog_plotlog_printlog_readlog_startlog_stoplog_supportlog_version
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Check the log thread. | log_active |
Get log phase | log_phase_get |
Reset log phase | log_phase_reset |
Set log phase | log_phase_set |
Plot a metric of a process over time | log_plot |
Print once to the log. | log_print |
Read a log. | log_read |
Start the log thread. | log_start |
Stop the log thread. | log_stop |
Log support | log_support |