nsutils

Crates.ionsutils
lib.rsnsutils
version0.0.5
sourcesrc
created_at2017-04-20 14:46:32.830199
updated_at2017-08-02 14:52:22.704919
description Command-line utilities for making use of Linux namespaces
homepagehttps://github.com/dongsupark/nsutils-rs
repository
max_upload_size
id11312
size22,422
Dongsu Park (dongsupark)

documentation

http://github.com/dongsupark/nsutils-rs

README

nsutils-rs

Build Status

Command-line utilities written in Rust for making use of Linux namespaces.

highly experimental

Currently supported binaries:

  • lsns
  • nsenter

lsns

lsns is a simple command-line tool for listing all Linux namespaces, just like the lsns included in util-linux package which is available under most Linux distros.

lsns depends on existing rust packages such as unshare, procinfo, etc.

Usage

Run cargo to install lsns.

$ cargo install lsns

Run lsns.

$ ./target/debug/lsns
NSID NSTYPE NPROC PID PPID COMMAND
4026532782 pid 1 2057 2033 /opt/google/chrome/nacl_helper
4026531839 ipc 100 2991 2988 /bin/bash
4026531840 mount 100 2991 2988 /bin/bash
4026532784 pid 2 2033 1817 /opt/google/chrome/chrome --type=zygote
4026532975 user 1 2057 2033 /opt/google/chrome/nacl_helper
4026531837 user 90 2991 2988 /bin/bash
4026532881 net 1 2057 2033 /opt/google/chrome/nacl_helper
4026531838 uts 100 2991 2988 /bin/bash

Dependencies

[dependencies]
lsns = "0.0.1"

License

Licensed under either of

at your option.

Commit count: 0

cargo fmt