Jump to content

SM Command Results


Algorithm

Recommended Posts

Posted

Michel or Chris, could you provide some information on the reading and interpretation of the results of the SM command in the ISY Shell?

 

My current output is:

 

http:///>SM

Only displaying memory locations with at least on block used
                Cur    Cur    High    Prev   Diff
 Size    Tot    Free   Used   Used    Used   Used
   24:   5328   3452   1876   1884 (  1362) +514
   32:    756    497    259    272 (   259)
   38:     65     51     14     14 (    14)
   66:    140    134      6     35 (    16) -10
  136:    300    299      1    189 (     1)
  170:    266    228     38     38 (    30)  +8
  202:      4      2      2      2 (     2)
 1024:     26     25      1      9 (     1)
 1112:     13      0     13     13 (    13)

http:///>XS

Posted

Hi JAJ,

 

It would be very difficult to explain these numbers with the object using those memory blocks. In short, the first column is the size of memory block used (in bytes) and the rest is self explanatory.

 

 

With kind regards,

Michel

Michel or Chris, could you provide some information on the reading and interpretation of the results of the SM command in the ISY Shell?

 

My current output is:

 

http:///>SM

Only displaying memory locations with at least on block used
                Cur    Cur    High    Prev   Diff
 Size    Tot    Free   Used   Used    Used   Used
   24:   5328   3452   1876   1884 (  1362) +514
   32:    756    497    259    272 (   259)
   38:     65     51     14     14 (    14)
   66:    140    134      6     35 (    16) -10
  136:    300    299      1    189 (     1)
  170:    266    228     38     38 (    30)  +8
  202:      4      2      2      2 (     2)
 1024:     26     25      1      9 (     1)
 1112:     13      0     13     13 (    13)

http:///>XS

Posted

Thanks for the replies. Without giving much detail about each one, does this report give a good representation of the percentage of memory used within ISY? Ie. can it be used by the user to judge memory usage? For example, in the report above, it looks like roughly 50% is used.

Posted

Hi JAJ,

 

Yes. For instance, you have used 228 nodes (170 byte blocks) and, as far as memory is concerned, you can support more programs. The rest are objects that are dynamically allocated and deallocated and are there only for debugging purposes.

 

With kind regards,

Michel

 

Thanks for the replies. Without giving much detail about each one, does this report give a good representation of the percentage of memory used within ISY? Ie. can it be used by the user to judge memory usage? For example, in the report above, it looks like roughly 50% is used.
Posted

Excellent! So the 170-byte block line is the one the user is interested in, to keep an eye on memory usage. Thanks!

 

 

Hi JAJ,

 

Yes. For instance, you have used 228 nodes (170 byte blocks) and, as far as memory is concerned, you can support more programs. The rest are objects that are dynamically allocated and deallocated and are there only for debugging purposes.

 

With kind regards,

Michel

 

Thanks for the replies. Without giving much detail about each one, does this report give a good representation of the percentage of memory used within ISY? Ie. can it be used by the user to judge memory usage? For example, in the report above, it looks like roughly 50% is used.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.5k
×
×
  • Create New...