Exforsys

Online Training

Suspending a Process

This is a discussion on Suspending a Process within the Linux forums, part of the Operating Systems category; I know that it possible to suspend a process or application running in foreground. One way of doing this is ...


Go Back   Exforsys > Operating Systems > Linux

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-26-2007, 10:56 PM
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
Exclamation Suspending a Process

I know that it possible to suspend a process or application running in foreground. One way of doing this is by giving the below command in UNIX operating system.
$stty susp ^Z <CR>

But I am confused about whether it is possible to interrupt the process running in the background. Also I want to know if I give the above command for suspending the application in foreground from where my application will start running again. Kindly brief me on this process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-28-2007, 03:33 AM
Senior Member
 
Join Date: Apr 2006
Posts: 125
ashlee is on a distinguished road
It is not possible to interrupt the process running in the background.
In the command you have given namely:
$stty susp ^Z <CR>

What you have done is you have mapped ^Z to indicate that foreground process is to be interuppted. That is in other words when you press ^Z your current foreground process will be temporarily suspended and the job will be restarted from where it left off by using the job number of this process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Want to Kill the Process Ralph Shell Programming 1 05-19-2007 04:36 PM
Guidelines for Process Rahulbatra SQL Server 1 05-16-2007 04:38 PM
HP, Blr for Process Associate - B.Com. or B.Sc. or BBM- 2002,2003,2004 and 2005 Batch techguru Freshers Jobs 0 07-22-2005 05:05 PM
Comp.software-eng FAQ (Part 0): periodic postings and archives David Alex Lamb Tech FAQ 2 05-23-2004 06:15 AM
Comp.software-eng FAQ (Part 0): periodic postings and archives David Alex Lamb Tech FAQ 3 04-18-2004 06:15 AM


All times are GMT -4. The time now is 02:20 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.