![User banner](https://lemmy.ml/pictrs/image/G1z5h2lW9K.png)
CPUやメモリの統計は/proc以下のファイルを見れば調べられますが、ファイルシステムの容量などはどうやって取得しているんだろうと気になったでdf(1)のコードを眺めてみました。 coreutils: df.c coreutils: fusage.c macOS: df.c ライブラリの動作検証で用意したコードはこちら。 dfが何を使って出力しているのか調べたコード · GitHub Linuxの場合 Linuxでは、ファイルシステムの情報はstatvfs(3)で取得できるようです。これはstatfs(2)システムコールのラッパーという扱いですが、基本的にはstatvfs(3)を使うように推奨...
![dfコマンドはどこからファイルシステムの統計を取得するのか - Plan 9とGo言語のブログ](https://lemmy.ml/pictrs/image/7aac1395-ffdf-42d5-b92c-e8d413586a7a.png?format=webp&thumbnail=256)
What is syacall/libc function df comannd call.
Rustで書かれた軽量なGUIフレームワークTauriは、Windows、macOS、Linux向けのデスクトップアプリを開発できます。本稿では、Tauriを使って簡単なデスクトップアプリ「かんばんボード」を制作します。
![軽量RustフレームワークTauriでデスクトップアプリ開発をはじめよう | gihyo.jp](https://lemdro.id/pictrs/image/792f70cf-973d-4fa1-b314-485d92f88f04.png?format=webp&thumbnail=256)
Fast, disk space efficient package manager
![Fast, disk space efficient package manager | pnpm](https://lemmy.ml/pictrs/image/6505af23-20bf-46c8-9807-a93fefdaeb82.png?format=webp&thumbnail=256)
A backup tool.
A fast data collector in Rust. Contribute to awslabs/flowgger development by creating an account on GitHub.
![GitHub - awslabs/flowgger: A fast data collector in Rust](https://lemdro.id/pictrs/image/e9f0dbd3-22ac-46fc-9fdf-99c2c26c185a.png?format=webp&thumbnail=256)
Flowgger is a fast, simple and lightweight data collector written in Rust.
Alternative to Fluentd and Logstash.
Learn how to set up Podman's new Windows client, which makes it easier than ever to run the container tool on Microsoft's OS.
![Run Podman on Windows: How-to instructions](https://lemmy.ml/pictrs/image/wwIGdLLf3i.jpg?format=webp&thumbnail=256)
To celebrate our latest release, we're offering free accounts with 3GB of storage on open.audio for a limited time!
![KitaitiMakoto](https://lemmy.ml/pictrs/image/fGPNCyJm6b.png?format=webp&thumbnail=64)
A programmer, loves Ruby, likes Rust, Fediverse and ActivityPub.