Giter Club home page Giter Club logo

slurm_usage_utils's Introduction

slurm_usage_utils

Helpful functions for tracking GPU/CPU usage in SLURM managed clusters.

Installation

Clone the repository to your home directory or otherwise.

Add the following lines to your .bashrc, change the location of the .gpus_users.bashrc file based on where you cloned the repository. The paths to each .awk file in gpus_users.bashrc will also have to be modified if a different clone directory is chosen.

if [ -f ~/slurm_usage_utils/gpus_users.bashrc ]; then
    . ~/slurm_usage_utils/gpus_users.bashrc
fi

In the following files, change the @include mycolors.awk line so that it has the absolute path of your mycolors.awk file from this repository:

lab_usage.awk
lab_usage_qos.awk
lab_usage_verbose.awk
node_usage.awk

Reload your .bashrc with source ~/.bashrc.

Usage

The following commands are currently supported

# Summary of GPU/CPU usage
gpus_users
gpus_users -q
gpus_users -v

# Summary of node usage
node_usage

slurm_usage_utils's People

Contributors

jhurricane96 avatar nirbhayjm avatar yvsriram avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.