Dtrace

From Fritz!Box
Jump to: navigation, search

AVM Wiki >> Shell-Befehle >> dtrace @ whmf   -   IRC-Chat   -   hu nl it English
Community Modelle Zubehör Environment Konfiguration Shell-Befehle Software Freetz Lexikon Tipps+Tricks Bilder

Startup-Scripts AVM-Befehle BusyBox-Befehle Linux-Befehle Shared Libraries Kernel-Module Listings Todo

Contents

Befehl

Modelle mit D-Kanal Tracer

Aufgerufen von

ruft dtrace nicht auf aber wertet die Ausgabe mit aus:

Kommunikation

Tempfiles

Aufruf

Tastencodes

Tastencode Firmw. Funktion
#97*3* todo dtrace aktivieren
#97*2* todo dtrace deaktivieren

Webinterface

Shell

# dtrace -?
dtrace 2.50 (C) AVM Berlin      
This program traces ISDN messages from AVM controllers.
D-channel layer 3 is traced by default.
Press RETURN to quit
Parameters:
 -c      Controller number (1 - 127) default = 1; can be set more than once
 -*      traces all controllers
 -nt     Controller number (1 - 127) NT-mode decoding
         (only relevant for D2); can be set more than once
 -D      Demonize
 -E      Eventlog
 -f      Name of the trace file, default = dtrace.txt
 -i      Max size of the trace file in kByte (default: 64)
 -s      Displays the trace on the screen
 -m      Shows a hexdump of the whole message
 -n0     Suppresses messages with Protokoll Diskriminator N0 (0x40)
 -n1     Suppresses messages with Protokoll Diskriminator N1 (0x41)
 -d2     trace D-channel layer 2
 -d3     trace D-channel layer 3
 -x31    trace X.31 channels
 -b2     trace B-channel layer 2 (all B-channels, rx & tx)
 -rx     trace only B2 rx (only together with -b2)
 -tx     trace only B2 tx (only together with -b2)
 -hex    all layers are traced as hex only, no decode
 -timing measure call timing
 -dect   activate DECT trace 
 -mac    trace all MAC messages (a lot of output)

In telefon findet man die Optionen '-mac -dlc -nt3 -i256 -dect'

Beispiele

# cd /var/tmp
# dtrace

-------------------------------------------------------------------------------
dtrace 2.50 (C) AVM Berlin                               09 Apr 2011 - 13:52:01
CAPI Version: 2.0        Manufacturer version: 3.11-07  (49.23)
Manufacturer: AVM Berlin   Serial Number: 0004711
Number of installed controllers: 5
Traced Controller: c1
-------------------------------------------------------------------------------
# cat dtrace.txt
-------------------------------------------------------------------------------
dtrace 2.50 (C) AVM Berlin                               09 Apr 2011 - 13:52:01
CAPI Version: 2.0        Manufacturer version: 3.11-07  (49.23)
Manufacturer: AVM Berlin   Serial Number: 0004711
Number of installed controllers: 5
Traced Controller: c1
-------------------------------------------------------------------------------

AVM ISDN-Controller|Network
===================|=======

Symbole

ASN1_DecodeInteger
ASN1_Len
ASN1_Next
ASN1_Value
AssembleProtracePacket
AssembleStubPacket
CleanSession
ClearSlot
D2_Decode
D2_GetSpecialD1TraceMessage
D3_Decode
DECODE_AOCDChargingUnit
DECODE_AOCDCurrency
DECODE_AOCEChargingUnit
DECODE_AOCECurrency
DECODE_AOCSCurrency
DECODE_AOCSSpecialArr
DECODE_Amount
DECODE_ChargingAssociation
DECODE_ChargingType
DECODE_Currency
DECODE_DurationCurrency
DECODE_FlatRateCurrency
DECODE_Granularity
DECODE_InvokeComponent
DECODE_RecordedCurrency
DECODE_RecordedUnitsList
DECODE_Time
DECODE_VolumeRateCurrency
Decode
DecodeDlcFrame
DecodeInfoElement
DecodeLayer2
DecodeListAccessCmd
DecodeMacControl
DecodeMacFrame
DecodeNwlFrame
DecodePagingTailBsData
DecodeProtracePacket
DecodePtMacLayerInfo
Decode_Error
DectTrace_Deinit
DectTrace_Init
DisplayFeatureList
DisplayIntValue
DisplayString
DumpMem
FileExists
FindDescriptionInTable
GetBits
GetIntegerExtended
GetListId
GetSession
GetTickCount
IE_GetIdentifierNameByValue
InitCmdline
Init_D3_Decode
Interpret
IsDirectionFixedToPortable
IsDirectionFixedToPortableMAC
LI_Add
LI_CreateList
LI_DeleteList
LI_InitList
LI_Next
LI_Remove
LI_Set
ListAccess_Deinit
ListAccess_Init
MoveMonitorFile
NAME_AdvancedConnectionControlCmd
NAME_AllCallsListEntryFields
NAME_BasicConnectionControlCmd
NAME_BearerHandoverReplacementInfo
NAME_BroadcastAndConnectionlessServices
NAME_CR_FIXED
NAME_ChannelListCmd
NAME_ContactListEntryFields
NAME_DectSystemSettingsListEntryFields
NAME_EncryptionControlCmd
NAME_EncryptionControlSubcmd
NAME_IWU_TO_IWU_ProtocolDiscriminator
NAME_IncomingAcceptedCallsListEntryFields
NAME_InternalNamesListEntryFields
NAME_L2MSG_SHORT
NAME_LLN
NAME_LcePagingHeader
NAME_LcePagingSlotType
NAME_LineSettingsListEntryFields
NAME_ListAccessCommand
NAME_ListAccessElement
NAME_ListIdentifier
NAME_ListOfSupportedListsEntryFields
NAME_MacControlHeader
NAME_MacControlReleaseReason
NAME_MacLayerTestMessage
NAME_MissedCallsListEntryFields
NAME_OutgoingCallsListEntryFields
NAME_PF_COMMAND
NAME_PROTRACE_COMMAND
NAME_PROTRACE_DECT_DLC_DIRECTION
NAME_PROTRACE_DECT_DLC_PART_TO_ACT_AS
NAME_PROTRACE_ENDPOINT_TYPE
NAME_PagingTailHeader
NAME_PagingTailInfo
NAME_ProtocolDiscriminatorShort
NAME_QualityControlCmd
NAME_RejectReason
NAME_RepConnectionControlCmd
NAME_RingPattern
NAME_SAPI
NAME_StartPosition
NAME_StartSessionRejectReason
NAME_SysInfoHeader
NAME_TailId
NAME_TransactionFlag
NewSession
NextOctet
PTLI_InitList
PTLI_Insert
PTLI_Set
PTLI_Unlink
Prefix
ProcessMacDeinit
ProcessMacInit
ProtraceLibDeinit
ProtraceLibInit
RemoveSession
SessionStoreData
SocketThreadFunction
Step1
Step2
StoreMacData
StorePmid
THREAD_Start
THREAD_Stop
TRACE_AddStringIntern
TRACE_AllocEntry
TRACE_BranchEntry
TRACE_Deinit
TRACE_FreeEntry
TRACE_GetEntry
TRACE_Indent
TRACE_Init
TRACE_NextMsgNr
TRACE_OutputEntry
TRACE_OutputSubstring
TRACE_Printf
TRACE_Puts_n
TRACE_ReallocBuffer
TRACE_RecycleEntry
TRACE_ReuseEntry
TRACE_StoreEntry
TRACE_WriteToFile
TRACE_vsprintf_s
aocprint
capi_get_manufacturer
capi_get_profile
capi_get_serial_number
capi_get_version
capi_is_installed
capi_register
capi_release
console_GetTextAttributes
console_SetTextAttributes
console_attributes_reset
console_cputs_len
console_deinit
console_init
decodeAOC
dtrace_write_to_file
get_crc_dlc
get_time
i64toa
init_exec
is_valid_crc
main
main_loop
mod255add
mod255sub
moveleft
print
print_version
set_zero_time
socket_connect
socket_create
socket_deinit
socket_disconnect
socket_init
socket_remove
start_exec
stop_exec
stop_time
strreverse
timing_check_message
timing_deinit
timing_delete_call
timing_extract_partynumber
timing_find_call
timing_find_infoelement
timing_get_ticks
timing_incoming_call
timing_init
timing_match_incoming_call
timing_new_call
timing_number_match
timing_overlap_sending
timing_print_events
timing_setstate
timing_statechange
write_to_syslog

Abhängigkeiten

Siehe auch

ISDN: (43)

Debugging: (87)

Tastencodes: (36)