|
-
 Originally Posted by Akendo
Sure KenJackson, that is a "way" of doing it. But that's confusing, what system do you running on?
The first one was the old way on Fedora (and I think Red Hat and CentOS, and probably PCLinuxOS and others), and it still works.
The second one is the new way on those same systems, and probably on more.
The third one is Arch (at least it should be right--I don't actually run an apache server on Arch).
The point is that there is a more correct way to shutdown a server. Killing is always a last resort--even on a computer.
-
-
first ps,then kill /killall command
-
-
I think killing a process should be quite similar to how it is done on Windows. Whatever opens up your Task Manager should include Processes, in which you can easily disable a process if needed.
-
-
 Originally Posted by DarthVader3257
I think killing a process should be quite similar to how it is done on Windows. Whatever opens up your Task Manager should include Processes, in which you can easily disable a process if needed.
Not everything is running a gui. I know the two servers that I run at home don't even have a gui installed.
-
-
This really is the only thing that I have to post. It's old, but it totally relates to this!
Click Here
-
-
Check the process list first by issuing the following command:
Then look for the process identifier (PID) of the program you want to kill, then type:
That's what they taught me ever since and that's what I always use.
The -9 will ensure "execution" of your command.
Acronix | Coders Republic
"In my weakness, I find strength."
-
-
 Originally Posted by Acronix
Check the process list first by issuing the following command:
Then look for the process identifier (PID) of the program you want to kill, then type:
That's what they taught me ever since and that's what I always use.
The -9 will ensure "execution" of your command.
Very helpful. Thanks. I suppose this is the dos version of windows?
-
-
 Originally Posted by Godric
Very helpful. Thanks. I suppose this is the dos version of windows?
No, it's for Linux terminal. You're welcome.
Acronix | Coders Republic
"In my weakness, I find strength."
-
-
Step #1: First, you need to find out process PID (process id),Use ps command or pidof command to find out process ID (PID). Syntax ps aux | grep processname pidof processname. Step #2Above command tell you PID of lighttpd process. Now kill process using this PID.
-
-
I usually search for the process and it's PID before i attempt to kill or terminate it. Well i use grep to see if the process is running
Code:
ps aux | grep kloxo
then find it's process id
and kill it using
kill pid
-
Similar Threads
-
By News in forum Linux News
Replies: 0
Last Post: 02-14-2012, 08:16 AM
-
By rkoziol7 in forum Command Line
Replies: 0
Last Post: 02-10-2012, 04:11 PM
-
By Fred in forum Linux News
Replies: 0
Last Post: 12-30-2011, 03:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Check out Linux Central for Linux software and other goodies!
» Recent Threads
» Stats
Members: 3,573
Threads: 3,920
Posts: 9,442
Top Poster: Fred (1,486)
» Links
|
Bookmarks