-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide more examples #205
Labels
Comments
svartalf
added
C-enhancement
Category: new feature or request
C-good-first-issue
Category: good for newcomers
labels
Feb 26, 2020
Hello! I'd like to give this issue a shot. |
@govardhangdg great, I really appreciate that! If you have any quick questions, feel free to join the chat, I'm happy to help |
Thanks @svartalf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Old bunch of the examples (removed at 7327b6d) was not that good, as they were using internal APIs and worked with sub-crates directly, which led to confusion, since the intended way to work with
heim
is via facade crate.Right now there is a bunch of new examples exist, but it would be nice to have more of them. For a start,
psutil
examples could be used as an inspiration.Here is a quick list of what can be added:
df -h
analogfree -m
ifconfig
iotop
killall
meminfo
netstat -antp
(blocked by Network connections #28, Network connections #29, Network connections #30, and Tracking issue for process::Process missing methods #106)nettop
pidof
pmap
(blocked by Tracking issue for process::Process missing methods #106)procinfo
(can be implemented partially, leftovers are blocked by Tracking issue for process::Process missing methods #106)procsmem
(blocked by Tracking issue for process::Process missing methods #106)ps
(can be implemented partially, Tracking issue for process::Process missing methods #106)pstree
sensors
(blocked by Tracking issue for heim-sensors crate first iteration #91)temperatures
(blocked by Tracking issue for heim-sensors crate first iteration #91)top
who
nice
(withheim::process::os::unix::ProcessExt::niceness
andheim::process::os::windows::ProcessExt::priority
help)Note: these examples are using
master
branch ofheim
right now and it will be a good idea to use local documentation instead of the outdated one from docs.rsThe text was updated successfully, but these errors were encountered: