View Single Post
HumanPenguin's Avatar
Posts: 270 | Thanked: 170 times | Joined on Jul 2007 @ Atlanta, GA + Oxford UK
#18
not the most elegent solution but it should work.

head -n 2 /proc/meminfo | tail -n 1 | fold -w 15 | tail -n 1

Basically we are cutting the line in half and selecting only the second half. This would be simpler with regular expressions but Id have to remind my self how to use all that again. Someone will prolly post with a easier solution.
 

The Following User Says Thank You to HumanPenguin For This Useful Post: