Clan x86

Technical (Development, Security, etc.) => General Programming => Topic started by: Ryan Marcus on December 18, 2005, 01:39:05 PM

Title: Killall for PC
Post by: Ryan Marcus on December 18, 2005, 01:39:05 PM
Is there an equivalent for the "killall" command on UNIX for the PC?
Title: Re: Killall for PC
Post by: iago on December 18, 2005, 02:06:01 PM
Unix/Linux runs on a PC (Personal Computer). 

If you mean Windows, no. 
Title: Re: Killall for PC
Post by: Joe on December 18, 2005, 02:41:25 PM
QuoteUnix/Linux runs on a PC (Personal Computer).
I was going to say that. =p


Hm, I think that through some API you can get a process list (Task Manager does it, obviously), and then you can sort through the list, and kill stuff. Good luck. =)

EDIT -
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=54119&lngWId=1
That shows you how to list processes and stuff. All thats left is killing them, now.
Title: Re: Killall for PC
Post by: iago on December 18, 2005, 03:22:27 PM
Check out www.sysinternals.net -- if anybody has a program that could do it, they do.
Title: Re: Killall for PC
Post by: Blaze on December 18, 2005, 04:22:09 PM
I F***in love the Process Explorer (http://www.sysinternals.com/Utilities/ProcessExplorer.html) they have, and its set as my default task manager.

Edit:

If you all are wondering, its very customizable, and I find this works very well:

http://batserver.x86labs.org/proc.PNG
Title: Re: Killall for PC
Post by: Newby on December 19, 2005, 01:29:48 PM
Process Explorer > *
Title: Re: Killall for PC
Post by: iago on December 19, 2005, 02:46:41 PM
Since everybody else seen to be saying good things about it, it's my turn. 

It's a great program, but I don't recommend replacing taskmgr with it.  In times when I critically need taskmgr (usually when I'm running 100000000 programs at once to see what'll happen), Process Explorer craps out.  Taskmgr, on the other hand, actually manages to start against the odds. 

That's about the only problem I have :)
Title: Re: Killall for PC
Post by: Ergot on December 19, 2005, 03:40:29 PM
I don't trust your opinion since you only use Windows once in a blue moon :D