Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: funny bug
- To: tlug@example.com
- Subject: Re: funny bug
- From: Fredric Fredricson <fredric.fredriksson@example.com>
- Date: Thu, 05 Apr 2001 21:35:34 +0200
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Organization: MYDATA automation AB
- References: <3AC3E57E.12514.001@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <ZhHVcC.A.qO.2eNz6@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: fredric@example.com
Viktor Pavlenko wrote: > > I want to share with you a bug in my shell script I discovered > yesterday. The script was in production for quite a while... > > In the shell script I test if a process is running: > > if [ `ps -ef | grep [pP]rog_name | wc -l` -ne 0 ] > Why not: if killall -0 prog_name ? /Fredric
- Follow-Ups:
- Re: funny bug
- From: Shimpei Yamashita <shimpei@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Linux mags in Japan
- Next by Date: Re: funny bug
- Prev by thread: MySQL
- Next by thread: Re: funny bug
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links