12-04-2002
man ps
if you use the command 'ps aux' to list all running processes you can find the PID of the running program that you wish to kill. once you find that number, issue the command, 'kill 1234' where 1234 represents the PID of the running proccess that you wish to kill. with ps you can also find the command used to start that program, then go to that directory and see if it is the directory of the program, from there you can delete what you want. see the man pages for 'ps' for more info on finding what proccess is what and where it came from, also whos running it, etc etc.
10 More Discussions You Might Find Interesting
1. Solaris
As the title. Thanks (1 Reply)
Discussion started by: eddsos
1 Replies
2. Shell Programming and Scripting
Hi ,
I have a situation, where I have 10 indivudal processess started by similar instance.I say similar instance because each of them being started as a new thread:
Say I've following unix process running
process1_ADAP
process2_ADAP
process3_ADAP
Current scenario:
Now I have SHUTDOWN... (5 Replies)
Discussion started by: braindrain
5 Replies
3. Solaris
Hi,
I am working with a company where some times i need to start/stop cron jobs on need basis.
I have one option to kill cron daemon.Is it right?
Please correct me.
Waiting for your reply.
Thanks in advance.. (2 Replies)
Discussion started by: varaprasadu
2 Replies
4. HP-UX
Hi,
we have some websites in ux servers and need to stop those websites i.e when users try to acess those websites they should not able to see those websites.
we have to ideas one is .htaccess. from this we can redirect to existing 404page. and not sure if we rediredt to non- exixting page in... (1 Reply)
Discussion started by: kishan
1 Replies
5. UNIX for Dummies Questions & Answers
how to kill all the "netsacpe" processes of a particular user? (1 Reply)
Discussion started by: karthi_g
1 Replies
6. Shell Programming and Scripting
Hi,
I am new to shell scripting and want to create a script with the follwoing description:
I want to restrict the users from giving a kill command on a unix server. The server have a restricted logins with login id and passwords. I want a script that will find out if a user has given a... (9 Replies)
Discussion started by: shell_scripting
9 Replies
7. Web Development
Hello All,
I would like to find/check the Netscape webserver version installed in my solaris unix box. Where to check the info and how i will do that .
I know that Netscape webserver is installed and running but not sure which version
Any idea ? (2 Replies)
Discussion started by: jambesh
2 Replies
8. Web Development
Does anybody have any use for Netscape Enterprise Server Version 2.0.1 for Unix? I found a shrink wrapped box of this server in a seldom used closet. I know it's old. (0 Replies)
Discussion started by: sailnav24
0 Replies
9. UNIX and Linux Applications
Good afternoon
I need your help please.
There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration
Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ?
Is it mandatory or not to stop/start apache and Tomcat?... (3 Replies)
Discussion started by: alexcol
3 Replies
10. Shell Programming and Scripting
Hi,
I need to create a shell script for automated server patching, with the following scenario:
I have two Linux servers Primary and secondary.
Server patching should start on Primary 1st and then secondary.
1st check both servers are up and running.
Then stop primary and patching will... (1 Reply)
Discussion started by: rcroyal88
1 Replies
KILL(1) User Commands KILL(1)
NAME
kill - send signals to processes, or list signals
SYNOPSIS
kill [-s SIGNAL | -SIGNAL] PID...
kill -l [SIGNAL]...
kill -t [SIGNAL]...
DESCRIPTION
Send signals to processes, or list signals.
Mandatory arguments to long options are mandatory for short options too.
-s, --signal=SIGNAL, -SIGNAL
specify the name or number of the signal to be sent
-l, --list
list signal names, or convert signal names to/from numbers
-t, --table
print a table of signal information
--help display this help and exit
--version
output version information and exit
SIGNAL may be a signal name like `HUP', or a signal number like `1', or the exit status of a process terminated by a signal. PID is an
integer; if negative it identifies a process group.
NOTE: your shell may have its own version of kill, which usually supersedes the version described here. Please refer to your shell's docu-
mentation for details about the options it supports.
AUTHOR
Written by Paul Eggert.
REPORTING BUGS
Report kill bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
COPYRIGHT
Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
kill(2)
The full documentation for kill is maintained as a Texinfo manual. If the info and kill programs are properly installed at your site, the
command
info coreutils 'kill invocation'
should give you access to the complete manual.
GNU coreutils 7.1 July 2010 KILL(1)