mirror of
https://github.com/uutils/procps.git
synced 2026-06-10 16:14:00 -07:00
5dfcdb09e4
This supports basic get and set of sysctls on Linux. Main missing thing is reading /etc/sysctl.d files.
63 lines
1.2 KiB
Rust
63 lines
1.2 KiB
Rust
// This file is part of the uutils procps package.
|
|
//
|
|
// For the full copyright and license information, please view the LICENSE
|
|
// file that was distributed with this source code.
|
|
#[macro_use]
|
|
mod common;
|
|
|
|
#[cfg(feature = "pwdx")]
|
|
#[path = "by-util/test_pwdx.rs"]
|
|
mod test_pwdx;
|
|
|
|
#[cfg(feature = "free")]
|
|
#[path = "by-util/test_free.rs"]
|
|
mod test_free;
|
|
|
|
#[cfg(feature = "w")]
|
|
#[path = "by-util/test_w.rs"]
|
|
mod test_w;
|
|
|
|
#[cfg(feature = "watch")]
|
|
#[path = "by-util/test_watch.rs"]
|
|
mod test_watch;
|
|
|
|
#[cfg(feature = "pmap")]
|
|
#[path = "by-util/test_pmap.rs"]
|
|
mod test_pmap;
|
|
|
|
#[cfg(feature = "slabtop")]
|
|
#[path = "by-util/test_slabtop.rs"]
|
|
mod test_slabtop;
|
|
|
|
#[cfg(feature = "pgrep")]
|
|
#[path = "by-util/test_pgrep.rs"]
|
|
mod test_pgrep;
|
|
|
|
#[cfg(feature = "pidof")]
|
|
#[path = "by-util/test_pidof.rs"]
|
|
mod test_pidof;
|
|
|
|
#[cfg(feature = "ps")]
|
|
#[path = "by-util/test_ps.rs"]
|
|
mod test_ps;
|
|
|
|
#[cfg(feature = "pidwait")]
|
|
#[path = "by-util/test_pidwait.rs"]
|
|
mod test_pidwait;
|
|
|
|
#[cfg(feature = "top")]
|
|
#[path = "by-util/test_top.rs"]
|
|
mod test_top;
|
|
|
|
#[cfg(feature = "snice")]
|
|
#[path = "by-util/test_snice.rs"]
|
|
mod test_snice;
|
|
|
|
#[cfg(feature = "pkill")]
|
|
#[path = "by-util/test_pkill.rs"]
|
|
mod test_pkill;
|
|
|
|
#[cfg(feature = "sysctl")]
|
|
#[path = "by-util/test_sysctl.rs"]
|
|
mod test_sysctl;
|