PSAdmin Command Reference

The PSAdmin command line application under PS_HOME\appserv allows for a number of very useful parameters. To get a full list with examples, type psadmin -h.

The commands are broken down into the various servers:

  • Process scheduler: psadmin -p <command> -d <database>
  • Search server: psadmin -s <command> -d <domain>
  • Application server: psadmin -c <command> -d <domain>

I'm not sure why the application server command is -c instead of the more logical -a.

Here's some of the most commonly used command line options:

Get environment variable information set by psadmin:

psadmin -env

Process Scheduler

Check the status of a process scheduler database (option 8):

psadmin -p status -d YOURDB

If you see a list of the servers great. If you see a message like TMADMIN_CAT:111: ERROR: No such command. it suggests the process scheduler is down.

Start (option 1), stop (Option 2), kill a process scheduler server (Option 9) and clean IPC resources (option 10) on a process scheduler database:

psadmin -p start -d YOURDB
psadmin -p stop -d YOURDB
psadmin -p kill -d YOURDB
psadmin -p cleanipc -d YOURDB

Application Server

Check the server status of the an application server domain (is it up or down):

psadmin -c sstatus -d YOURDOMAIN

If you see a list of the servers great. If you see a message like TMADMIN_CAT:111: ERROR: No such command. it suggests the domain is down.

Perform a boot (option 1), domain shutdown (option 2, 1), forced domain shutdown (option 2, 2), purge the cache without archiving and log some comments (option 8) and clean IPC resources (option 10) on the application server domain:

psadmin -c boot -d YOURDOMAIN
psadmin -c shutdown -d YOURDOMAIN
psadmin -c shutdown! -d YOURDOMAIN
psadmin -c purge -d YOURDOMAIN -noarch -log "Manual Cache Purge"
psadmin -c cleanipc -d YOURDOMAIN
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License