This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:mem_dump [2017/04/13 07:31] jeff |
uphp:functions:mem_dump [2022/03/30 08:27] (current) admin |
||
---|---|---|---|
Line 7: | Line 7: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | Usage 1 |
- | < | + | |
- | <span style=" | + | <well size=" |
- | </ | + | <span style=" |
- | [[mem_dump]] ( ) | + | </html></ |
- | </ | + | |
+ | Usage 2 (FW > 1217) | ||
+ | |||
+ | <well size=" | ||
+ | <span style=" | ||
+ | </ | ||
====Parameters==== | ====Parameters==== | ||
- | None | + | Passing no parameters will cause the memory block structure to be written to / |
+ | |||
+ | Passing an address (hex string) and a length will return a hex encoded string of the contents of the memory area. | ||
- | ====Return | + | ====Return |
None | None | ||
Line 38: | Line 47: | ||
[[freemem()]] - Return free memory space | [[freemem()]] - Return free memory space | ||
- | [[uphp:programming_the_wattmon? | + | [[uphp:uphp_intro# |
- | [[nvram_dump()]] - Dump the contents of NVRAM to standard output | + | [[nvram_dump()]] - Dump the contents of <tooltip title=" |
[[print_r()]] - Dump the contents of an array to the current output | [[print_r()]] - Dump the contents of an array to the current output | ||