# bsum **Repository Path**: sirrrr/bsum ## Basic Information - **Project Name**: bsum - **Description**: No description available - **Primary Language**: Rust - **License**: MIT - **Default Branch**: DEV - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-09-07 - **Last Updated**: 2026-09-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # bsum LSF 队列资源统计工具(Rust 版)。 ## 安装 ```bash cargo install --path . ``` 或本地构建:`cargo build --release`,产物在 `target/release/bsum`。 ## 用法 ``` bsum # 列出所有队列 bsum QUEUE # 按前缀匹配 QUEUE 及其子队列 bsum -q QUEUE # 详细模式:汇总 + 子队列 + 作业 bsum -v ... # 打开 debug 日志(stderr) bsum --version bsum --help ``` ## 依赖 需要在 PATH 中可访问 LSF 客户端命令:`lshosts` `bhosts` `bqueues` `bjobs` `bmgroup`。 ## 与 Python 版差异 见 `docs/superpowers/specs/2026-09-07-bsum-rust-rewrite-design.md` §12。 CLI、表格列、对齐、错误提示保持一致;冷启动更快。 ## 开发 ```bash cargo test cargo clippy --all-targets -- -D warnings cargo fmt --check ``` 原 Python 实现在 `legacy/bsum.py`,仅作参考。