[Asterisk-Users] asterisk showing more than once on ps

Mark Charlton mcwebtree at gmail.com
Fri Jul 1 17:18:16 MST 2005


On 7/2/05, Anton Krall <akrall-lists at intruder.com.mx> wrote:
> Guys.
> 
> Anybody know why sometimes on some servers Asterisk shows more than once
> while doing a ps?
> 
> [root at server2 akrall]# ps -ax|grep asterisk
> 20555 ?        S      0:00 /bin/sh /usr/sbin/safe_asterisk
> 20557 ?        S      0:00 asterisk -vvvg -c
> 20558 ?        S      0:00 asterisk -vvvg -c
> 20560 ?        S      0:00 asterisk -vvvg -c
> 20561 ?        S      0:00 asterisk -vvvg -c
> 20562 ?        S      0:00 asterisk -vvvg -c
> 20564 ?        S      0:00 asterisk -vvvg -c
> 20565 ?        S      0:00 asterisk -vvvg -c
> 20566 ?        S      0:02 asterisk -vvvg -c
> 20567 ?        S      0:00 asterisk -vvvg -c
> 21958 ?        S      0:00 asterisk -vvvg -c
> 30470 pts/2    S      0:00 grep asterisk
> 
> Im running asterisk via the start/stop script on init.d
> 
> On my other servers, it only shows once...
> 
> 
I would guess its the use of the -c flag to run it
 
From: http://www.voip-info.org/tiki-index.php?page=Asterisk+options
# asterisk -vvvvvvc:Start Asterisk PBX, don't go background

have you been monitoring it from the command line. 
I use -rvvvv to get the background version.

Just a guess.
Mark



More information about the asterisk-users mailing list