On Wed, Nov 12, 2003 at 08:53:50PM -0500, George Webb wrote: > > # top > 8:45pm up 6 days, 3:52, 8 users, load average: 0.06, 0.17, 0.17 > 84 processes: 82 sleeping, 2 running, 0 zombie, 0 stopped > CPU states: 6.6% user, 5.4% system, 0.0% nice, 87.9% idle > Mem: 25468K av, 24268K used, 1200K free, 0K shrd, 2544K buff > Swap: 65528K av, 28484K used, 37044K free 8604K cached > > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND > 5045 mysql 10 0 10384 1336 660 S 0.1 5.2 0:26 mysqld > 5037 mysql 9 0 10384 1336 660 S 0.0 5.2 0:11 mysqld > 5039 mysql 9 0 10384 1336 660 S 0.0 5.2 0:07 mysqld > 5040 mysql 9 0 10384 1336 660 S 0.0 5.2 0:00 mysqld > 5041 mysql 9 0 10384 1336 660 S 0.0 5.2 0:00 mysqld > 5042 mysql 9 0 10384 1336 660 S 0.0 5.2 0:00 mysqld > 5043 mysql 9 0 10384 1336 660 S 0.0 5.2 0:00 mysqld > 5044 mysql 9 0 10384 1336 660 S 0.0 5.2 0:00 mysqld > 5046 mysql 9 0 10384 1336 660 S 0.0 5.2 0:00 mysqld > 5047 mysql 9 0 10384 1336 660 S 0.0 5.2 0:03 mysqld > 5012 root 9 0 184 4 0 S 0.0 0.0 0:00 mysqld_safe > > So isn't each of the ten (10) processes using 10384 K, for a total of > 103840 K?
Uhm, no. The "size" is 10384k, but each thread proc is using 1336, and 660 of that is shared. Jeremy -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! <[EMAIL PROTECTED]> | http://jeremy.zawodny.com/ MySQL 4.0.15-Yahoo-SMP: up 60 days, processed 2,279,766,163 queries (438/sec. avg) -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]