- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "kill" command .
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 04:47 PM
11-12-2001 04:47 PM
"kill" command .
TKS!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 04:50 PM
11-12-2001 04:50 PM
Re: "kill" command .
kill pid, allows the process (if written correctly) to die gracefully.
kill -9 pid is like killing a fly with a daisy cutter (that 15,000 pound bomb). It can cause database corruption and other issues. Should only be a last resort!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 04:58 PM
11-12-2001 04:58 PM
Re: "kill" command .
The main difference is killing the pid
gracefully and hopefully the process
cleans itself up and closes files. Using
the kill -9 option is hitting the process
with a sledge hammer. In other words don't
use it unless you have to. On a lot of
occassions using -9 does not clean up.
If you want to kill a process try this order:
# kill pid
# kill -5 pid
# kill -9
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:01 PM
11-12-2001 05:01 PM
Re: "kill" command .
process irrespective of what
it is doing.
Whereas the other kill is a graceful kill .
use kill -9, only when the
other kill does not work and you really want to kill.
Ooph, too many kill''s here.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 06:28 PM
11-12-2001 06:28 PM
Re: "kill" command .
However, if a process ignores the kill signal then nothing happens with kill -15. Other kill signals are kill -1 (or SIGHUP) which is sent automatically when a disconnect (hang up as in a modem) occurs, kill -2 (or SIGQUIT) which causes a process to core dump, and so on.
In fact, signals can be detected and the process can continue on...it is just a signal. An example is kill -SIGKILL $(cat /var/run/syslog.pid) which causes syslogd to reread it's config file. named uses several kill signals including SIGUSR1 and SIGUSR2.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 06:47 PM
11-12-2001 06:47 PM
Re: "kill" command .
Take a look at the thread below,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=d0bdf4ff1b193026a0/screen=ckiDisplayDocument?docId=200000006354750
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 07:18 PM
11-12-2001 07:18 PM
Re: "kill" command .
Darrell