[ejabberd] command line args on freebsd vs. linux

Jan Koum jan.koum at gmail.com
Sat Sep 26 09:12:20 MSD 2009


hi there,

on linux (where i used linux binary installer), when i ran ejabberd, i saw
the full argv and argc command line args:

$ uname -rv
2.4.21-27.0.4.EL #1 Sat Apr 16 19:00:33 EDT 2005

$ ps aux | grep beam | grep -v grep
root      5257  5.3 11.0 239784 227012 ?     R    Sep23 148:57
/home/jkoum/ejabberd-2.1.0_beta1/bin/beam -K false -P 250000 -- -root
/home/jkoum/ejabberd-2.1.0_beta1 -progname
/home/jkoum/ejabberd-2.1.0_beta1/bin/erl -- -home /home/jkoum -sname
ejabberd at localhost -smp auto -setcookie EXCJEBSAESRFXKWHTXFK -noshell -noin

on freebsd, i compiled ejabberd from source with the following options:

./configure --prefix=/usr/local/ejabberd --disable-mssql --disable-mod_irc
--enable-mod_muc --disable-mod_proxy65 --disable-mod_pubsub --disable-eldap
--disable-odbc --disable-web --disable-ejabberd_zlib --disable-pam

but for some reason i don't see any command line args anymore when running
ejabberd on bsd:

$ uname -rv
7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed Sep 23 03:12:18 CDT 2009
root at im101:/usr/obj/usr/src/sys/im101

$ ps aux | grep beam | grep -v grep
root       654  0.0  2.4 241064 200640  ??  I    Thu01PM   0:15.28 [beam]

is this expected behavior?  i kind of miss how it was on my linux box:)

-- yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20090925/eee129b3/attachment.html>


More information about the ejabberd mailing list