7 ways to get status of Cray jobs

Pick the one that's best for you . . .

rule

Tom Parker
by Tom Parker


Contents

Search

Index

Home

Subscribe

ConsultWeb

SCD

You can get the status of batch jobs on the Cray computers in a variety of ways.

Currently, there are four Crays available:

Full name
(use this name instead of cray in text below)
2-letter name
(use this name instead of xx in text below)
antero.ucar.edu an
aztec.ucar.edu az
paiute.ucar.edu pa
ouray.ucar.eduou


Method 1: Interactive

In this method, you login interactively to the Cray you are interested in.
  • All batch jobs: qstat -a

  • Just your batch jobs: qstat -a -u userid

  • Number of jobs: qstat -b
Example: Login to ouray. Then, to check your own jobs:

qstat -a -u joeuser


Method 2: rsh

The rsh method requires you to have a valid .rhosts file on the Cray you are rshing to.

  • All batch jobs: rsh cray qstat -a

  • Just your batch jobs: rsh cray qstat -a -u

  • Number of jobs: rsh cray qstat -b
Example:

rsh ouray.ucar.edu qstat -a -u joeuser


Method 3: IRJE

This method works for Internet Remote Job Entry (IRJE).
  • All batch jobs: get .xxstat

    Example: get .oustat

  • Just your batch jobs: n/a

  • Number of jobs: get .crayq (for ouray); get .meccaq (for antero)

Example:

ftp irje.ucar.edu
get .oustat
quit


Method 4: MIGS

This method works for the MASnet/Internet Gateway Server (MIGS).
  • All batch jobs: nrnet xxstat xxstat
  • Just your batch jobs: n/a
  • Number of jobs: n/a

Example: nrnet oustat oustat


Method 5: WWW

This method works for the World Wide Web. Example: netscape http://www.ucar.edu/info/Jobstatus.html


Method 6: FTP

This method works for File Transfer Protocol (FTP).
  • All batch jobs: n/a
  • Just your batch jobs:
    ftp [Cray]              # Ftp to desired Cray.
    quote site batch on     # Turn on NQS mode.
    dir                     # Show running and finished jobs.
    quit                    # All done.
    
    Note: This is part of using NQS via FTP. For more information, see the The NCAR UNICOS Guide, Chapter 21: "Using File Transfer Protocol to Access NQS." This is also online at www.scd.ucar.edu/docs/UNICOS/04.nqs.html#HDR36.

  • Number of jobs: n/a


Method 7: Obsolete methods

These methods are no longer available.
  • finger crayq@windom.ucar.edu
  • telnet windom.ucar.edu (and login as crayq)



Notes

  • Some other useful qstat commands are:
    qstat -rb        # Just running jobs in batch queue
    qstat -ib        # Just queued  jobs in batch queue
    qstat -a -j [J]  # Summary of job #[J] (NQS job IDENTIFIER)
    qstat -a -f [J]  # Details of job #[J] (NQS job IDENTIFIER)
    
  • You can have your batch job send you e-mail when your job begins and/or ends. For details, see:

    www.ucar.edu/docs/SCD_Newsletter/News_summer95/06a.hints.html

    For example, you can request e-mail when your batch job begins and when it ends with: #QSUB -mb -me -mu your.login

rule

Contents || Search || Index || Home || Subscribe || ConsultWeb || SCD