Re: Problem with startup time of mj_shell.

Jason L Tibbitts III <[email protected]>
Newsgroups gmane.mail.majordomo.majordomo2.devel
Message-ID <[email protected]>
>>>>> "SWO" == Steven W Orr <[email protected]> writes:

SWO> I use mj_shell all the time. Now for reasons I do not understand,
SWO> the startup time for mj_test is huge.

Odd.  On a positively ancient PPro 200 machine with 256MB of RAM and a
glacial 12GB disk, mj_shell starts in three seconds and I think it's
too slow.

So, have you at run mj_shell -D and looked at the times for
compilation and module loading?  (My now you must know that the first
thing anyone asks for is debug logs.)

SWO> When I run mj_shell I initialize it (via expect) to set default
SWO> user to myself. The machine I run on is called saturn. The
SWO> default user that mj_shell sets for itself (if I don't init using
SWO> expect) is [email protected] instead of steveo at syslang dot
SWO> net.

It just calls hostfqdn (from Net::Domain) and uses that as the domain
name.  You can read the source of that module to see what it does to
figure out your domain name.  This does the same thing mj_shell does:

perl -MNet::Domain -e 'print Net::Domain::hostfqdn(), "\n"'

 - J<
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.