there is a "killall <name>" command on my system (in this case probably "killall halcmd"). I think that is a standard linux command. Other than that I do something like:
ps -aux | grep hal and then running: kill -9 <processnum> You can also run "top" and look for the offending processes and kill them b typing 'k' and then the process number. Hope that helps. EBo -- On May 1 2015 12:52 AM, Marius Liebenberg wrote: > I'm not at a linux box at the moment. But I believe halcmd has >>a command line option that shuts down the realtime system, for >>cases like this (for example if something crashes and leaves >>kernel modules installed, etc). >> >>Check the halcmd man page. I think the option might be -r >> > Very intersting for me. I could not kill the programs in any way but > what happened is this. > Halrun was already running with two processes that could not be > killed. > One of which was halcmd. At the normal prompt, I ran halcmd again > with > the same process that was stuck. Both the stuck process are still > there > and the new process got loaded. I dont know if that is good or bad > but > at least I can continue to test. > I dont know however if the resources like the ttyS1 is held by the > stuck > process. > >> >>On Thu, Apr 30, 2015, at 01:22 PM, Marius Liebenberg wrote: >>> I am using halrun to to test my version of gs2_vfd. If I break out >>> of >>> the code with crtlZ it leaves halrun still loaded but I am not in >>> the >>> halrun shell anymore. >>> I can see the halrun pid and my code pid but I cannot seem to kill >>>them >>> in any way. >>> I use sudo kill 9 pid. >>> Is there a better way to kill halrun without rebooting all the >>> time? >>> >>> >>> >>> >>> ----------------------------- >>> Regards / Groete >>> >>> Marius D. Liebenberg >>> +27 82 698 3251 >>> +27 12 746 6064 >>> >>>------------------------------------------------------------------------------ >>> One dashboard for servers and applications across >>>Physical-Virtual-Cloud >>> Widest out-of-the-box monitoring support with 50+ applications >>> Performance metrics, stats and reports that give you Actionable >>>Insights >>> Deep dive visibility with transaction tracing using APM Insight. >>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >>> _______________________________________________ >>> Emc-developers mailing list >>> Emc-developers@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-developers >> >> >>-- >> John Kasunich >> jmkasun...@fastmail.fm >> >>------------------------------------------------------------------------------ >>One dashboard for servers and applications across >>Physical-Virtual-Cloud >>Widest out-of-the-box monitoring support with 50+ applications >>Performance metrics, stats and reports that give you Actionable >>Insights >>Deep dive visibility with transaction tracing using APM Insight. >>http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >>_______________________________________________ >>Emc-developers mailing list >>Emc-developers@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across > Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable > Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers