psaccounter — Write accounting information from the ParaStation MPI psid to the accounting files.


psaccounter [ -e | --extend ] [ -d | --debug=pattern ] [ -F | --foreground ] [ -l | --logdir=dir ] [ -f | --logfile=filename ] [ -p | --logpro ] [ -c | --dumpcore ] [ --coredir=dir ] [ -v | --version ] [ -? | --help ] [--usage]


The command psaccounter collects information about jobs from the ParaStation MPI psid daemon and writes this information to the accounting files. For each day, a particular file called yyyymmdd is created within the accounting directory /var/account.

The psaccounter is typically started by the psid(8) using the pseudo hardware configuration accounter entry within parastation.conf.


-e, --extend

Write extended information to the accounting file. In addition to entries for job terminations, it will also record job queue, start and delete information.

-d, --debug=flag

Print debug information. Pattern can be a combination of the following bits:

Table 5. Psaccounter debug flags

0x010More warning messages
0x020Show process information (start, exit)
0x040Show received messages
0x080Very verbose output
0x100Show node information on startup


As the accounter is typically not run directly, but started by the psid(8), the start script /opt/parastation/config/ps_acc should be modified to enable this debugging facilities.

-F, --foreground

Don't fork and go to background.

-l, --logdir=accountdir

Create accounting files within directory accountdir. Using -, all accounting information is written to stdout.

-f, --logfile=filename

Write debug and error messages to filename. Using - as filename, messages are written to stdout. By default, all debug and error messages are sent to syslog.

-p, --logpro=command

Define a post processing command for accounting files. If defined, this command is called everytime a new accounting file is created. The filename of the current accounting file is appended to the command.

Calling psaccounter with -p gzip would call the command gzip yyyymmdd and therefore compress least recently used accounting file.

-c, --dumpcore

Define that a core file should be written in case of a catastrophe. By default, the core file will be written to /tmp.


Defines where to save core files.

-v, --version

Output version information and exit.

-?, --help

Show this help messages.


Display brief usage message.



Accounting files, one per day.

See also

psid(8), psaccview(8) and parastation.conf.