procs
tokei
procs | tokei | |
---|---|---|
13 | 30 | |
4,786 | 10,006 | |
- | - | |
9.2 | 5.7 | |
3 days ago | 10 days ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
procs
- bsd-kvm and procs released : getting process information on BSD
- Procs: A modern replacement for ps written in Rust
- procs 0.14.0, a modern replacement for ps written in Rust
-
Is there a crate to obtain process name given an open socket?
You can have a look at this repo for some inspiration, since it's mostly cross platform. It uses the winapi crate for Windows and the procfs for Unix.
-
Rust Easy! Modern Cross-platform Command Line Tools to Supercharge Your Terminal
procs is a ps replacement. It provides colorized human-readable output, multi-column search, more information than ps, docker support, paging, watch mode, and tree view. It is a much more user-friendly and modern alternative to ps. You can filter by name and PID and use logical and/or operators to combine multiple filters. It also has a tree view which is very useful for seeing the process hierarchy. It can also show docker container names for the process running docker containers.
-
Rust-ify Linux/GNU/macOS terminal tools
ps replacement - Procs
-
Faster and colourful Command-Line tools 🌈⚡
prox: A modern replacement for ps written in Rust.
-
tool-sync: A Rust CLI tool to easily install your other favourite Rust CLI tools
For example, add the below entry to the TOML config file if you want to download the procs tool as well.
- Please help me make sense of the plethora of crates for system information in Rust
-
fifc - A configurable fzf completion plugin 🐠
Preview process trees (using procs)
tokei
- XAMPPRocky/tokei: Count your code, quickly
-
The Linux Kernel Prepares for Rust 1.77 Upgrade
So If we would only count code and not comments, it is only 9489 LoC Rust. Which would be about 0.03% and if we take all lines and not only LoC it would be around 0.05%
[0] https://github.com/XAMPPRocky/tokei
[1] https://github.com/torvalds/linux/commit/b401b621758e46812da...
- Tokei: Display statistics about your code, quickly
-
SOOOO many Errors when upgrading
thirdly: found this (https://github.com/XAMPPRocky/tokei) and wanted to analyze languages used on my system, didn't see a package manager (apt) for it that I had. So i installed cargo via apt-get rustup. Added the bin folder to $PATH via PATH=$PATH:~/.cargo/bin. But did not make it permanent. And stupidly rand tokei on "/", realizing how long and unhelpful that would be killed it. Then ran it in a dump folder with some very nested repo dumps, and tons of wolfram.nb files. After killing that too, and attempting to kill via system monitor. Still have two of those as zombie processes.
-
What "nice-to-have" CLI tools do you know?
tokei
- How long is your neovim config?
-
How do you name your crates?
For what it's worth, tokei seems to be named after tokei.
-
[media] Onefetch v2.13 is typically 2x faster and now supports ~100 programming languages
BTW, for more info on how it is done, you can check out tokei which is the library use by onefetch for code statistics.
-
Pytokei: a python binding for rust's tokei
With pytokei you can count code quickly using all the power from tokei, but from python.
-
Rust Easy! Modern Cross-platform Command Line Tools to Supercharge Your Terminal
Tokei is a nice utility to count lines and stats of code. It is very fast, accurate, and has a nice output. It supports over 150 languages and can output in JSON, YAML, CBOR, and human-readable tables.
What are some alternatives?
heim - Cross-platform async library for system information fetching 🦀
cloc - cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
bottom - Yet another cross-platform graphical process/system monitor.
coreutils - Cross-platform Rust rewrite of the GNU coreutils
tool-sync - 🧰 Download pre-built binaries of all your favourite tools with a single command
uwc
fzf-fish-integration - 🔍🐟 Fzf plugin for Fish
trust-dns - A Rust based DNS client, server, and resolver [Moved to: https://github.com/hickory-dns/hickory-dns]
powerlevel10k - A Zsh theme
rrun - minimalistic command launcher in rust
cargo-binstall - Binary installation for rust projects
habitat - Modern applications with built-in automation