Skip to content

ctop 0.3.1

Choose a tag to compare

@ironiris ironiris released this 14 Oct 01:39
· 25 commits to main since this release

주요 변경 사항

  • 웹 대시보드에서 추가 ctop 모니터를 등록해 GPU 목록을 통합하고, GPU·SYSTEM·GPU PROCESSES를 모니터별 섹션으로 표시합니다.
  • 각 모니터의 GPU, SYSTEM, GPU PROCESSES 섹션을 독립적으로 접고 펼칠 수 있으며, 제목 왼쪽의 위·아래 삼각형 버튼으로 각 섹션의 순서를 개별 조정할 수 있습니다. 순서는 브라우저에 저장됩니다.
  • 여러 모니터를 사용할 때 GPU와 프로세스 ID에 모니터 접두어(예: A0, B0)를 표시합니다. 접두어는 GPU LIST 옆에서 수정할 수 있고, 단독 모니터에서는 숨깁니다.
  • 모니터 주소 입력은 host:port 또는 //host:port 형식을 지원합니다. 현재 대시보드의 프로토콜을 사용하고 /api/v1/metrics 경로를 자동으로 추가합니다.
  • 원격 모니터용 별도 토큰 입력란과 Bearer 인증을 추가하고, CLI 토큰 옵션에 -t 별칭을 지원합니다.
  • 모니터별 접기 상태, 새로고침 중 섹션 안정성, 모바일 레이아웃을 개선하고 웹 대시보드 스크린샷을 갱신했습니다.

보안 참고

  • 토큰과 모니터 설정은 브라우저 localStorage에 저장됩니다.
  • 다중 모니터링을 위해 metrics API가 교차 출처 브라우저 요청(CORS)을 허용합니다. 네트워크에 노출된 인스턴스에는 --token 사용을 권장합니다.

Changes

  • Add multiple ctop monitors to the web dashboard, combining GPUs in GPU LIST and providing per-monitor GPU, SYSTEM, and GPU PROCESSES sections.
  • Collapse each monitor's GPU, SYSTEM, and GPU PROCESSES sections independently. Reorder every section individually with the up/down triangle buttons; the order is saved in the browser.
  • Show monitor prefixes in GPU and process IDs (for example, A0, B0) when multiple monitors are configured. The local prefix is editable next to GPU LIST; prefixes are hidden for a single monitor.
  • Accept host:port and protocol-relative //host:port monitor addresses. Use the dashboard's current protocol and append /api/v1/metrics automatically.
  • Add a separate token field and Bearer authentication for remote monitors, plus -t as an alias for the CLI --token option.
  • Improve per-monitor collapse behavior, preserve section controls during refreshes, refine the mobile layout, and update the web dashboard screenshot.

Security note

  • Monitor addresses, prefixes, and supplied tokens are stored in browser localStorage.
  • The metrics API allows cross-origin browser requests for multi-monitoring. Use --token on instances exposed to a network.