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.6)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.6-arm64)autometric_0.1.2.tar.gz(r-4.6-x86_64)autometric_0.1.2.tar.gz(r-4.5-arm64)autometric_0.1.2.tar.gz(r-4.5-x86_64)
autometric_0.1.2.tgz(r-4.5-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/docs site:https://wlandau.github.io
Last updated from:36e98ae76f (on 0.1.2). Checks:13 OK. Indexed: no.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-arm64 | OK | 155 | |
| linux-devel-x86_64 | OK | 136 | |
| source / vignettes | OK | 140 | |
| linux-release-arm64 | OK | 135 | |
| linux-release-x86_64 | OK | 132 | |
| macos-release-arm64 | OK | 145 | |
| macos-release-x86_64 | OK | 254 | |
| macos-oldrel-arm64 | OK | 118 | |
| macos-oldrel-x86_64 | OK | 231 | |
| windows-devel | OK | 170 | |
| windows-release | OK | 129 | |
| windows-oldrel | OK | 129 | |
| wasm-release | OK | 83 |
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 |
