sparkDash

(★ 278)

sparkDash ⚡ — Multi-DGX Spark Monitoring Dashboard

파일 탐색기

  • .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

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

login

설명 보기 ▼

콘솔 및 가상 라인 인증을 관리.
`line` 설정 모드에서 사용함.
더 많은 정보: <https://www.cisco.com/c/en/us/td/docs/routers/sdwan/command/iosxe/qualified-cli-command-reference-guide/m-line-commands.pdf>.

login local

로컬 사용자 이름과 비밀번호를 사용하여 인증:

login {{user}}

Log in as a user:

login -f {{user}}

Log in as user without authentication if user is preauthenticated:

🔍

docker compose up

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

도메인 네임 서버 조회.
관련 항목: `dig`, `resolvectl`, `nslookup`.
더 많은 정보: <https://manned.org/host>.

host {{domain}}

도메인의 A, AAAA 및 MX 레코드 조회:

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

도메인의 필드 (CNAME, TXT, ...) 조회:

host {{ip_address}}

IP 역방향 조회:

🔍

kind

설명 보기 ▼

Docker 컨테이너 "노드"를 사용하여 로컬 Kubernetes 클러스터를 실행.
Kubernetes 자체 테스트를 위해 설계되었으나, 로컬 개발이나 지속적 통합에도 사용 가능.
더 많은 정보: <https://github.com/kubernetes-sigs/kind>.

kind create cluster --name {{cluster_name}}

로컬 Kubernetes 클러스터 생성:

kind delete clusters {{cluster_name}}

하나 이상의 클러스터 삭제:

kind get {{clusters|nodes|kubeconfig}}

클러스터, 노드 또는 kubeconfig에 대한 세부 정보 가져오기:

🔍

node

설명 보기 ▼

서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.

node {{path/to/file}}

JavaScript 파일 실행:

node

REPL(대화형 셸) 시작:

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

지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):

🔍

npm install

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

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

tldr npm run

View documentation for the original command:

🔍

nvidia-smi

설명 보기 ▼

NVIDIA GPU 장치의 관리 및 모니터링 도구.
더 많은 정보: <https://developer.nvidia.com/system-management-interface>.

nvidia-smi

사용 가능한 모든 GPU 및 이를 사용하는 프로세스의 정보 표시:

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

더 자세한 GPU 정보 표시:

nvidia-smi dmon

1초 간격으로 전체 GPU 사용량 모니터링:

🔍

spark

설명 보기 ▼

Laravel Spark 명령줄 도구.
더 많은 정보: <https://spark.laravel.com/>.

spark register {{token}}

API 토큰 등록:

spark token

현재 등록된 API 토큰 표시:

spark new {{project_name}}

새 Spark 프로젝트 생성:

🔍

ssh

설명 보기 ▼

Secure Shell은 원격 시스템에 안전하게 로그인하기 위한 프로토콜입니다.
원격 서버에 로그인하거나 명령을 실행하는 데 사용할 수 있습니다.
더 많은 정보: <https://man.openbsd.org/ssh>.

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

원격 서버에 연결:

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

특정 신원(개인 키)으로 원격 서버에 연결:

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

특정 [p]포트를 사용하여 원격 서버에 연결:

🔍

sshpass

설명 보기 ▼

SSH 비밀번호 제공 도구.
TTY를 생성하고 비밀번호를 입력한 후 `stdin`을 SSH 세션으로 리디렉션하여 작동합니다.
더 많은 정보: <https://manned.org/sshpass>.

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

파일 디스크립터(이 경우, `stdin`)에 제공된 비밀번호를 사용하여 원격 서버에 연결:

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

옵션으로 제공된 비밀번호를 사용하여 원격 서버에 연결하고, 알 수 없는 SSH 키를 자동으로 수락:

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

파일의 첫 번째 줄을 비밀번호로 사용하여 원격 서버에 연결하고, 알 수 없는 SSH 키를 자동으로 수락하며 명령 실행:

🔍

tailscale up

설명 보기 ▼

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

설명 보기 ▼

개인 WireGuard 네트워크 서비스.
`up`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://tailscale.com/kb/1080/cli>.

sudo tailscale set --operator $USER

Tailscale에 연결:

tailscale {{up|down|status}}

Tailscale에서 연결 해제:

tailscale set --advertise-exit-node

현재 Tailscale IP 주소 표시:

🔍

tsc

설명 보기 ▼

TypeScript 컴파일러.
더 많은 정보: <https://www.typescriptlang.org/docs/handbook/compiler-options.html>.

tsc --init

`foobar.ts` TypeScript 파일을 `foobar.js` JavaScript 파일로 컴파일:

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

특정 목표 구문을 사용하여 TypeScript 파일을 JavaScript로 컴파일 (기본값은 `ES3`):

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

사용자 정의 이름으로 TypeScript 파일을 JavaScript 파일로 컴파일:

🔍

nsenter

설명 보기 ▼

실행 중인 프로세스의 네임스페이스에서 새로운 명령을 실행합니다.
Docker 이미지나 chroot 감옥에 특히 유용합니다.
더 많은 정보: <https://manned.org/nsenter>.

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

특정 프로세스와 동일한 네임스페이스를 사용하여 명령 실행:

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

특정 프로세스의 마운트|UTS|IPC|네트워크|PID|사용자|cgroup|시간 네임스페이스에서 명령 실행:

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

특정 프로세스의 UTS, 시간, IPC 네임스페이스에서 명령 실행:

// repository documentation