pcmsessions
Use to check current user sessions.
Some programs or commands, such as the SDL Contenta administration program when run singleuser mode, do not execute successfully if users or sessions are attached to the database. Use this pcmsessions command to determine which users or what processes may be preventing you from connecting to the database in singleuser mode or when you want to modify or test software that may affect current users or processes.
To run this program successfully, it must be executed in an environment where all SDL Contenta and database variables are set. For Oracle UNIX systems, source $XYV_PDM_ROOT/bin/pdm.cshrc before issuing the command to create the required environment.
| OS | Command |
|---|---|
| UNIX | |
| Windows | |
- On Windows, Contenta_home is the top level directory where the SDL Contenta software is located.
- dbname@SID is the SDL Contenta database name with the Oracle SID
- dbname@ODBC_DSN is the SDL Contenta database name with the Microsoft ODBC DNS name for the database.
For example: pcmsessions -dbase apiguide@phor
- Session Id
- Parent Session
- Application (for example, shows if SDL Contenta Explorer or a content edit is running.)
- User
- Host (system name, where started)
- Type (of activity)
- Started (date and time)
Refer to the SDL Contenta System Administration User Guide for more detailed information about pcmsessions and its options (switches). For example, switches to clear current users or sessions.