LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2005, 10:21 AM   #1
rapture_1
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
PID Kill Script or command ? Webmin


Hello, I am trying to find a way to script a command that would kill a specific PID that can be ran in Webmin.

I am running a game server on Fedora Core 4 where other users that have access to Webmin. I am trying to provide a script or command that will locate a PID ran by a specific UID and kill that particular process. THe problem I have found is that when I start the process the PID always changes so somehow I need to kill based on UID or process name.

I basically run the process in a screen with a specific user. I am not sure what other information is needed for people to help me but I hope someone can provide some feedback.
 
Old 11-02-2005, 11:11 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
Try 'pkill'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kill <pid> does not do anything moskito01 Linux - General 9 08-25-2009 12:20 PM
script/command to kill processes running on particular port varunbihani Linux - General 2 07-08-2005 03:35 AM
Getting PID from a system command in Linux perl script sumbabs Linux - General 1 03-03-2005 10:38 AM
when kill -9 PID wont work bleunuit Linux - Software 2 08-06-2004 11:46 AM
small bash script to kill a PID flosch Linux - General 3 05-06-2004 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration