List the sections available
Syntax
lscript section [options]
List, add, edit the sections available in the active domain.
Options
Option | Description |
---|---|
-name <section-name>
|
Name of the section to be edited. |
-mem <memory-region>
|
Name of the memory region to be used for the section. |
-size <section-size>
|
Size of the section. |
-add
|
Add a new section. |
Returns
List of the sections with corresponding memory and size in tabular format, when no options or args are specified. Nothing, if a section is successfully edited or added. Error if the section cannot be edited or added.
Example(s)
lscript section
List of the sections available in the active domain along with the type, size and assigned memory.
lscript section -name <section-name>
-mem <memory-region>
-size <section-size>
Edit the section-name with memory and size.
lscript section -mem <memory-region>
-size <section-size>
Edit all the sections with memory and size.
lscript section -add -name <section-name>
-mem <memory-region>
-size <section-size>
Add a new section with section-name, memory and size.