MCPcopy Index your code
hub / github.com/FillZpp/sys-info-rs

github.com/FillZpp/sys-info-rs @v0.5.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.7 ↗ · + Follow
75 symbols 141 edges 8 files 16 documented · 21%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

sys-info-rs

Build Status

Get system information in Rust.

For now it supports Linux, Mac OS X and Windows. And now it can get information of kernel/cpu/memory/disk/load/hostname and so on.

Documentation

Usage

Add this to Cargo.toml:

[dependencies]
sys-info = "*"

and add this to crate root:

extern crate sys_info;

Core symbols most depended-on inside this repo

file_time_to_ull
called by 3
c/windows.c
loadavg
called by 2
lib.rs
mem_info
called by 2
lib.rs
disk_info
called by 2
lib.rs
boottime
called by 2
lib.rs
get_os_type
called by 2
c/macos.c
get_os_release
called by 2
c/macos.c
get_cpu_num
called by 2
c/macos.c

Shape

Function 58
Class 12
Method 4
Enum 1

Languages

C56%
Rust40%
C++4%

Modules by API surface

lib.rs28 symbols
c/linux.c16 symbols
c/macos.c15 symbols
c/windows.c10 symbols
c/info.h3 symbols
test/src/main.rs1 symbols
c/test.c1 symbols
build.rs1 symbols

For agents

$ claude mcp add sys-info-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact