[ILUGC] 1D1C - lsmem

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx
  • Date: Wed, 19 Oct 2022 06:00:00 +0530

lsmem - it lists the ranges of available memory with their online status
To list the available online memory status
$ lsmem

To List each individual memory block, instead of  combining  memory blocks
with similar attributes
$ lsmem -a

To print  the  SIZE column in bytes
$ lsmem -b

To print the output in json format
$ lsmem -J

To print output without header line
$ lsmem -n

To get help options
$ lsmem -h

To print output of specific column
$ lsmem -o RANGE
$ lsmem -o SIZE
$ lsmem -o STATE
$ lsmem -o REMOVABLE
$ lsmem -o BLOCK

To print all available columns
$ lsmem --output-all

To Produce  output  in  the  form of key="value" pairs
$ lsmem --pairs



regards,
T.Dhanasekar


---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat

Other related posts: