← 返回
AI智能 中文

4090ctl

Remotely manage the 4090 server via SSH to monitor Docker containers, restart services, and check system status.
通过SSH远程管理4090服务器,监控Docker容器、重启服务及检查系统状态。
olmmlo-cmd
AI智能 clawhub v1.0.0 1 版本 99910.8 Key: 无需
★ 0
Stars
📥 1,120
下载
💾 22
安装
1
版本
#latest

概述

4090 服务器控制

通过 SSH 控制 4090 服务器(192.168.199.17)。

快速命令

# Dify 状态检查
ssh -F ~/.ssh/config 4090 "docker ps -a | grep dify"

# 查看资源使用
ssh -F ~/.ssh/config 4090 "docker stats --no-stream"

# 重启 Dify
ssh -F ~/.ssh/config 4090 "cd ~/dify/docker && docker-compose restart"

# 查看日志
ssh -F ~/.ssh/config 4090 "docker logs -f docker-api-1"

常用操作

Docker 管理

# 查看所有容器
docker ps -a

# 查看资源占用
docker stats --no-stream --format 'table {{.Name}}\t{{.CPUPerc}}\t{{.MemPerc}}'

# 重启单个容器
docker restart docker-api-1

# 查看容器日志
docker logs -f docker-api-1

Dify 服务

服务容器名端口说明
--------------------------
APIdocker-api-15001主 API
Workerdocker-worker-15001异步任务
Webdocker-web-13000前端界面
Plugindocker-plugin_daemon-15003插件服务
Sandboxdocker-sandbox-1-安全沙箱

系统监控

# CPU/内存
top -bn1 | head -5

# 磁盘使用
df -h

# 负载情况
uptime

SSH 配置

~/.ssh/config:

Host 4090
    HostName 192.168.199.17
    User olmmlo
    IdentityFile ~/.ssh/4090_key
    PasswordAuthentication no

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 07:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,062 📥 799,794
developer-tools

Agent Guardrails

olmmlo-cmd
阻止 AI 智能体暗中绕过规则。通过 git 钩子、秘密检测、部署验证和导入注册表实现强制性约束。
★ 0 📥 1,230
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,130