---
name: "sge_qstat"
section: "5"
platform: "linux"
package: "gridengine-common"
version: "8.1.9+dfsg-13.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sge_qstat"
---

# sge\_qstat(5)

Grid Engine default qstat file format

## NAME

sge\_qstat - Grid Engine default qstat file format

## DESCRIPTION

*sge\_qstat* defines the command line switches that will be used by qstat by default. If available, the default sge\_qstat file is read and processed by  [*qstat*(1)](/qstat/1.md).

There is a cluster global and a user private sge\_qstat file. The user private file has the highest precedence and is followed by the cluster global  sge\_qstat file. Command line switches used with  [*qstat*(1)](/qstat/1.md) override all switches contained in the user private or cluster global  sge\_qstat file.

The format of the default files is:

- •

  The default sge\_qstat file may contain an arbitrary number of lines. Blank lines and lines with a '#' sign in the first column are skipped. Each line not to be skipped may contain any [*qstat*(1)](/qstat/1.md) option. More than one option per line is allowed.

## EXAMPLES

The following is a simple example of a default sge\_qstat file:

```
=====================================================
# Just show me my own running and suspended jobs
-s rs -u $user
=====================================================
```

Having defined a default sge\_qstat file like this and using qstat  as follows:

```
qstat
```

has the same effect as if qstat was executed with:

```
qstat -s rs -u <current_user>
```

(Note that -u $user is now the default behaviour.)

## FILES

```
<sge_root>/<cell>/common/sge_qstat global defaults file
$HOME/.sge_qstat	user private defaults file
```

## SEE ALSO

[*sge\_intro*(1)](/sge_intro/1.md), [*qstat*(1)](/qstat/1.md)

## COPYRIGHT

See [*sge\_intro*(1)](/sge_intro/1.md) for a full statement of rights and permissions.
