- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How is the kill -4 command different from kill...
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
09-08-2006 03:54 AM
09-08-2006 03:54 AM
Somewhere down the line a rep told many of our clients to use the kill -4. I can tell them not to use this any longer but helps if I can provide an expanation better than "it's the same as using a kill -9" which HP told me yesterday. If it truly is, seems strange.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 03:59 AM
09-08-2006 03:59 AM
Solutionkill -9 says kill the process and its parent.
It is the most destructive and potentially dangerous kill command. Run as root, it can make a system unstable.
A normal kill is what you should use. I do not use kill -4 on a regular basis and recommend against it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:02 AM
09-08-2006 04:02 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
This is a disaster waiting to happen. I can't imagine supporting a system where ordinary users are given the root password. I would run from that. The root password needs to be changed and restricted immediately. Being able to issue a kill -9 on your own processes is bad enough; being able to do it to any process is Looney Tunes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:05 AM
09-08-2006 04:05 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
This is an incorrect statement. Kill -9 PID says send a SIGKILL (which can't be caught)to PID and nothing more. If the parent process happens to terminate that is a side effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:18 AM
09-08-2006 04:18 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
Yes, welcome to my world. I absolutely love my job and unable to disclose where I work. But...we have dozens (maybe hundreds?) of clients who don't understand the basic concepts of System Administration on HPUX. I want speak of security and proper administration of these servers out here but.....Many are migrating from MPE and are in the early stages of just trying to get things up and running on HPUX. Hopefully at some point each starts to gain more knowledgeable staff both on the managerial side and technical side of things.
You both are exceptional by the way and have enjoy reading some of your posts over the past 7 years or so. This might be my first post ever but can't recall for sure. Usually just surf around when needing to find something. Have a good day and appreciate guys like you out here helping all of us out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:23 AM
09-08-2006 04:23 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:33 AM
09-08-2006 04:33 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
It's difficult enough to prevent knowledgeable users from breaking a system; it's impossible to prevent ignorant (and I use that term in the strictest sense rather than stupid which can't be fixed) users from doing the same when they are given root access.
If there is ever a security audit, you guys are going to be hung out to dry --- and deservedly so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:52 AM
09-08-2006 04:52 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
Rest assured all "our" administration is strictly controlled. Just amazing to fly around the country and see what some of our clients are doing or NOT doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 05:00 AM
09-08-2006 05:00 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 02:09 PM
09-08-2006 02:09 PM
Re: How is the kill -4 command different from kill -9 on HPUX?
kill -9 in a database environment almost guarentees database corruption and loss of shared memory space in HP-UX. Unfortunately, far too many beginner Unix books and classes advocate terrible practices like kill -9 and chmod -R 777 to 'fix' problems.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 04:02 AM
09-11-2006 04:02 AM
Re: How is the kill -4 command different from kill -9 on HPUX?
It's kinda like purchasing a real nice Corvette and just driving it until it breaks down. While driving they ingore speed limits, often hit things and don't do any maintance. Most don't know how to put gas in it, change the oil, lift the hood, fix a flat tire...etc..etc..etc. Oh, and they never lock it up, leave the top down and keys are in the ignition.
I think that wraps up the world I support right now in terms of security and basic system administration for these HP9000 servers. (Over 140 clients in the banking industry) It's extremely chaotic at times, stressful and carrying beeper 24X7 will definitely burn me out at some point. Overall though, it's the best job I've had so far in IT in terms of gaining valuable experiences and knowledge. I do see improvements with our client base but still seems like we are climbing Mount Everest. I'm actually thinking of leaving now to go into Disaster Recovery for a local company. Haven't decided yet.
Thanks again guys, I'll be out here now and then. Your great, I'd hire you in a second if I was in that sort of position and admire how you help folks out here.