Jump to content

SM Command Results


Algorithm

Recommended Posts

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

Link to comment

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

Link to comment

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.

Link to comment

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.
Link to comment

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.
Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

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

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...