20

bb - simple process viewer in Rust

 4 years ago
source link: https://www.tuicool.com/articles/Q3IRvaB
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

NAME

bb — your system's Big Brother

SYNOPSIS

bb

DESCRIPTION

simple process viewer (for functionalities, see shortcuts below)

Z7zmue2.png!web

WHY

This is a "weekend" side-project made for fun, but it ended up somewhat useful and fast. Performance seems on par with htop without having done any benchmarks, however in contrast to htop , bb doesn't leave artifacts when it redraws the screen. I am not completely sure this is htop 's fault though, feel free to correct me.

INSTALL

Prerequisites: cargo >= 1.36, Linux

cargo install bb

BUILD

Prerequisites: rustc, cargo >= 1.36, Linux

 Execute `cargo build --release`, resulting binary will be in
 ./target/release/bb

SHORTCUTS

'F'   Follow process and its children. Type the pid you want to follow
      'k'   Kill process under cursor
            Press Enter to confirm kill, or Esc to cancel
      'f'   (un)freeze process list updates
      '/'   Filter process list
      Esc   Cancel action

AUTHORS

Copyright 2019 Manos Pitsidianakis <[email protected]> Released
 under the GPL, version 3 or greater. This software carries no warranty of
 any kind. (See COPYING for full copyright and warranty notices.)

https://nessuent.xyz/

September 04, 2019

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK