psaccounter
psaccounter — Write accounting information from the ParaStation psid to the accounting files.
Synopsis
psaccounter [
Description
The command psaccounter collects information about jobs from the ParaStation 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.
Options
-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.
Print debug information. Pattern can be a combination of the following bits:
Pattern | Description |
|
|
0x010 | More warning messages |
|
|
0x020 | Show process information (start, exit) |
|
|
0x040 | Show received messages |
|
|
0x080 | Very verbose output |
|
|
0x100 | Show node information on startup |
|
|
Table 5. Psaccounter debug flags
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.
Don't fork and go to background.
-l, --logdir=accountdir
Create accounting files within directory accountdir. Using
-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.
ParaStation5 Administrator's Guide | 75 |