Parallel Interactive Cluster Shell, for rapid ad-hoc cluster ops
Project description
picsh
Parallel Interactive Cluster Shell, for rapid ad-hoc cluster ops.
Requirements
- Tested on Linux only (Fedora 35, Amazon Linux 2, Ubuntu 18)
- Tested with Python 3.6 and up
Install
$pip install picsh
Features
- Fast interactive shells (re-uses the ssh session)
- Stateful (cd /var/log followed by pwd gives you /var/log)
- Target a subset of nodes (@2,3,4 mkdir /etc/newconfd)
- Ssh to a single node to run full screen curses apps like top
- Browse receive buffers per node
- Keyboard and mouse driven
- Works over ssh so you can put this on a jump host
Demo
Usage
- Using the command line args:
$picsh -i /home/bob/.keys/slurm_host_key -l ec2-user -h 10.1.0.23 10.1.0.24 10.1.0.25
- Using static cluster configs:
Create a cluster yaml and put it in ~.picsh/cluster_name.yaml.
Example:
$ cat .picsh/slurm-dev.yaml
cluster_name: slurm-dev
login_user: ec2-user
ssh_key_path: /home/ec2-user/.keys/pcluster.pem
nodes:
- ip: "10.0.27.155"
- ip: "10.0.25.13"
- ip: "10.0.23.208"
- ip: "10.0.31.113"
- ip: "10.0.18.254"
then run
$picsh
To get a debug log in ~/.picsh , pass -v on the command line
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file picsh-0.2.1.tar.gz.
File metadata
- Download URL: picsh-0.2.1.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
557de5dfc989e704125a6d13ed995763b818162f2b9e165bd2859b071f806581
|
|
| MD5 |
436fa594829ce19edcfdc6456d6077d5
|
|
| BLAKE2b-256 |
dc42c05478e00b406ecaa753fb4a9e8ee25c99490b82d5aa33c8343c6e6b7ac9
|
File details
Details for the file picsh-0.2.1-py3-none-any.whl.
File metadata
- Download URL: picsh-0.2.1-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d5250d713c99de74831b780a8a99f27f5482c4100ec3ea145ba8872775f9fc2
|
|
| MD5 |
4b9a0f8e3f162e4b13ab3d77cbf03f82
|
|
| BLAKE2b-256 |
8ff7ce097cd1d3e46f1792a747e49b472309c1659b41364c5ea50989434edcfa
|