Resources

https://frappe.io/docs/user/en/bench/resources/bench-commands-cheatsheet

https://github.com/frappe/bench/wiki/Quick-Reference-Guide

https://github.com/frappe/bench/wiki/Quick-Reference-Guide

https://frappe.io/docs/user/en/bench/resources

 

 

 

Back Up SIte with all files: bench –site all backup –with-files

 

 

Show current tasks of Ubuntu:  netstat -punta |grep nginx |wc -l

 

MYSQL:

mysql -u root -p

 

 

Database:

select * from `tabPayment Entry` where base_total_allocated_amount=24;

 

Frappe and site:

bench version, gives you the verison of the bench and frappe and erpnext etc

bench drop-site [sitename] This will remove the site folder and the database as well.

 

Install cusjtom frappe apps by fra:    bench get-app meeting https://github.com/frappe/meeting

 

 

https://frappe.io/docs/user/en/bench/resources

 

Cache

  1. bench clear-cache
  2. bench clear-website-cache …You can run these from your frappe-bench folder.

 

 

How to manage processes from the Ubuntu Linux terminal

The ps command is a traditional Ubuntu Linux command to lists running processes. The following command shows all processes running on your system:
{vivek@ubuntu-box:~}$ ps -aux
{vivek@ubuntu-box:~}$ sudo ps -a
{vivek@ubuntu-box:~}$ sudo ps -U vivek
{vivek@ubuntu-box:~}$ ps -U tom

 

https://www.cyberciti.biz/faq/how-to-check-running-process-in-ubuntu-linux-using-command-line/

 

 

 

Posted in Advance.