Skip to content
R
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
plot-top5-core-count.R
priority-wait.R
sacct-week.psv.gz
sacct.R
server.R
ui.R

README.md

SLURM stats

Generate interactive HTML plots of SLURM data.

Build the HTML file on the Storrs HPC cluster:

module load gcc/5.4.0-alt r/3.4.2-gcc540
Rscript sacct.R

Spawn web server to view output on your workstation as you change the R code:

# Server side setup
python -m SimpleHTTPServer

Connect to the server and see your web browser. Assumes port 8000 was opened by the python web server on login1, tunnel to the server from your workstation:

# Client side setup
ssh -NL 8000:localhost:8000 login1
xdg-open http://localhost:8000

...where login1 is an ssh_config alias such as:

# ~/.ssh/config
Host login1
     HostName login1.storrs.hpc.uconn.edu
     User NETIDadmin		# Put your ID here!
     IdentityFile ~/.ssh/id_rsa	# Or similar.  Copy with `ssh-copy-id`
You can’t perform that action at this time.