Skip to content

Goldbach Conjecture Validator,哥德巴赫猜想验证器

License

Notifications You must be signed in to change notification settings

rf11291/GoldBachCtl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goldbach Conjecture Validator

Goldbach Conjecture Validator, a tool to test the Goldbach's Conjecture.This Validator can test Goldbach's Conjecture. Can running in frontend or background, and configure settings as needed.

中文文档

Build

wget https://github.com/no-passwd/GoldBachCtl/archive/refs/heads/main.zip
unzip main.zip
cd GoldBachCtl-main
gcc GoldBachCtl.c -o GoldBachCtl

Usage

Simple using(Default background)

~$ ./GoldBachCtl start
~$ ./GoldBachCtl status

Using config(Enable debug)

~$ ./GoldBachCtl config
Please Enter MaxMum upper limit, the default is: 18446744073709551615: 10000
Turn on debug mode (foreground running mode)?, default 0, Enter 1 to Enable: 1
~$ ./GoldBachCtl start

Defaults to background mode

Limit cpu usage under 20%

~$ cpulimit --limit 20 -- ./GoldBachCtl start

Command

Using command operate Goldbach Conjecture Validator, use the following commands with argument

Start:

./GoldBachCtl start

This command will initiates the process in background.

Stop:

./GoldBachCtl stop

This command stops the process.

Suspend:

./GoldBachCtl suspend

Temporarily pause the background process.

Resume:

./GoldBachCtl resume

Resume the background process after it has been suspended.

Check Status:

./GoldBachCtl status

Display the status of the background process.

Configure Settings:

./GoldBachCtl config

Change the configuration settings for the Validator.

Limit CPU Usage:

cpulimit --limit 20 -- ./GoldBachCtl start

This command will limits the CPU usage of the Validator to 20% while starting the background process.

Info

For more detailed information about each command and options, use the --help command to access the built-in manual.

About

Goldbach Conjecture Validator,哥德巴赫猜想验证器

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%