As usual, David gives excellent advice! Use kill -9 (or kill -KILL) as a last resort. SIGSUSP (^Z) is almost as bad.
mupip stop PID is designed for exactly this purpose. It is also equivalent to kill -15 (kill -TERM) which you can use. Note that with the mupip interrupt capability, you can set up a process to respond to an interrupt, and, for example, you can set up a process to break on interrupt, or to dump diagnostic information. It's very powerful. -- Bhaskar -----Original Message----- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Mon 11/29/2004 7:53 PM To: [EMAIL PROTECTED] Cc: Subject: Re: [Hardhats-members] How to abort runaway GTM programs Bhaskar will probably interject, but there is a command: mupip stop PID which will do what you want safely. (kill -9 is considered a last resort by most Unix folks) so to kill job 9392 you would use: mupip top 9392 to find the job (pid=process id) number you would use in mumps: D ^ZSY or in Linux: ps -C mumps or the command to find the high CPU users (in Linux) : top > > I can't run GT.M on my PowerBook, so I'm not speaking from experience > here, but the first thing I'd try is ctrl-Z (which sends SIGSTP to the > process) then type > > $ jobs > > to see if it comes up. Then, I'd try > > $ kill -9 job_number > > (The numeric value of SIGKILL, a signal that can neither be caught nor > ignored, is 9.) > > --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > > I have accidentally created an infinite loop program > > in GT.M. How do I abort it? > > > > I tried CTRL-C, but no luck. I was connecting to the > > server box via SSH, so I broke the connection, but > > when I reconnected, the program was still running. I > > could tell because I have an output log file that > > continued to grow. > > > > I tried to rundown the mumps.dat file, but got an > > error: "File is in use by another process." > > > > I know I can reboot the server, but is there a less > > drastic way of shutting down a desired GTM job? > > > > Thanks > > Kevin > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Helps protect you from nasty viruses. > > http://promotions.yahoo.com/new_mail > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real > > users. > > Discover which products truly live up to the hype. Start reading now. > > > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Hardhats-members mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > > > > ===== > A practical man is a man who practices the errors of his forefathers. > --Benjamin Disraeli > ==== > Greg Woodhouse > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Hardhats-members mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hardhats-members > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Hardhats-members mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hardhats-members *************************************************************************** This electronic mail transmission contains confidential and/or privileged information intended only for the person(s) named. Any use, distribution, copying or disclosure by another person is strictly prohibited. *************************************************************************** NOTE: Ce courriel est destine exclusivement au(x) destinataire(s) mentionne(s) ci-dessus et peut contenir de l'information privilegiee, confidentielle et/ou dispensee de divulgation aux termes des lois applicables. Si vous avez recu ce message par erreur, ou s'il ne vous est pas destine, veuillez le mentionner immediatement a l'expediteur et effacer ce courriel.
<<winmail.dat>>