dev-resources.site
for different kinds of informations.
Grid Engine Commands
Published at
9/23/2024
Categories
operations
gridengine
altair
hpc
Author
nerdflash28
Author
11 person written this
nerdflash28
open
QSTAT Command
- To check the status of the jobs we use the qstat command
qstat
# to get information about specific job
qstat -j <job-id>
# to get the full information of the resources
qstat -f
# to get the full details of all the jobs running
qstat -F
# To get the filter for a queue we use
qstat -q queue_list
# to filter by queue state
qstat -qs {a|c|d|o|s|u|A|C|D|E|S}
# to filter jobs by users
qstat -u <userid>
# to show all user's job
qstat -u \*
QSUB
- To submit a batch job we use the qsub command
# Example 1: to submit a simple bash job
qsub <script_path>
# Example 2: To submit an advanced batch job we use
qsub -cwd -S /bin/bash -i /data/example.in -o /results/example.out -j y example.sh arg1 arg2
# Options explained:
# -cwd: job will be executed from the same directory
# -S: bash shell will be assigned to interpret the submitted job
# -i: this file will be used as an input
# -o: this file will be used to show output
# -j y: this will merge the error into the same as the output file
# Example 3: advanced script
qsub -N example3 -P project_test -p -28 -l a=lx-amd64 example.sh
# Options explained:
# -N: this will be submitted by the given name, instead of the script name
# -P: this job will be submitted to project_test
# -p: this will assign lower priority to the given job than normal priority
# -l: this will request for amd64 resource on the scheduler
# Example 4: to submit a binary job
qsub -b y firefox
Job Submission Script
#!/bin/bash
#$ -N example3
#$ -P "project-name"
#$ -o test.out -e error.err
#$ -l mem=6G
#$ -l cpu=2
# command to be executed
echo "just a test"
QDEL
- qdel is used to delete a job in the queue
# Force delete a job in the queue
qdel -f <job-id>
# to delete specific tasks of a job
qdel <job-id> -t <task-range>
# to delete all the jobs from a specific user, only possible for managers
qdel -u <user-list> "*"
How to check for the list of the nodes
- To check the list of the current nodes we use the qhost command
qhost
# To check the jobs running under the specific hosts we use
qhost -q -j
operations Article's
30 articles in total
Rohit Singhalβs Supply Chain Leadership: Mastering Data Across SAP, Kinaxis, Oracle EBS, and PLM Systems for Seamless Operations
read article
The Rise of AIOps: How AI is Transforming IT Operations
read article
Configure monit service in AL2023
read article
Transform IT Operations with Callgoose SQIBS
read article
Navigating Alert Fatigue: Strategies for Site Reliability Engineers (SREs) and DevOps Professionals
read article
Kubernetes Operators for Custom Applications (e.g., Databases)
read article
Configuring Node Taints and Tolerations in Kubernetes for Advanced Scheduling
read article
Kubernetes Operators: Automating Application Management with Custom Controllers
read article
Fleet Management 101: Streamlining Operations for Maximum Efficiency
read article
Unit tests so you don't lose your levitating plant
read article
The Future of DevOps ππ
read article
Ops Team Specialist Supporting Scalable Operations & System Reliability
read article
Streamlining Business Operations with Python and AI Automation
read article
Operators (if,else if,ternary operator,switch)
read article
Transpiling, Do you know what it is?
read article
Prevention: It's Time to Save Those Millions
read article
Improve SDLC with DevOps
read article
Scaling Your OpsTeam Strategies for Managing Growth and Complexity
read article
Elevating Ops Teams Strategies for Operational Excellence
read article
Create a Supplier Database In 3 Steps
read article
Grid Engine Commands
currently reading
Devops
read article
Streamlining Operations & Boosting Growth: How Microsoft Dynamics is Reshaping the Business Landscape π
read article
Running Gitea with PostgreSQL on Kubernetes
read article
Snowflake Grants : Read only
read article
Installing AWS CloudWatch Agent on On-Premises Servers Using SSM
read article
How to Publish a Java Artifact Built with Gradle to a Nexus Repository part 1
read article
hugo is a cli based tool, does it have a CMS interface? it seems inconvinient using command line than using a cms interface
read article
Streamlining Workday Operations: 5 Powerful Benefits of Testing Tools
read article
C# - String methods
read article
Featured ones: