Skip to content

Instantly share code, notes, and snippets.

View humza024's full-sized avatar

Muhammad Humza Arshad humza024

View GitHub Profile
@humza024
humza024 / odoo_calculate_workers.sh
Created October 24, 2021 09:25
Analyzes the characteristics of the server and helps calculate the number of workers and memory for each
#!/bin/bash
# CONST 1GB
CONST_1GB="1024*1024*1024"
# VARIABLE WORKERS
CMD_W=0