This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# mytop.sh - (Monitor mysql process list with top like screen updates and adiditonal stats like cpu/io usage) | |
# | |
# Sample Output: | |
# | |
# CPU Usage 3.29% user 1.60% system 3.37% io wait 0.00% steal 91.59% idle | |
# Up 17 days 10 hours Load Avg 0.43 0.36 0.35 Processes 1(running) 408(total) Last PID 17825 | |
# +----------+------+-----------+----+---------+------+-------+------------------+ | |
# | Id | User | Host | db | Command | Time | State | Info | | |
# +----------+------+-----------+----+---------+------+-------+------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# mytop.sh - (Monitor mysql process list with top like screen updates and adiditonal stats like cpu/io usage) | |
# | |
# Sample Output: | |
# | |
# CPU Usage 3.29% user 1.60% system 3.37% io wait 0.00% steal 91.59% idle | |
# Up 17 days 10 hours Load Avg 0.43 0.36 0.35 Processes 1(running) 408(total) Last PID 17825 | |
# +----------+------+-----------+----+---------+------+-------+------------------+ | |
# | Id | User | Host | db | Command | Time | State | Info | | |
# +----------+------+-----------+----+---------+------+-------+------------------+ |
OlderNewer