Tag Archives: Kill

Kill all processes not root or daemon

for p in $(ps -ef|tail +2|grep -v root|grep -v daemon|awk '{print $2}'); do
  kill -1 ${p}

Drop in a KSH script and run anytime you want to send a kill -1 to all processes that are not owned by root or running under daemon.

Close Application VB6 Module

Simple module for your VB6 projects. This will gracefully close any application you specify.

Close Application VB6 Module

Kill Process VB6 Module

Simple module that adds function: killprocess(“name.exe”)

KillProc VB6 Module