Mac で 使用メモリ量 を コマンドライン から取得 $ top -l 1 | grep -i physmem 出力例 PhysMem: 6359M used (1524M wired), 1832M unused.