- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to set a ruuning process to run in the bac...
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
Discussions
Discussions
Forums
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
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
тАО08-05-2006 03:40 PM
тАО08-05-2006 03:40 PM
How to set a ruuning process to run in the background
I want to run a process in the background which had already been started before. Since the process may take a long time to be completed so I want to let the process run in the background and want to leave office closing my laptop. Can anyone help me providing the commands that I need to apply in this situation?
Rgds,
Mostafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2006 04:38 PM
тАО08-05-2006 04:38 PM
Re: How to set a ruuning process to run in the background
man stty and man sh-posix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2006 04:52 PM
тАО08-05-2006 04:52 PM
Re: How to set a ruuning process to run in the background
It is rp7420 ux 11.11 running oracle 9i. What I want to do is to send a running process in the background.
Rgds,
Mostafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2006 05:15 PM
тАО08-05-2006 05:15 PM
Re: How to set a ruuning process to run in the background
then push that job into back ground using following command
bg "job_number" (while suspending, it will give you job number)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2006 09:48 PM
тАО08-05-2006 09:48 PM
Re: How to set a ruuning process to run in the background
You can it by two ways one is mentioned above and another is `nohup` command.
Cheers
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2006 12:40 PM
тАО08-06-2006 12:40 PM
Re: How to set a ruuning process to run in the background
nohup some_process optional_params &
Note that & places the process into the background, and nohup protects the process so it isn't killed when your shell logs out.
Note that the nohup ... & construct is what you will need to do. There is no way to protect an alfreaqdy running process from your shell's exit. You can test all this with the sleep command:
sleep 999 &
Now exit (you'll have to type exit twice) then see if sleep is still running (it won't be). Now protect it:
nohup sleep 999 &
and now you can exit and sleep will still be running.
Bill Hassell, sysadmin