see switch_core.c Line 58
or
mod_commands.c Line 1402

On Thu, May 6, 2010 at 5:27 AM, Vitalii Colosov <vetali...@gmail.com> wrote:

> Hi,
>
> Is there is a way I can access the current CPU and / or RAM utilization
> counters from my module "mod_any_module"?
> I know that FreeSWITCH has this information, how could I get it?
>
> This would provide some nice benefits, for example if current CPU
> utilization > 75% I would force using PCMU codec instead of compressed
> codecs - just 1 idea...
>
> What other hardware-related counters does FreeSWITCH contains?
>
> Thank you very much!
>
> Vitalie
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org>
googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org>
pstn:+19193869900
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to