Solaris Commandline Compendium

Ever tried to use Sun Solaris or Joyent SmartOS? Feeling confused? well, this is my list of Sun Solaris and SmartOS command line.

  • prtconf | grep Memory # Total Physical Memory in the system(total RAM).
  • vmstat # Available Physical Memory(i.e. RAM Usage)
  • echo ::memstat | mdb -k # Total (Logical) Memory in the system
  • echo ::memstat | mdb -k # Available (Logical) Memory.