The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
script to monitor process running on server and posting a mail if any process is dead pradeepmacha Shell Programming and Scripting 12 10-17-2008 12:08 AM
UID & GID of the running process ankurjain UNIX for Dummies Questions & Answers 2 01-09-2008 07:33 AM
How to create a dummy process of a process already running? shambhu UNIX for Advanced & Expert Users 3 08-31-2007 07:22 AM
running process in background kingdbag UNIX for Dummies Questions & Answers 3 11-10-2006 09:34 AM
Top running process caprikar UNIX for Advanced & Expert Users 1 02-17-2004 07:14 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-13-2002
Registered User
 

Join Date: Apr 2002
Posts: 53
Running Process

If I try to manipulate(either delete or overwrite) the executable(binary file) of a process, which is currently running, what are the possible side-effects that I will have?
Reply With Quote
Forum Sponsor
  #2  
Old 05-13-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,663
On a local filesystem you will get a "text file busy" error message and you won't be able to do it. If the execable is running on an nfs client and some other box modifies the executable, the process will abort.
Reply With Quote
  #3  
Old 05-15-2002
mbb mbb is offline
Registered User
 

Join Date: Aug 2001
Location: UK
Posts: 103
HP-UX and probably other versions of Unix will allow you to rename a running executable using the mv command.

Useful if you want to make an update for an executable pending until it is stopped/restarted.
__________________
Senior Analyst/Programmer
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0