|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 launched.
Process2 will be invoked as follows: process2 -dir "DirPath". In this DirPath process1 has written a file which has information like "pid of process1", "hostname of process 1" and "log file of process1". So process2 can access this file and has all the information about process1. Now process2 wants to know if process1 is currently running or not and if it is running then it needs to stream data written by process1 in logfile to the terminal from which process2 is launched. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Are the file systems shared (clustered or nfs mounts) across machines?
In other words how do you expect to have a process on machine a see the files open on another, say machine b? |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Yes, file system is shared through NFS
|
| Sponsored Links | ||
|
![]() |
| Tags |
| c++ in unix; process management |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need to check if the process is running | shifahim | Shell Programming and Scripting | 8 | 08-18-2011 10:17 PM |
| How to check if process is running? | ladyAnne | UNIX and Linux Applications | 5 | 05-01-2010 01:20 AM |
| Check if Process is running | Raynon | Shell Programming and Scripting | 3 | 01-08-2010 02:03 AM |
| check process running | rose1207 | Shell Programming and Scripting | 4 | 12-28-2007 12:23 AM |
| leave a process running in a remote machine | pbasil | UNIX for Dummies Questions & Answers | 3 | 03-15-2006 09:04 AM |
|
|