meminfo

command
v0.5.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2025 License: MIT Imports: 2 Imported by: 0

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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL