Difference between revisions of "SciNet Command Line Utilities"

From oldwiki.scinet.utoronto.ca
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
Currently, on the GPC you need to have the '''extras''' module loaded for these to work.
 
Currently, on the GPC you need to have the '''extras''' module loaded for these to work.
  
Note that in the table, optional arguments are denoted with square brackets (i.e. '[]').
+
Note that in the table, optional arguments are denoted with square brackets (i.e. '[]'),
 +
while mandatory arguments are denoted with angular brackets (i.e. '<>').
  
 
{| border="1" cellpadding="10" cellspacing="0"
 
{| border="1" cellpadding="10" cellspacing="0"
Line 37: Line 38:
 
|-
 
|-
 
|nodeperf
 
|nodeperf
|[''<userName>'']
+
|[''userName'']
 
|Who is doing what on the current node?
 
|Who is doing what on the current node?
 
|GPC
 
|GPC
Line 82: Line 83:
 
|-
 
|-
 
|jobtree
 
|jobtree
|[''<userName>'']
+
|[''userName'']
 
|Displays the jobs tree of dependencies for a given user.
 
|Displays the jobs tree of dependencies for a given user.
 
|GPC
 
|GPC
 
|-
 
|-
 
|debugjob
 
|debugjob
|[<''nodes''>]
+
|[''nodes'']
 
|Requests a time-limited interactive session of up to 8 dedicated nodes
 
|Requests a time-limited interactive session of up to 8 dedicated nodes
 
|GPC
 
|GPC
 
|-
 
|-
 
|modulefind
 
|modulefind
|[''<searchWord>'']
+
|[''searchWord'']
 
|Finds modules containing ''<searchWord>'' and indicate their compatibility with already loaded modules.
 
|Finds modules containing ''<searchWord>'' and indicate their compatibility with already loaded modules.
 
|GPC
 
|GPC

Revision as of 13:33, 18 March 2015

Below is list of handy command-line utilities written by SciNet to help manage your data and compute.

Currently, on the GPC you need to have the extras module loaded for these to work.

Note that in the table, optional arguments are denoted with square brackets (i.e. '[]'), while mandatory arguments are denoted with angular brackets (i.e. '<>').

Command Arguments Description Cluster
diskUsage -h to see all command options Informs about the user and group file system usage. GPC
quota Short overview of a user's storage usage. GPC
qsum most showq arguments work Lists jobs running or in the queue, grouped by user. GPC,TCS
llq1 Detailed information on jobs that are actively running. TCS
scinetUsage Compute usage in the last 14 days, and how this affects your priority in the queue
(equivalent to /scinet/gpc/scinetcli/scinet usage).
GPC
nodeperf [userName] Who is doing what on the current node? GPC
jobperf <jobId | jobName> Informs about the performance of all nodes of a given job. GPC
jobError <jobId | jobName> Displays realtime error output of a given job. GPC
jobOutput <jobId | jobName> Displays realtime standard output of a given job. GPC
jobcd <jobId | jobName> Allows users to quickly move into the working directory of a given job. GPC
jobscript <jobId | jobName> Displays the submission script used when submitting a given job. GPC
jobssh <jobId | jobName> Allows users to connect to the head-node of a given job. GPC
jobtop <jobId | jobName> Allows users to "top" on the head-node of a given job. GPC
jobdep <jobId> Displays dependencies of given job. GPC
jobtree [userName] Displays the jobs tree of dependencies for a given user. GPC
debugjob [nodes] Requests a time-limited interactive session of up to 8 dedicated nodes GPC
modulefind [searchWord] Finds modules containing <searchWord> and indicate their compatibility with already loaded modules. GPC
modulewrap <comma-separated-modules> <command> Loaded the modules in the list (comma separated without spaces) only to run the given command. GPC