Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SM Command Results

Featured Replies

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

This displays the current usage of some of the memory used by ISY. Its primarily intended as a development tool for us to help in debugging problems.

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

  • Author

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.

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.
  • Author

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...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.