package
0.5.41
Repository: https://github.com/devlights/try-golang.git
Documentation: pkg.go.dev

# README

これは何?

procfs を使って、/procファイルシステム上のメモリ情報を取得するサンプルです。

$ task
task: [clean] rm -f ./app
task: [build] go build -o app .
task: [run] free | head -n 2
               total        used        free      shared  buff/cache   available
Mem:        65841080    18350600     6361292      129440    41129188    46633780
task: [run] ./app
MemTotal=65841080KB(64297MB), Free=6358804KB(6209MB)