User Tools

Site Tools


uphp:functions:mem_dump

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:mem_dump [2017/05/11 23:19]
jeff
uphp:functions:mem_dump [2022/03/30 08:27] (current)
admin
Line 6: Line 6:
  
 ====Description==== ====Description====
 +
 +Usage 1
  
 <well size="sm"><html> <well size="sm"><html>
 <span style="font-size:125%">mem_dump ( ) <span style="font-size:125%">mem_dump ( )
 </html></well> </html></well>
 +
 +Usage 2 (FW > 1217)
 +
 +<well size="sm"><html>
 +<span style="font-size:125%">string mem_dump ( string $address, int len )
 +</html></well>
 +
  
 ====Parameters==== ====Parameters====
  
-None+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==== ====Return Values====
Line 35: Line 47:
 [[freemem()]] - Return free memory space [[freemem()]] - Return free memory space
  
-[[uphp:programming_the_wattmon?s[]=memory#challenges|Challenges to Programming the Wattmon:  Memory Limits]]+[[uphp:uphp_intro#challenges|Memory Limit Challenges to Programming the Wattmon]]
  
 [[nvram_dump()]] - Dump the contents of <tooltip title="Non-Volatile RAM">NVRAM</tooltip> to standard output [[nvram_dump()]] - Dump the contents of <tooltip title="Non-Volatile RAM">NVRAM</tooltip> to standard output
uphp/functions/mem_dump.1494544764.txt.gz · Last modified: 2021/09/13 05:56 (external edit)