EnglishFrenchSpanish

OnWorks favicon

qstatposix - Online in the Cloud

Run qstatposix in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command qstatposix that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


qstat — show status of batch jobs

SYNOPSIS


qstat [−f] job_identifier...

qstat −Q [−f] destination...

qstat −B [−f] server_name...

DESCRIPTION


The status of a batch job, batch queue, or batch server is obtained by a request to the
server. The qstat utility is a user-accessible batch client that requests the status of
one or more batch jobs, batch queues, or servers, and writes the status information to
standard output.

For each successfully processed batch job_identifier, the qstat utility shall display
information about the corresponding batch job.

For each successfully processed destination, the qstat utility shall display information
about the corresponding batch queue.

For each successfully processed server name, the qstat utility shall display information
about the corresponding server.

The qstat utility shall acquire batch job status information by sending a Job Status
Request to a batch server. The qstat utility shall acquire batch queue status information
by sending a Queue Status Request to a batch server. The qstat utility shall acquire
server status information by sending a Server Status Request to a batch server.

OPTIONS


The qstat utility shall conform to the Base Definitions volume of POSIX.1‐2008, Section
12.2, Utility Syntax Guidelines.

The following options shall be supported by the implementation:

−f Specify that a full display is produced.

The minimum contents of a full display are specified in the STDOUT section.

Additional contents and format of a full display are implementation-defined.

−Q Specify that the operand is a destination.

The qstat utility shall display information about each batch queue at each
destination identified as an operand.

−B Specify that the operand is a server name.

The qstat utility shall display information about each server identified as an
operand.

OPERANDS


If the −Q option is presented to the qstat utility, the utility shall accept one or more
operands that conform to the syntax for a destination (see Section 3.3.2, Destination).

If the −B option is presented to the qstat utility, the utility shall accept one or more
server_name operands.

If neither the −B nor the −Q option is presented to the qstat utility, the utility shall
accept one or more operands that conform to the syntax for a batch job_identifier (see
Section 3.3.1, Batch Job Identifier).

STDIN


Not used.

INPUT FILES


None.

ENVIRONMENT VARIABLES


The following environment variables shall affect the execution of qstat:

HOME Determine the pathname of the user's home directory.

LANG Provide a default value for the internationalization variables that are unset or
null. (See the Base Definitions volume of POSIX.1‐2008, Section 8.2,
Internationalization Variables the precedence of internationalization variables
used to determine the values of locale categories.)

LC_ALL If set to a non-empty string value, override the values of all the other
internationalization variables.

LC_COLLATE
Determine the locale for the behavior of ranges, equivalence classes, and multi-
character collating elements within regular expressions.

LC_CTYPE Determine the locale for the interpretation of sequences of bytes of text data
as characters (for example, single-byte as opposed to multi-byte characters in
arguments).

LC_MESSAGES
Determine the locale that should be used to affect the format and contents of
diagnostic messages written to standard error.

LC_NUMERIC
Determine the locale for selecting the radix character used when writing
floating-point formatted output.

ASYNCHRONOUS EVENTS


Default.

STDOUT


If an operand presented to the qstat utility is a batch job_identifier and the −f option
is not specified, the qstat utility shall display the following items on a single line, in
the stated order, with white space between each item, for each successfully processed
operand:

* The batch job_identifier

* The batch job name

* The Job_Owner attribute

* The CPU time used by the batch job

* The batch job state

* The batch job location

If an operand presented to the qstat utility is a batch job_identifier and the −f option
is specified, the qstat utility shall display the following items for each success fully
processed operand:

* The batch job_identifier

* The batch job name

* The Job_Owner attribute

* The execution user ID

* The CPU time used by the batch job

* The batch job state

* The batch job location

* Additional implementation-defined information, if any, about the batch job or batch
queue

If an operand presented to the qstat utility is a destination, the −Q option is specified,
and the −f option is not specified, the qstat utility shall display the following items on
a single line, in the stated order, with white space between each item, for each
successfully processed operand:

* The batch queue name

* The maximum number of batch jobs that shall be run in the batch queue concurrently

* The total number of batch jobs in the batch queue

* The status of the batch queue

* For each state, the number of batch jobs in that state in the batch queue and the name
of the state

* The type of batch queue (execution or routing)

If the operands presented to the qstat utility are destinations, the −Q option is
specified, and the −f option is specified, the qstat utility shall display the following
items for each successfully processed operand:

* The batch queue name

* The maximum number of batch jobs that shall be run in the batch queue concurrently

* The total number of batch jobs in the batch queue

* The status of the batch queue

* For each state, the number of batch jobs in that state in the batch queue and the name
of the state

* The type of batch queue (execution or routing)

* Additional implementation-defined information, if any, about the batch queue

If the operands presented to the qstat utility are batch server names, the −B option is
specified, and the −f option is not specified, the qstat utility shall display the
following items on a single line, in the stated order, with white space between each item,
for each successfully processed operand:

* The batch server name

* The maximum number of batch jobs that shall be run in the batch queue concurrently

* The total number of batch jobs managed by the batch server

* The status of the batch server

* For each state, the number of batch jobs in that state and the name of the state

If the operands presented to the qstat utility are server names, the −B option is
specified, and the −f option is specified, the qstat utility shall display the following
items for each successfully processed operand:

* The server name

* The maximum number of batch jobs that shall be run in the batch queue concurrently

* The total number of batch jobs managed by the server

* The status of the server

* For each state, the number of batch jobs in that state and the name of the state

* Additional implementation-defined information, if any, about the server

STDERR


The standard error shall be used only for diagnostic messages.

OUTPUT FILES


None.

EXTENDED DESCRIPTION


None.

EXIT STATUS


The following exit values shall be returned:

0 Successful completion.

>0 An error occurred.

CONSEQUENCES OF ERRORS


In addition to the default behavior, the qstat utility shall not be required to write a
diagnostic message to standard error when the error reply received from a batch server
indicates that the batch job_identifier does not exist on the server. Whether or not the
qstat utility waits to output the diagnostic message while attempting to locate the batch
job on other servers is implementation-defined.

The following sections are informative.

APPLICATION USAGE


None.

EXAMPLES


None.

RATIONALE


The qstat utility allows users to display the status of jobs and list the batch jobs in
queues.

The operands of the qstat utility may be either job identifiers, queues (specified as
destination identifiers), or batch server names. The −Q and −B options, or absence
thereof, indicate the nature of the operands.

The other options of the qstat utility allow the user to control the amount of information
displayed and the format in which it is displayed. Should a user wish to display the
status of a set of jobs that match a selection criteria, the qselect utility may be used
to acquire such a list.

The −f option allows users to request a ``full'' display in an implementation-defined
format.

Historically, the qstat utility has been a part of the NQS and its derivatives, the
existing practice on which it is based.

FUTURE DIRECTIONS


The qstat utility may be removed in a future version.

Use qstatposix online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    formkiq-core
    formkiq-core
    FormKiQ Core is an Open Source Document
    Management System (DMS), available to
    run as a headless software or with a
    web-based client, deployed to your
    Amazon We...
    Download formkiq-core
  • 2
    Blackfriday
    Blackfriday
    Blackfriday is a Markdown processor
    implemented in Go. It is paranoid about
    its input (so you can safely feed it
    user-supplied data), it is fast, it
    supports c...
    Download Blackfriday
  • 3
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 4
    deep-clean
    deep-clean
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 5
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 6
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • More »

Linux commands

  • 1
    a2query
    a2query
    a2query - retrieve runtime
    configuration from a local Apache 2 HTTP
    server ...
    Run a2query
  • 2
    a2x
    a2x
    a2x - A toolchain manager for AsciiDoc
    (converts Asciidoc text files to other
    file formats) ...
    Run a2x
  • 3
    cooktime
    cooktime
    cooktime - set file times ...
    Run cooktime
  • 4
    cook_bom
    cook_bom
    cook_bom - bill of materials ...
    Run cook_bom
  • 5
    gbackground
    gbackground
    gbackground - interval-based gnome
    background changer SYNTAX: gbackground
    DESCRIPTION: This program allows to
    change periodically the gnome background
    in inter...
    Run gbackground
  • 6
    gbacorr
    gbacorr
    gbacorr - Compute
    auto/cross-correlation coefficients ...
    Run gbacorr
  • More »

Ad