tasklist-rs

tasklist-rs

a small crate let you can easily get tasklist and process information on windows

what information you can get

  1. process name,pid,parrentID,theradsID.
  2. process starttime,exittime,kerneltime,usertime.
  3. process path and commandline params.
  4. process SID and Domain/User.
  5. TODO ~~process IO infomation~~
  6. TODO ~~process memory information~~
  7. TODO ~~process handles information~~
  8. tasklist(all process)

remember some infomation need higher privilege in some specific windows versions

example

```rust use tasklist;

fn main(){

unsafe{
    let tl = tasklist::Tasklist::new();
    for i in tl{
        println!("{} {} {}",i.get_pid(),i.get_pname(),i.get_user());
    }
}

} ```

Usage

Add this to your Cargo.toml:

toml [dependencies] tasklist = "0.1.8"