Skip to content

Commit

Permalink
added Raids (/proc/mdstat) + network TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmeier committed Apr 16, 2021
1 parent 70cdb83 commit 5b6fc82
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "linux-info"
description = "Get every info about your linux system."
version = "0.1.4"
version = "0.1.5"
authors = ["Sören Meier <[email protected]>"]
repository = "https://github.com/soerenmeier/linux-info"
edition = "2018"
Expand All @@ -17,5 +17,5 @@ name = "df_h"
[features]

[dependencies]
byte-parser = "0.2"
byte-parser = { version = "0.2.1", features = ["unstable-parse-iter"] }
libc = "0.2"
2 changes: 1 addition & 1 deletion examples/df_h.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() {
fn print_point(point: MountPoint) -> Option<()> {
let stat = point.stats().ok()?;

if stat.is_empty() {
if !stat.has_blocks() {
return None
}

Expand Down
5 changes: 5 additions & 0 deletions src/network.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

/// TODO
/// list open ports
/// list network cards
Loading

0 comments on commit 5b6fc82

Please sign in to comment.