Linux command
pbsnodes 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List all nodes
pbsnodes -a
Show specific node
pbsnodes [node_name]
Show free nodes
pbsnodes -l free
Mark node offline
pbsnodes -o [node_name]
Clear offline status
pbsnodes -c [node_name]
Set node comment
pbsnodes -N "[comment]" [node_name]
说明
pbsnodes queries and manages compute nodes in a PBS (Portable Batch System) cluster. Administrators use it to check node status, mark nodes offline for maintenance, and view resource availability.
参数
- -a
- Show all nodes.
- -l _state_
- List nodes in state.
- -o
- Mark offline.
- -c
- Clear offline.
- -N _note_
- Set note/comment.
- -x
- XML output.
- -s _server_
- PBS server.
FAQ
What is the pbsnodes command used for?
pbsnodes queries and manages compute nodes in a PBS (Portable Batch System) cluster. Administrators use it to check node status, mark nodes offline for maintenance, and view resource availability.
How do I run a basic pbsnodes example?
Run `pbsnodes -a` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a do in pbsnodes?
Show all nodes.