sparkDash

(★ 278)

sparkDash ⚡ — Multi-DGX Spark Monitoring Dashboard

File Explorer

  • .dockerignore
  • .env.example
  • .gitignore
  • bench.png
  • CHANGELOG.md
  • deploy.sh
  • docker-compose.dev.yml
  • docker-compose.yml
  • Dockerfile
  • Dockerfile.dev
  • index.html
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • tsconfig.json
  • vite.config.ts

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

login

View Details ▼

Manage console and virtual line authentication.
Accessed in configuration mode under `line`.

login local

Use local username and password for authentication:

login {{user}}

Log in as a user:

login -f {{user}}

Log in as user without authentication if user is preauthenticated:

🔍

docker compose up

View Details ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker compose

View Details ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

host

View Details ▼

Lookup Domain Name Server.
See also: `dig`, `resolvectl`, `nslookup`.

host {{domain}}

Lookup A, AAAA, and MX records of a domain:

host -t {{field}} {{domain}}

Lookup a field (CNAME, TXT, ...) of a domain:

host {{ip_address}}

Reverse lookup an IP:

🔍

kind

View Details ▼

Run local Kubernetes clusters using Docker container "nodes".
Designed for testing Kubernetes itself, but may be used for local development or continuous integration.

kind create cluster --name {{cluster_name}}

Create a local Kubernetes cluster:

kind delete clusters {{cluster_name}}

Delete one or more clusters:

kind get {{clusters|nodes|kubeconfig}}

Get details about clusters, nodes, or the kubeconfig:

🔍

node

View Details ▼

Server-side JavaScript platform (Node.js).

node {{path/to/file}}

Run a JavaScript file:

node

Start a REPL (interactive shell):

node --watch {{path/to/file}}

Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

npm run

View Details ▼

Run a script.

npm run

List available scripts:

npm run {{script_name}}

Run a script:

npm run {{script_name}} -- {{argument}} {{--option}}

Pass arguments to a script:

🔍

npm start

View Details ▼

This command is an alias of `npm run start`.

tldr npm run

View documentation for the original command:

🔍

nvidia-smi

View Details ▼

Aid the management and monitoring of NVIDIA GPU devices.

nvidia-smi

Display information on all available GPUs and processes using them:

nvidia-smi {{[-q|--query]}}

Display more detailed GPU information:

nvidia-smi dmon

Monitor overall GPU usage with 1-second update interval:

🔍

spark

View Details ▼

The Laravel Spark tool.

spark register {{token}}

Register your API token:

spark token

Display the currently registered API token:

spark new {{project_name}}

Create a new Spark project:

🔍

ssh

View Details ▼

Secure Shell is a protocol used to securely log onto remote systems.
It can be used for logging or executing commands on a remote server.

ssh {{username}}@{{remote_host}}

Connect to a remote server:

ssh {{username}}@{{remote_host}} -i {{path/to/key_file}}

Connect to a remote server with a specific [i]dentity (private key):

ssh {{username}}@10.0.0.1 -p {{2222}}

Connect to a remote server with IP `10.0.0.1` and using a specific [p]ort (Note: `10.0.0.1` can be shortened to `10.1`):

🔍

sshpass

View Details ▼

An SSH password provider.
It works by creating a TTY, feeding the password into it, and then redirecting `stdin` to the SSH session.

sshpass -d {{0}} ssh {{user}}@{{hostname}}

Connect to a remote server using a password supplied on a file descriptor (in this case, `stdin`):

sshpass -p {{password}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}}

Connect to a remote server with the password supplied as an option, and automatically accept unknown SSH keys:

sshpass -f {{path/to/file}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}} "{{command}}"

Connect to a remote server using the first line of a file as the password, automatically accept unknown SSH keys, and launch a command:

🔍

tailscale up

View Details ▼

Connect the client to the Tailscale network.
Note: Run `sudo tailscale set --operator $USER` to allow the current user to run these commands.
All options described here can be changed later using `tailscale set --option argument`. Use `--option=false` to disable options that don't require arguments.

tailscale up

Connect to Tailscale:

tailscale up --advertise-exit-node

Connect and offer the current machine to be an exit node for internet traffic:

tailscale up --exit-node {{exit_node_ip}}

Connect using a specific node for internet traffic:

🔍

tailscale

View Details ▼

A private WireGuard network service.
Some subcommands such as `up` have their own usage documentation.

sudo tailscale set --operator $USER

Allow the current user to operate on the Tailscale daemon:

tailscale {{up|down|status}}

Handle connection to Tailscale (connect, disconnect, check status):

tailscale set --advertise-exit-node

Offer the current machine to be an exit node for internet traffic:

🔍

tsc

View Details ▼

TypeScript compiler.

tsc --init

Initialize a TypeScript project:

tsc {{path/to/file.ts}}

Compile a TypeScript file into a JavaScript file with the same name:

tsc {{[-t|--target]}} {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...}} {{path/to/file.ts}}

Compile a TypeScript file into JavaScript using a specific target syntax (default is `ES3`):

🔍

nsenter

View Details ▼

Run a new command in a running process' namespace.
Particularly useful for Docker images or chroot jails.

nsenter {{[-t|--target]}} {{pid}} {{[-a|--all]}} {{command}} {{command_arguments}}

Run a specific command using the same namespaces as an existing process:

nsenter {{[-t|--target]}} {{pid}} --{{mount|uts|ipc|net|pid|user|cgroup}} {{command}} {{command_arguments}}

Run a specific command in an existing process's mount|UTS|IPC|network|PID|user|cgroup|time namespace:

nsenter {{[-t|--target]}} {{pid}} {{[-u|--uts]}} {{[-T|--time]}} {{[-i|--ipc]}} -- {{command}} {{command_arguments}}

Run a specific command in an existing process's UTS, time, and IPC namespaces:

// repository documentation