- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Doing Ctrl+C while a process is coming up
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
03-19-2009 12:22 PM
03-19-2009 12:22 PM
We start a process and it is coming up.
If we do ctrl+c then, will it do any harm ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 12:29 PM
03-19-2009 12:29 PM
Re: Doing Ctrl+C while a process is coming up
If the process was initiated from the terminal at which you are issuing the CTL_C and the process has not trapped (caught) the signal (INT or signal-2) then the default action is to kill (interrupt) the process.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 01:47 PM
03-19-2009 01:47 PM
Re: Doing Ctrl+C while a process is coming up
So was curious whether my action of ctrl+c would do any harm ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 02:28 PM
03-19-2009 02:28 PM
Solution> So was curious whether my action of ctrl+c would do any harm ?
As I said, by default the CTRL+C sends a SIGINT (INT signal) to the process associated with the terminal where the keys are pressed.
Whether or not the process has chosen to IGNORE the signal or otherwise trap it and perform a specific action (e.g. cleanup temporary files and exit) is entirely up to how the process has been coded.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 06:53 PM
03-19-2009 06:53 PM
Re: Doing Ctrl+C while a process is coming up
You may want to use control-Z to suspend the program?
Once I either killed or suspended a browser when it was coming up and it hung my workstation. I suppose I could have used rlogin and cleaned things up.