This script allows you to manage and monitor your PM2 processes for various games. You can view the status of all your accounts, delete processes, and see PM2 logs all in one place.
To launch the status script, run:
./launch.sh status
To sort the processes by the time of the next claim:
t
To delete all games matching a specific pattern:
delete [pattern]
Example:
delete HOT
This command will delete all processes that match the pattern "HOT".
To delete a process by its ID:
delete [ID]
Example:
delete 51
This command will delete the process with ID 51.
To delete a range of processes by their IDs:
delete [startID]-[endID]
Example:
delete 1-4
This command will delete all processes from ID 1 to ID 4.
To delete multiple processes by their IDs, separated by commas:
delete [ID1],[ID2],[ID3]
Example:
delete 1,3,5
This command will delete the processes with IDs 1, 3, and 5.
To view the last 20 balance and status logs for a specific process:
status [ID]
Example:
status 5
This command will show the last 20 balance and status logs for the process with ID 5.
To view the last N lines of raw PM2 logs for a specific process:
logs [ID] [lines]
Example:
logs 5 100
This command will show the last 100 lines of raw PM2 logs for the process with ID 5.
To exit the script:
exit
or simply press enter without typing any command.
-
Delete all games matching the pattern "Vertus":
delete Vertus
-
Delete all saved Telegram accounts:
delete Telegram
-
Delete processes in the range from 1 to 4:
delete 1-4
-
Delete the process with ID 51:
delete 51
-
Delete processes with IDs 1, 3, and 5:
delete 1,3,5
-
Show the last 20 balance and status logs for process with ID 5:
status 5
-
Show the last 100 raw lines from PM2 logs for process with ID 5:
logs 5 100