- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Running process in background
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
тАО10-24-2007 01:50 AM
тАО10-24-2007 01:50 AM
Running process in background
Points will be assigned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2007 05:18 AM
тАО10-24-2007 05:18 AM
Re: Running process in background
- put all required commands in shell script e.g. 'do_it'
- first line should be something like
#!/bin/bash
- chmod +x do_it
- ./do_it &
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2007 01:01 PM
тАО10-24-2007 01:01 PM
Re: Running process in background
Regards,
Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2007 08:11 AM
тАО11-14-2007 08:11 AM
Re: Running process in background
press
and then type bg, to put the job in the background.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2007 09:09 AM
тАО11-14-2007 09:09 AM
Re: Running process in background
Just type screen, in the new "screen" run your command then hit ctrl-a d to detach and go back to your original session. This screen will remain there with whatever command you ran. Just run screen -r to reattach to the screen.
I do this when I have large filesystems to fsck and I know it will be after hours when they finish. This way I can log out, take my laptop home and check later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2007 11:02 AM
тАО11-14-2007 11:02 AM
Re: Running process in background
command > /tmp/command.log 2>&1 &
That will log activity to /tmp/command.log and send the command to background.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2007 03:56 PM
тАО11-15-2007 03:56 PM
Re: Running process in background
if no then above replies would do...
if yes then use,
export ORACLE_SID=XXXX
sqlplus username/passwd@oracle query
Hope this help
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2007 03:47 PM
тАО11-18-2007 03:47 PM
Re: Running process in background
by giving '&' symbol u can run it in background. first check out weather that file has 'x' i.e. execution permission or not. if permission is not their give it.