| 46 | == Stopping CAE |
| 47 | You might want to stop CAE for one of the following reasons: |
| 48 | * To start it by hand with active console logging and debug any unwanted behaviour CAE has shown in unattended mode. |
| 49 | * To run CAE in the debugger on a development system. |
| 50 | |
| 51 | In both cases, you must stop the supervised CAE on the server to avoid interference with your second instance of the program. |
| 52 | |
| 53 | Stopping CAE works similarly as restarting CAE. Using the {{{kill}}} command on the CAE process stopped it and caused {{{supervise}}} to restart it. To stop CAE, therefore, first {{{supervise}}} must be stopped. |
| 54 | |
| 55 | Use the following commands to retrieve the process ids for {{{supervise}}} and CAE. Then use the following commands: |
| 56 | {{{ |
| 57 | ps aux | grep supervise |
| 58 | kill <supervise process id> |
| 59 | ps aux | grep mono |
| 60 | kill <mono process id> |
| 61 | }}} |