Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

MySQL Monitoring 101 MySQL Memory MySQL Monitoring 101

26,646 views

Published on

MySQL Monitoring 101


MySQL Memory Usage 2




❖ RSS and VSZ

$ ps -eopid,fname,rss,vsz,user,command | grep -e quot;RSSquot; -e quot;mysqlquot;
PID COMMAND RSS VSZ USER COMMAND
5463 grep 764 5204 ronald grep -e RSS -e mysql
13894 mysqld_s 596 3936 root /bin/sh /usr/bin/mysqld_safe
13933 mysqld 4787812 5127208 mysql /usr/sbin/mysqld --basedir=/usr --
datadir=/vol/mysql/mysqldata --user=mysql --pid-file=/var/run/mysqld/
mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/
mysqld.sock
13934 logger 608 3840 root logger -p daemon.err -t mysqld_safe -i -t
mysqld

$ ps -eopid,fname,rss,vsz,user,command | grep quot; mysqld quot; | grep -v grep | awk
'{print $3,$4}'
4787820 5127208


http://ronaldbradford.com/blog/are-you-monitoring-rss-vsz-2009-03-08/

http://ronaldbradford.com

Published in: Technology, Design

×