From f1d614101b7a4b2adf10a502485fcd17942738a5 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Thu, 30 May 2024 23:20:58 -0400 Subject: [PATCH] 21388: Fill out crunchstat-summary README Arvados-DCO-1.1-Signed-off-by: Brett Smith --- tools/crunchstat-summary/README.rst | 94 ++++++++++++++++++++++++++++- 1 file changed, 92 insertions(+), 2 deletions(-) diff --git a/tools/crunchstat-summary/README.rst b/tools/crunchstat-summary/README.rst index fa8e1bd3db..0e244fe2d3 100644 --- a/tools/crunchstat-summary/README.rst +++ b/tools/crunchstat-summary/README.rst @@ -1,5 +1,95 @@ .. Copyright (C) The Arvados Authors. All rights reserved. .. -.. SPDX-License-Identifier: Apache-2.0 +.. SPDX-License-Identifier: AGPL-3.0 -Arvados Crunchstat Summary. +================== +crunchstat-summary +================== + +Overview +-------- + +This package provides the ``crunchstat-summary`` tool to analyze the compute performance of processes and workflows run under Arvados_. + +.. _Arvados: https://arvados.org/ + +Installation +------------ + +Installing under your user account +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This method lets you install the package without root access. However, +other users on the same system will need to reconfigure their shell in order +to be able to use it. Run the following to install the package in an +environment at ``~/arvclients``:: + + python3 -m venv ~/arvclients + ~/arvclients/bin/pip install crunchstat-summary + +Command line tools will be installed under ``~/arvclients/bin``. You can +test one by running:: + + ~/arvclients/bin/crunchstat-summary --version + +You can run these tools by specifying the full path every time, or you can +add the directory to your shell's search path by running:: + + export PATH="$PATH:$HOME/arvclients/bin" + +You can make this search path change permanent by adding this command to +your shell's configuration, for example ``~/.bashrc`` if you're using bash. +You can test the change by running:: + + crunchstat-summary --version + +Installing on Debian and Ubuntu systems +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Arvados publishes packages for Debian 11 "bullseye," Debian 12 "bookworm," Ubuntu 20.04 "focal," and Ubuntu 22.04 "jammy." You can install the Python SDK package on any of these distributions by running the following commands:: + + sudo install -d /etc/apt/keyrings + sudo curl -fsSL -o /etc/apt/keyrings/arvados.asc https://apt.arvados.org/pubkey.gpg + sudo tee /etc/apt/sources.list.d/arvados.sources >/dev/null </dev/null <`_ describes +how to find this information in the Arvados Workbench, and install it +on your system. + +Testing and Development +----------------------- + +This package is one part of the Arvados source package, and it has +integration tests to check interoperability with other Arvados +components. Our `hacking guide +`_ +describes how to set up a development environment and run tests. -- 2.30.2