Skip to content

memorylib

PhilippeLeroux edited this page Oct 9, 2018 · 5 revisions

Table of contents


memorylib.sh last modified : 30/09/2018

  • Publics functions : 6
  • Undocumented functions : 0
  • Privates functions : 0

Public functions

Public function get_hugepages_size_kb

Print to stdout huge page size in Kb

Public function get_hugepages_total

Print to stdout total huge pages.

Public function get_hugepages_free

Print to stdout numbre huge pages frees.

Public function count_hugepages_for_sga_of

Print to stdout number of huge pages needed for sga of size $1
$1 must contains unit K or M or G

Public function memory_total_kb

Print to stdout total OS memory in Kb

Public function memory_free_kb

Print to stdout OS free memory in Kb

Clone this wiki locally