![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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?
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |