extremely-simplified top powered by ncurses.

Related tags

Text processing xtop
Overview

xtop

extremely-simplified top

log8

Depends

xtop depends on below relatively primitive crates:

Env

Intended only on Linux(Ubuntu).

Comments
  • brail: better complementation when dot0 is not empty.

    brail: better complementation when dot0 is not empty.

    • when complementing [0, 3], the distance from (0, 1) and (0,2) is equal. So dot1 became empty and complementation was not performed.
    • always choose appropriate single dot1 depending on the gradient of the line.

    Before: Screenshot from 2021-09-16 21-27-54

    After: Screenshot from 2021-09-16 21-13-56

    fix #13

    design / layout 
    opened by smallkirby 1
  • Brail chart's complementation should be better.

    Brail chart's complementation should be better.

    Screenshot from 2021-09-16 18-58-12

    MemMeter is ugly. Sequence such as [0, 3, 3] should be complemented in better way.

        // watch if 0-3 line is well complemented
        let d0: Vec<u32> = vec![0, 3, 0, 0, 0, 3, 0, 0];
        let d0: Vec<f64> = d0.into_iter().map(|d| d as f64).collect();
        let height = 4;
        let brail = b32::get_brails_complement(height, 0.0, 20.0, d0);
        show_brail(brail, height);
    
    design / layout 
    opened by smallkirby 1
  • Better brail line-chart

    Better brail line-chart

    Bar chart can have only one axe. For IO meter (such as Net and Disk), two axes are needed to show both RW. Brail chart can have two axes. Hence, i have to impl better brail chart.

    enhancement design / layout 
    opened by smallkirby 0
  • kmesg multiline log support.

    kmesg multiline log support.

    When kmesg has multiline-log, the first one is regarded as valid log, but the other is regarded as invalid log.
    Should regard invalid formated log as the continuous line of the previous line.

    bug 
    opened by smallkirby 0
  • Don't re-calculate all the data in charts, use ring-buffer for history instead.

    Don't re-calculate all the data in charts, use ring-buffer for history instead.

    Now, graphs like CpuGraph and NetMeter store the history of values and use them to calculate their graph. This calculation is performed every update. No need to re-calculate already drawn graph. The only thing required is ring-buffer which stores calculated graph history. This fix would reduce the calc cost a bit. (though fatal bottleneck is reading proc files...)

    performance 
    opened by smallkirby 0
  • height of `CPUMeter` should be decided dynamically.

    height of `CPUMeter` should be decided dynamically.

    Layout is decided by layout file. But the number of CPUMeter differs depending on the num of available CPUs on the system.

    There are two choices:

    1. decides height for CPUMeter dynamically.
    2. the height is decided statically in the layout file, and calculate appropriate width of each CPUMeter.

    The latter seems easier to impl.

    design / layout 
    opened by smallkirby 0
Releases(v0.0.2)
Owner
smallkirby
a
smallkirby
Blazingly fast framework for in-process microservices on top of Tower ecosystem

norpc = not remote procedure call Motivation Developing an async application is often a very difficult task but building an async application as a set

Akira Hayakawa 15 Dec 12, 2022
mtop: top for Memcached

mtop mtop: top for Memcached. Features Display real-time statistics about your memcached servers such as Memory usage/limit Current/max connections Hi

Nick Pillitteri 6 Feb 27, 2023
An NLP-suite powered by deep learning

DeepFrog - NLP Suite Introduction DeepFrog aims to be a (partial) successor of the Dutch-NLP suite Frog. Whereas the various NLP modules in Frog wre b

Maarten van Gompel 16 Feb 28, 2022
A low-level ncurses wrapper for Rust

ncurses-rs This is a very thin wrapper around the ncurses TUI lib. NOTE: The ncurses lib is terribly unsafe and ncurses-rs is only the lightest wrappe

Jeaye Wilkerson 628 Jan 7, 2023
The classic tetris game written in Rust using ncurses

tetris.rs This is the classic tetris game I wrote to have a bit of fun with Rust. Installation and playing cargo install --

null 71 Jul 25, 2022
rust-browser-game but native and rendered with ncurses in C without the Browser

Spin-off of rust-browser-game-but-sdl but with ncurses Nothing much to say. Just see rust-browser-game-but-sdl and rust-browser-game. Quick Start $ ma

Tsoding 8 Apr 21, 2022
A tetris game I wrote in rust using ncurses. I'm sure that there's a better way to write a tetris game, and the code may be sus, but it techinically works

rustetris A tetris game I wrote in rust using ncurses. I'm sure that there's a better way to write a tetris game, and the code may be sus, but it tech

Eric G 3 Oct 15, 2022
ASCII 3D-renderer using Ray Marching technique written in Rust with NCurses

pistol ASCII renderer using Ray Marching technique written in Rust ?? with NCurses. This project is a giga-chad compared to my previous attempt to wri

Eugene Sokolov 5 Dec 10, 2022
ncspot is a ncurses Spotify client written in Rust using librespot.

ncspot is a ncurses Spotify client written in Rust using librespot. It is heavily inspired by ncurses MPD clients, such as ncmpc. My motivation was to provide a simple and resource friendly alternative to the official client as well as to support platforms that currently don't have a Spotify client, such as the *BSDs.

Henrik Friedrichsen 3.4k Jan 8, 2023
The new, performant, and simplified version of Holochain on Rust (sometimes called Holochain RSM for Refactored State Model)

Holochain License: This repository contains the core Holochain libraries and binaries. This is the most recent and well maintained version of Holochai

Holochain 741 Jan 5, 2023
The new, performant, and simplified version of Holochain on Rust (sometimes called Holochain RSM for Refactored State Model)

Holochain License: This repository contains the core Holochain libraries and binaries. This is the most recent and well maintained version of Holochai

Holochain 737 Dec 28, 2022
A simplified but faster version of Routerify

Routerify lite Routerify-lite is a simplified but faster version of Routerify. It only provides below functions: path matching error handling Why not

jinhua luo 7 Dec 30, 2022
Simplified glue code generation for Deno FFI libraries written in Rust.

deno_bindgen This tool aims to simplify glue code generation for Deno FFI libraries written in Rust. Quickstart # install CLI deno install -Afq -n den

Divy Srivastava 173 Dec 17, 2022
A simplified recreation of the command-line utility grep written in Rust.

smolgrep A simplified recreation of the command-line utility grep written in Rust. Download and run Download Rust On Mac/Linux Open a terminal and ent

Thi Dinh 0 Dec 27, 2021
Simplified Find command made with Rust.

Hunt Hunt is a (highly-opinionated) simplified Find command made with Rust. It searches a file/folder by name on the entire drive. If the --first flag

LyonSyonII 65 Jan 4, 2023
Simplified, secure privledge escalation

doit.rs A simplified privledge escalation tool. Attempting to combine the memory safety guarantees of Rust with a small, auditable codebase. I was rea

Adam 3 Jan 6, 2022
A mini kv database demo that using simplified bitcask storage model with rust implementation

A mini kv database demo that using simplified bitcask storage model with rust implementation.

Wancheng Long 17 Nov 28, 2022
A simplified version of a Redis server supporting SET/GET commands

This is a starting point for Rust solutions to the "Build Your Own Redis" Challenge. In this challenge, you'll build a toy Redis clone that's capable

Patrick Neilson 2 Nov 15, 2022
Over-simplified, featherweight, open-source and easy-to-use authentication and authorization server.

concess ⚠️ Early Development: This is not production ready, yet. Do not use it for anything important. Introduction concess is a over-simplified, feat

Dustin Frisch 3 Nov 25, 2022
A simplified general-purpose queueing system for Rust apps.

A simplified general-purpose queueing system for Rust apps. Example // Create a new Redeez object, and define your queues let mut queues = Redeez::new

Miguel Piedrafita 11 Jan 16, 2023