![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple instances of a job. | Gangegowda | Shell Programming and Scripting | 1 | 10-16-2008 05:22 AM |
| multiple instances of same vg on same AIX machine | navadeep | AIX | 1 | 07-25-2008 02:58 AM |
| detecting multiple instances | ragha81 | Shell Programming and Scripting | 3 | 04-06-2007 11:09 AM |
| Multiple file instances | gozer13 | UNIX for Dummies Questions & Answers | 1 | 12-29-2004 07:08 PM |
| multiple instances of syslogd - is it possible? | Gary Dunn | UNIX for Advanced & Expert Users | 9 | 07-20-2004 10:10 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Checking for multiple instances of a process
Hi
I have a scenario where i need to check multiple instances of a running shell script (abc.sh) . How can I find from inside a running shell script whether any other instance of the same script is running or not? If any other instance of same shell script is running I need to exit from the current script. I am using /usr/bin/ps -eaf | grep abc to check whether the script "abc" is running or not. Thanks in advance Raghu |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|