I need a bash script that could perform/ check the following on a Linux server,
1. CPU usage with top consuming processes
2. Memory allocation vs Memory available
3. I/O connection
4. TCP connections to apache
5. TCP connectons to Mysql
6. quick health check of mysql db.
would be helpful needed one bash script for above situation.
thanks in advance