mirror of
https://github.com/oneclickvirt/basics.git
synced 2025-11-03 11:10:55 +08:00
5db09adfafeebe6e1bc77300d7c3db35a31c73b6
basics
系统基础信息查询模块 (System Basic Information Query Module)
Include: https://github.com/oneclickvirt/gostun
Information
Use -l to specify the output language, currently en and zh are supported.
TODO
- 使用
sysctl获取CPU信息-特化适配freebsd、openbsd系统 - 检测GPU相关信息
Usage
下载及安装
curl https://raw.githubusercontent.com/oneclickvirt/basics/main/basics_install.sh -sSf | bash
或
curl https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/basics/main/basics_install.sh -sSf | bash
使用
basics
或
./basics
进行测试
无环境依赖,理论上适配所有系统和主流架构,更多架构请查看 https://github.com/oneclickvirt/basics/releases/tag/output
Usage of basics:
-e Enable logging
-l string
Language parameter (en or zh)
-v show version
Description
Languages
Go
95.3%
C
2.7%
Shell
2%