Program Terminator

The Terminator is a small program where you can specify a list of modules (either by path - or by name) that you want to terminate - no matter what...

Sometimes during development of large program systems - especially now in these COM/DCOM days - you need a simple way of shutting down all your running servers or program in order to start all over again. Going to task-list and terminating the processes there is sometimes inconvenient if not impossible at all.

This is where Terminator comes in the game...

You specify a list of modules you want to terminate with the Terminator User Interface. You can even save this list in a file (extension *.rip) !

Now, to kill all these specified modules either open your *.rip file in Terminator (or just double-click the file) and execute the termination. Alternatively you can call Terminator with a short-cut or via command-line: Terminator.exe /Automation <YourFile>.rip

As Terminator.exe needs microsofts PSAPI.DLL you need to make sure the dll is somewhere along your path (best is to put it in system32 right away). To build Terminator.exe you need to link to PSAPI.LIB; there is also a PSAPI.H header. So make sure .lib and .h are visible to your compiler/linker.

Enjoy beeing a Terminator!

Download source - 84KB

Date Posted: 07/05/98



Comments

  • programming terminator

    Posted by engineer malik naveed on 11/16/2012 09:49am

    too easy diffination to solve exam question an satifing cocept

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Rocket Mobile® for IBM i is an enterprise mobile application development and deployment platform for customers who rely on the IBM i system. Rocket Mobile for IBM i enables customers to leave proven applications in-place and rapidly repurpose them into new managed and secure mobile applications. Fast, easy creation of mobile, web, and hybrid mobile applications that deploy to any iOS, Android, or Windows mobile phone or tablet Built-in integration for seamless repurposing of existing IBM i applications …

  • Complex hybrid environments can make it difficult to track interdependencies, increasing the risk of disrupting critical business services. In this white paper by EMA, you'll learn how application discovery and dependency mapping can help you: Meet granular targets for availability, cost, and time-to-revenue for cloud services. Accelerate mean time to repair (MTTR) while communicating better with stakeholders. Manage even the most complex hybrid environments more efficiently and effectively Understand the …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date