All pastes #2089324 Raw Edit

Miscellany

public text v1 · immutable
#2089324 ·published 2011-10-12 09:45 UTC
rendered paste body
polyakvoip*CLI> core show fd
Current maxfiles: unlimited
    3         utils.c:1971    (ast_utils_init           ): open("/dev/urandom",0)
    4      asterisk.c:1385    (ast_makesocket           ): socket(PF_UNIX,SOCK_STREAM,"tcp")
    6        logger.c:285     (make_logchannel          ): fopen("/var/log/asterisk/messages","a")
    9      chan_sip.c:28016   (reload_config            ): socket(PF_INET,SOCK_DGRAM,"udp")
   11 ooh323c/src/ooh323ep.c:59      (ooH323EpInitialize       ): fopen("/var/log/asterisk/h323_log","w")
   12 ooh323c/src/ooSocket.c:201     (ooSocketCreate           ): socket(PF_INET,SOCK_STREAM,"tcp")
   13   chan_dongle.c:208     (opentty                  ): open("/dev/ttyUSB2",258)
   14   chan_dongle.c:208     (opentty                  ): open("/dev/ttyUSB1",258)
   16      asterisk.c:3848    (main                     ): pipe({16,17})
   17      asterisk.c:3848    (main                     ): pipe({16,17})
   21        logger.c:1116    (logger_queue_init        ): fopen("/var/log/asterisk/queue_log","a")
   26       channel.c:1189    (__ast_channel_alloc_ap   ): pipe({26,27})
   27       channel.c:1189    (__ast_channel_alloc_ap   ): pipe({26,27})
   29 ooh323c/src/ooCmdChannel.c:47      (ooCreateCmdConnection    ): dup2(30)
   31 ooh323c/src/ooCmdChannel.c:45      (ooCreateCmdConnection    ): dup2(29)
polyakvoip*CLI> core show threads
0xb652ab70 netconsole           started at [ 1351] asterisk.c listener()
0xb61c3b70 mixmonitor_thread    started at [  475] app_mixmonitor.c launch_monitor_thread()
0xb61ffb70 pbx_thread           started at [ 5198] pbx.c ast_pbx_start()
0xb6566b70 monitor_sig_flags    started at [ 3872] asterisk.c main()
0xb65a2b70 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0xb65deb70 do_monitor_phone     started at [  484] chan_dongle.c start_monitor()
0xb67d8b70 ooh323c_stack_thread started at [  202] ooh323cDriver.c ooh323c_start_stack_thread()
0xb6717b70 ooh323c_cmd_thread   started at [  207] ooh323cDriver.c ooh323c_start_stack_thread()
0xb661ab70 do_discovery         started at [  709] chan_dongle.c discovery_restart()
0xb6656b70 do_monitor           started at [ 3664] chan_ooh323.c restart_monitor()
0xb6815b70 lock_broker          started at [  492] func_lock.c load_module()
0xb6851b70 scan_thread          started at [  777] pbx_spool.c load_module()
0xb688db70 do_monitor           started at [25198] chan_sip.c restart_monitor()
0xb7024b70 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0xb6fe8b70 sched_run            started at [  182] sched.c ast_sched_thread_create()
0xb7060b70 db_sync_thread       started at [  773] db.c astdb_init()
0xb709cb70 do_parking_thread    started at [ 7879] features.c ast_features_init()
0xb70d8b70 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0xb7114b70 do_devstate_changes  started at [  724] devicestate.c ast_device_state_engine_init()
0xb71c8b70 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0xb718cb70 listener             started at [ 1411] asterisk.c ast_makesocket()
0xb7150b70 logger_thread        started at [ 1130] logger.c init_logger()
0xb7214b70 inotify_daemon       started at [  329] stdtime/localtime.c add_notify()
23 threads listed.
polyakvoip*CLI> core show taskprocessors

        +----- Processor -----+--- Processed ---+- In Queue -+- Max Depth -+
               app_queue                 534            0            3
   core_event_dispatcher                 549            0            3
                pbx-core                 549            0            3
               CCSS core                   0            0            0
        +---------------------+-----------------+------------+-------------+
        4 taskprocessors