Sponsored Content
Top Forums UNIX for Advanced & Expert Users Copy files without affecting the running process Post 302886771 by Corona688 on Monday 3rd of February 2014 01:21:46 PM
Old 02-03-2014
Quote:
Originally Posted by ThobiasVakayil
Hi Experts,

I would like to know in Linux any command which will replace a file without affecting the running process.
Files do not work that way... If they "affect the running process", they do so because the process is reading them. If they are reading them, how could they not be effected?

So your question is vague and doesn't make a lot of sense to me on the face of it. Could you explain your actual goal please?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to create a dummy process of a process already running?

Hi Everybody, I want to create a shell script named as say "jip" and it is runned. And i want that when i do ps + grep for the process than this jip should be shown as process. Infact there might be process with name jip which is already running. (3 Replies)
Discussion started by: shambhu
3 Replies

2. Shell Programming and Scripting

script to monitor process running on server and posting a mail if any process is dead

Hello all, I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted. Thanks in advance Regards, pradeep kulkarni. :mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies

3. UNIX for Dummies Questions & Answers

Running different process from current process?

I have been having some trouble trying to get some code working, so I was wondering...what system calls are required to execute a different program from an already running process? (1 Reply)
Discussion started by: Midwest Product
1 Replies

4. Shell Programming and Scripting

not del a file not affecting other permissions

i was faced by a question from a friend. i found it very tricky. all my months of learning unix i never can figure it out still. heres the question he faced me with. wondering if you all can help me figure a solution. ill let him know the forums helped me out :D What command would you use... (10 Replies)
Discussion started by: sunny231
10 Replies

5. UNIX for Dummies Questions & Answers

How a process can check if a particular process is running on different machine?

I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Discussion started by: saurabhnsit2001
2 Replies

6. Shell Programming and Scripting

Perl cisco copy running to startup

Hi all, i have a small simple perl that i cant make it work it is really stupid but i cant find solution and i needed fast. im trying to copy running to startup on a cisco router and show me the output like is ok Destination filename ? Building configuration... so the code i have is ... (0 Replies)
Discussion started by: IvanMP
0 Replies

7. BSD

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies

8. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies

9. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies

10. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
ORTE_FILEM(7)							     Open MPI							     ORTE_FILEM(7)

NAME
ORTE_FILEM - Open RTE MCA File Management (FileM) Framework: Overview of Open RTE's FileM framework, and selected modules. Open MPI 1.4.5 DESCRIPTION
FileM is a utility framework used by OpenRTE for a variety of purposes, including the transport of checkpoint files, preloading user bina- ries, and preloading of user files. AVAILABLE COMPONENTS
Open RTE currently ships with one FileM component: rsh. The following MCA parameters apply to all components: filem_base_verbose Set the verbosity level for all components. Default is 0, or silent except on error. rsh FileM Component The rsh component uses rcp or scp to do its file transfers. This component requires the use of passwordless rsh or ssh between all nodes. The rsh component has the following MCA parameters: filem_rsh_priority The component's priority to use when selecting the most appropriate component for a run. filem_rsh_verbose Set the verbosity level for this component. Default is 0, or silent except on error. filem_rsh_rcp The program to use to copy files. Generally will be rcp or scp. filem_rsh_rsh The program used to remotely log into a given machine and remove files. Generally will be rsh or ssh. none FileM Component The none component simply selects no FileM component. All of the FileM function calls return immediately with ORTE_SUCCESS. This component is the last component to be selected by default. This means that if another component is available, and the none component was not explicity requested then ORTE will attempt to activate all of the available components before falling back to this component. SEE ALSO
orte-checkpoint(1), orte-restart(1), opal-checkpoint(1), opal-restart(1), orte_snapc(7), opal_crs(7) 1.4.5 Feb 10, 2012 ORTE_FILEM(7)
All times are GMT -4. The time now is 10:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy