See output of Perl script

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

See output of Perl script

m.huijgen
Hi,

I'd like to see the output of assp.pl but when I run it interactively (in
my case perl /usr/share/assp/assp.pl) it automatically forks to the
background. That is fine for production but I would like to see any
regular errors and output it generates. In particular I'm looking for
messages relating to database (MySQL, BerkeleyDB, plain text file)
configuration errors.

Is there a command line switch that prevents it from daemonizing? Or
should I just set SysLogFac to mail and watch my /var/log/mail.log?

Thanks!

Martin
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Assp-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-user
Reply | Threaded
Open this post in threaded view
|

Re: See output of Perl script

Peter Hinman
To prevent assp.pl from forking to a daemon process on startup, either
open the assp.cfg and change the AsADaemon value to 0, or open the web
config gui and expand the "Server Setup" section, and change "Run ASSP
as a Daemon" to "No".

Kill assp and restart it and it should run in the foreground.

Peter

On 7/21/2016 1:32 AM, [hidden email] wrote:

> Hi,
>
> I'd like to see the output of assp.pl but when I run it interactively (in
> my case perl /usr/share/assp/assp.pl) it automatically forks to the
> background. That is fine for production but I would like to see any
> regular errors and output it generates. In particular I'm looking for
> messages relating to database (MySQL, BerkeleyDB, plain text file)
> configuration errors.
>
> Is there a command line switch that prevents it from daemonizing? Or
> should I just set SysLogFac to mail and watch my /var/log/mail.log?
>
> Thanks!
>
> Martin
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
>
>
> _______________________________________________
> Assp-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/assp-user

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Assp-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-user