======mem_dump====== WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0 Write the current memory map to /dump.txt ====Description==== Usage 1 mem_dump ( ) Usage 2 (FW > 1217) string mem_dump ( string $address, int len ) ====Parameters==== Passing no parameters will cause the memory block structure to be written to /dump.txt. Passing an address (hex string) and a length will return a hex encoded string of the contents of the memory area. ====Return Values==== None ====Example==== ===Create or overwrite the file /dump.txt=== ====See Also==== [[mem_usage()]] - Write memory usage to standard output [[freemem()]] - Return free memory space [[uphp:uphp_intro#challenges|Memory Limit Challenges to Programming the Wattmon]] [[nvram_dump()]] - Dump the contents of NVRAM to standard output [[print_r()]] - Dump the contents of an array to the current output