Jump to content


Photo

Help with executing commands


  • Please log in to reply
1 reply to this topic

#1 craygo

craygo
  • Staff Alumni
  • Advanced Member
  • 1,973 posts
  • LocationRhode Island

Posted 14 February 2006 - 02:16 PM

I have a site i want to run commands on and return the result for later use. I will give and example:

i have a process running

app | PID | user
srcds.exe 2514 johnblack

i have the username for each process i need to deal with, and that user is only running the one process. This what I need to do.

1. Search the username and see if the process is running and get something to say it is.
2. Get the pid of that process.
3. Be able to shut that process down.

thanks

Ray

#2 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 14 February 2006 - 09:21 PM

Better suited for the Windows IIS forum.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users