10 lines
153 B
Plaintext
Executable File
10 lines
153 B
Plaintext
Executable File
get_real_mem ()
|
|
{
|
|
# Query the system for the total real memory
|
|
|
|
echo "$(bootinfo -r)KB"
|
|
|
|
# lsattr -El sys0 -a realmem | awk '{print $2}' # Works too
|
|
}
|
|
|