The most resource hungry processes on Linux

The command with which we will see a list of processes that consume the most RAM (resources).

Instead of 10 you can specify any number of processes displayed.

To kill any process write:

Continue reading The most resource hungry processes on Linux

Automatically backup SeaFile data and delete old backups

Automatically backup SeaFile data
and delete old backups

Daily backups will be stored in the /root/backups/ and copies older than 7 days will be automatically deleted.

Make file /root/backup.sh

Change /var/www/seafile-server/install on yours Seafile install path.
Change /var/www/seafile-server/cloud_storage on yours Seafile data path.

In the terminal crontab -e add entry:

read more about – find
read more about – crontab
read more about – tar
read more about – rm
read more about – find