03-30-2009
Except I have to use the kill command. One of those pesky requirements.
EDIT: Sorry I didn't see your explanation at first. Thanks a bunch that was giving me a somewhat hard time. I'm fairly new to unix in general and really do not spend that much time with it.
Last edited by mauler123; 03-31-2009 at 12:22 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages.
How can i terminate this daemon ? ? ?
Regards,
Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies
2. Shell Programming and Scripting
Hi All,
In my project i have two process runs in the back end.
Once i start my project, and execute the command ps, i get below output:
PID TTY TIME CMD
9086 pts/1 0:00 ksh
9241 pts/1 0:02 java
9240 pts/1 0:00 shell_script_bg
java with 9241 PID is the main... (4 Replies)
Discussion started by: rkrgarlapati
4 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone
I am using HP Ux and had run a find command. Now I am trying to kill it with kill or kill -9 but it is not getting killed and still running. Any clues ?
Thanks
Sidhu (5 Replies)
Discussion started by: Amardeep
5 Replies
4. Programming
Hi all
i have simple c program , when i wish to kill the app
im using kill(0,-9) , but it seams this command don't do any thing and the program.
just ignore it .
what im doing wrong here ?
im using HP-UX ia64
Thanks (9 Replies)
Discussion started by: umen
9 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have a process with say pid x. What is the difference b/n
kill x and kill -9 x in unix
Thanks
Ammu (2 Replies)
Discussion started by: ammu
2 Replies
6. Shell Programming and Scripting
Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies
7. Linux
I want to Kill a process without using kill command as i don't have privileges to kill the process. I know the pid and i am using Linux 2.6.9 OS. (6 Replies)
Discussion started by: sudhamacs
6 Replies
8. UNIX for Dummies Questions & Answers
i want know the the diffrence between kill and kill -9 (3 Replies)
Discussion started by: rupesh.bombale
3 Replies
9. Solaris
Hello everyone,
I have a process that I want to kill. I have tried kill-9 PID but it doesn't work. I have tried preap PID but it doesn't work too.
The parent of my process is the process whose PID is 1, so I can't kill it.
My OS is a Solaris 9.
Can anyone help me understand what's going... (3 Replies)
Discussion started by: adilyos
3 Replies
10. Shell Programming and Scripting
Good afternoon
I need to KILL a process in a single command sentence, for example:
kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'`
That sentence Kills the process ID corresponding to the program CAL255.4ge.
However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 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)