1. How to find the name of master host
The location of the master host can migrate between the current master host and one of the shadow master hosts at any time. Therefore, the location of the master host should be transparent to the user.Check below file for current master host.
$SGE_ROOT/$SGE_CELL/common/act_qmaster file.
2. To list all queues
# qconf -sql
3. Each queue is associated with a hostgroup. To List Host group
# qconf -shgrpl
4. To See all execution hosts
# qconf -sel
5. To See all administrative hosts
# qconf -sh
6. To see all submit hosts
#qconf -ss
7. To See all configured resource quota
qconf -srqsl
8. To display configuration of an existing project
# qconf -sprj project-name
9. To display all parallel environment
#qconf -spl
10.To Add a host as administrative host
# qconf -ah hostname
11. To remove a host as administrative host
# qconf -dh hostname
12. To add a host as submit host
# qconf -as hostname
13. To add a new queue
#qconf -aq
14. To add a host group
# qconf -ahgrp host-group-name
15. To add a new project
# qconf -aprj
16. To add a new resource quota
# qconf -arqs
17. To add a new parallel environment
qconf -ap pe-name
Other commands to monitor SGE
qhost — View current status of the available Grid Engine hosts, the queues, and the jobs associated with the queues
qalter and qsub — Submit jobs
qstat — Show the status of Grid Engine jobs and queues
qquota — List each resource quota that is being used at least once or that defines a static limit
No comments:
Post a Comment