lookbusy

Crates.iolookbusy
lib.rslookbusy
version0.2.6
sourcesrc
created_at2022-11-30 01:00:10.78622
updated_at2024-04-12 11:56:33.547745
descriptionYou are busy.
homepage
repositoryhttps://github.com/tusik/lookbusy-rs
max_upload_size
id725819
size1,105,407
Tusik (tusik)

documentation

README

Lookbusy - make your PC busy

crates.ioCrates.ioCrates.ioCrates.io

This is a program can be set to eat you cpu and memory resource.

feature

  • precise control cpu core usage 0/1,3/1,5/1 core0,3,5 use 100% cpu
  • fake log print
  • cpu usage per core

screenshot

Platform

  • Windows
    • x86 & x64 [OK]
  • Linux
    • x86 & x64 [OK]
    • arm64 [OK]
  • MacOS
    • x86 & x64 [OK]
    • M serial [core control not work]

Install

cargo install lookbusy

How to use

USAGE:
    lookbusy [OPTIONS]

OPTIONS:
    -c, --cpu-num <CPU_NUM>      how many cpu thread you want use [default: 1]
    -C, --config <CONFIG>        precise control cpu core usage 0/1,3/1,5/1 core0,3,5 use 100% cpu
    -h, --help                   Print help information
    -l, --limit <LIMIT>          cpu usage per thread % [default: 1]
    -L, --log-path <LOG_PATH>    fake log print
    -m, --mem-size <MEM_SIZE>    how many MB you want use [default: 1024]
    -V, --version                Print version information

Config details

[Core index] / [Cpu Usage Limit] / [Cpu Jitter]

Example:

0/0.5/0.5,4/1
core 0, Cpu 50% and with 50% jitter, so 0%-50% in core0.
core 4, Cpu 100%, 100% in core4.

Just like ./lookbusy -c 2 -m 4096

Commit count: 43

cargo fmt