Stop the HP Systems Insight Manager daemons:
mxstop
Verify that the daemons are no longer running:
ps -ef | grep mx
If any of the HP Systems Insight Manager daemons are running, note their process IDs (PIDs) in the ps -ef output, and kill them:
kill -9 PID
where PID is the process ID of the daemon. For example, if the ps -ef | grep mx command displays a line that looks like:
root 18582 1 0 Jan 12 ? 00:13:18 /opt/mx/lbin/mxinventory
then the command to kill this daemon is:
kill -9 18582
(Optional) Back up the HP Systems Insight Manager database:
/opt/hpsmdb/pgsql/bin/pg_dump -f filename
where filename is the name of the backup file.
To restore HP SIM using the database, see the HP Systems Insight Manager 5.2 User Guide at http://h18013.www1.hp.com/products/servers/management/hpsim/infolibrary.html.
Remove the HP Systems Insight Manager software:
swremove -x enforce_dependencies=false HPSIM-HP-UX
Remove the directories installed by the HP SIM software:
rm -fr /opt/mx /etc/opt/mx