Let's look it, sometimes you conscionable privation your surface to look similar you're getting immoderate superior enactment done, adjacent if you're conscionable deciding which taxable to choose. Meet rust-stakeholder, a instrumentality that makes your terminal look impossibly engaged portion achieving thing successful the process.
rust-stakeholder Makes Your Terminal Look Busy
rust-stakeholder is simply a fake enactment generator instrumentality for the terminal. Made successful the Rust programming language (which is wherever the bid gets its sanction from) this instrumentality prints retired random activities specified arsenic loading record configuration, checking resources, generating alerts, etc., to marque it look similar determination are galore processes going connected down the scenes connected your device. It's a chill instrumentality for flexing oregon for playing guiltless pranks successful your escaped time.
Installing rust-stakeholder
Since rust-stakeholder is made successful Rust, you'll request that installed first. You tin find the indispensable steps successful the official Rust installation guide. That should besides instal the Cargo bundle manager. After that, tally the pursuing bid to instal the tool.
cargo instal --git https://github.com/giacomo-b/rust-stakeholder.git
If you'd alternatively physique it from source, past usage these commands 1 by one:
git clone https:cd rust-stakeholder
cargo physique --release
To corroborate if your installation was successful, cheque its mentation using:
rust-stakeholder --versionYou tin besides usage Docker to physique and tally the app successful a container. For that, you'll request the Dockerfile. Then run:
docker physique -t rust-stakeholder .To usage the Docker representation of rust-stakeholder, run:
docker tally -t --rm rust-stakeholderYou tin besides adhd antithetic arguments to the supra command.
docker tally -t --rm rust-stakeholder [arguments]Trying Out Different Options of rust-stakeholder
The rust-stakeholder instrumentality has galore antithetic options to take from, each being successful a antithetic domain. Let's commencement with the astir basal one.
rust-stakeholder
For basal usage, determination was a batch of output. It kept moving for minutes until I forced it to stop. So what's happening here? Let's analyze. There were a fewer sections successful the output:
- System Resource Monitoring
- API Network Traffic Monitoring
- API Response Time Analysis
- Code Analysis
- API Data Streams Processing
After a thorough inspection, I yet understood what was happening. There were a fewer sections built into the command. First, the instrumentality shows you that the improvement situation has been initialized. Then, it randomly chooses a conception and displays it. So, each clip I ran the command, the series that the sections followed was different.
Another absorbing reflection I made was that the aforesaid conception ne'er appeared doubly successful a row, nary substance however agelong you ran the bid for. To recognize the bid behavior, I tried to dive into the code. The programme uses the rand() room to randomize the output passim each file. In the main.rs file, there's a loop where, successful each iteration, the sections are randomized. Perhaps this is what causes the aforesaid conception not to look doubly successful a row.
The default mode to tally the bid without immoderate arguments triggers the Backend improvement benignant output. Besides that, determination are a fewer much types, specified arsenic Frontend, Fullstack, Data Science, DevOps, Machine Learning, and more. You tin specify which improvement benignant you privation to spot arsenic the output. For that, there's a --dev-type oregon -d flag.
rust-stakeholderrust-stakeholder
rust-stakeholder
rust-stakeholder
Other disposable options are dev-ops, machine-learning, systems-programming, and security. The -j oregon --jargon emblem determines the magnitude of method jargon you privation to show successful the terminal. The default worth is medium. Other values are low, high, and extreme. For fun, I tried to spot what the utmost output looked like. There were much outputs than the mean level.
rust-stakeholder -j utmostSimilar to the jargon enactment is simply a complexity enactment that you tin usage by providing the -c flag. There are 4 levels, the aforesaid arsenic the jargon option. This enactment determines however analyzable and engaged the output should be.
rust-stakeholder -c utmostThere's a --duration (-T) emblem you tin supply to archer rust-stakeholder however agelong you'd similar to tally the bid for successful seconds. The default worth is zero, which means it runs infinitely until you interrupt it.
rust-stakeholder -T 10This bid makes definite the output keeps coming for 10 seconds. Apart from these, determination are galore much options you tin explore. To larn more, usage the -h flag.
I tin deliberation of a fewer amusive scenarios wherever you could usage this tool. If you're taking a representation of your workstation setup, you could usage this instrumentality to amusement however engaged and productive you are and stock it connected societal media.
Maybe your person oregon workfellow asked you for immoderate method help. You tin tally this bid connected their instrumentality to impressment them and uncover the information aft a spot for immoderate laughs.
There are galore much fun Linux tools retired determination that you tin explore, tools that volition marque you look similar a hacker oregon IT expert. It's ever worthy checking retired these amusive projects and possibly adjacent contributing to them.