Linux DB PHP Scripts Tech Diary
Search This Blog
Tuesday, April 27, 2010
linux script to print out memory size
head -n1 /proc/meminfo | awk '
BEGIN {}
{ TOTAL = $2; }
END {
print "Total memory: " TOTAL;
}'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment