1 #!/bin/bash
2 export LANG=en_US.UTF-8
3 printf "\n================================================================================\n" >> ./memory.txt
4 clock | gawk '{ printf " Server Memory Infomation : %s %s %s %s %s %s %s %s \n", $1, $2, $3, $4, $5, $6, $7, $8 }' >> ./memory.txt
5 printf "================================================================================\n" >> ./memory.txt