How do I shut down Eclipse on my AIX server?

  • Stop VSIFAX:
vfxsched stop
  • Stop samba:
vi /etc/inetd.conf
  • Comment out netbios lines
refresh -s inetd
  • Kill existing sessions:
ps -ef|grep mbd|awk '{print $2}'|xargs -i kill {}
  • Stop APC PowerChute:
ps -ef|grep ups|awk '{print $2}'|xargs -i kill {}
  • Stop PostgreSQL:
su - postgres -c "/u2/pgsql/bin/pg_ctl stop -l logfile -D /u2/pgsql/data"
  • Stop SYSTEM.ADMIN, phantoms, JBoss:
/u2/eclipse/modules/bin/services.sh -k -d all
  • Stop UV processes:
cd /u2/uv
bin/uv
#ESC
MASTER OFF ALL
Q
  • Stop remaining phantoms, UV processes:
ps -ef|grep phantom|awk '{print $2}'|xargs -i kill -4 {}
who -u |grep -v root|awk '{print $7}'|xargs -i kill -4 {}
  • Stop UV:
uv.rc stop
  • If UV complains that there are open processes, check:
lsof /u2
ipcs -mop|grep 0xaceb
  • Kill each remaining process, as shown in the example below, and try to stop UniVerse again:
kill -4 12345