Crates.io | nsutils |
lib.rs | nsutils |
version | 0.0.5 |
source | src |
created_at | 2017-04-20 14:46:32.830199 |
updated_at | 2017-08-02 14:52:22.704919 |
description | Command-line utilities for making use of Linux namespaces |
homepage | https://github.com/dongsupark/nsutils-rs |
repository | |
max_upload_size | |
id | 11312 |
size | 22,422 |
Command-line utilities written in Rust for making use of Linux namespaces.
highly experimental
Currently supported binaries:
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.
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]
lsns = "0.0.1"
Licensed under either of
at your option.