Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
habrok:advanced_job_management:checking_job_performance [2023/03/22 13:09] – [Logging in to compute nodes] fokkehabrok:advanced_job_management:checking_job_performance [2026/11/18 15:23] (current) – camarocico
Line 1: Line 1:
 {{indexmenu_n>7}} {{indexmenu_n>7}}
  
-===== Checking job performance =====+====== Checking job performance ======
  
 Sometimes it is useful to take a closer look on the performance of jobs using the toolbox that Linux has. Sometimes it is useful to take a closer look on the performance of jobs using the toolbox that Linux has.
 We will not describe the details of these tools but just mention a few. We will not describe the details of these tools but just mention a few.
  
-==== Logging in to compute nodes ====+===== Logging in to compute nodes =====
  
 Using the ''ssh'' command line tool it is possible to login into nodes where one of your jobs is running. Please note that you can only login into these nodes. A connection to another node will be refused. Using the ''ssh'' command line tool it is possible to login into nodes where one of your jobs is running. Please note that you can only login into these nodes. A connection to another node will be refused.
Line 16: Line 16:
 After this you should obtain a command-line prompt on this node (if you have a job running on that node!). You can use ''squeue'' described earlier to see where your job is running. After this you should obtain a command-line prompt on this node (if you have a job running on that node!). You can use ''squeue'' described earlier to see where your job is running.
  
-==== Checking job performance ====+===== Checking job performance =====
  
 There are two tools that we will describe on this page. The first is ''top'', the second ''ps''. There are two tools that we will describe on this page. The first is ''top'', the second ''ps''.
  
-=== top ===+==== top ====
  
 The ''top'' tool will show an overview of running processes on the system. You can limit it to your own processes using the ''-u'' option. The ''top'' tool will show an overview of running processes on the system. You can limit it to your own processes using the ''-u'' option.
Line 28: Line 28:
 To see the individual threads of a multithreaded program you can press shift-H for uppercase H. The q key will exit top. To see the individual threads of a multithreaded program you can press shift-H for uppercase H. The q key will exit top.
  
-=== ps ===+==== ps ====
  
 Another useful tool is ''ps''. ''ps'' will show processes on the node. To see an extensive overview of the users processes you can use: Another useful tool is ''ps''. ''ps'' will show processes on the node. To see an extensive overview of the users processes you can use: