what process is eating my swap?
Stijn Hoop
stijn at win.tue.nl
Fri May 9 07:33:07 PDT 2003
On Fri, May 09, 2003 at 04:18:17PM +0200, Alexander Haderer wrote:
> What does "top -o size" show? Look at column size. What is on top? How many
> processes?
Here's a random sample. Of course mount_mfs is using 256M, that's to be
expected.
last pid: 39401; load averages: 0.15, 0.14, 0.09 up 1+03:32:39 16:31:15
117 processes: 1 running, 116 sleeping
CPU states: 0.0% user, 0.0% nice, 1.2% system, 1.2% interrupt, 97.7% idle
Mem: 146M Active, 445M Inact, 124M Wired, 32M Cache, 86M Buf, 4984K Free
Swap: 1536M Total, 1536M Used, 4K Free, 99% Inuse
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
24 root 10 0 257M 16512K mfsidl 0:01 0.00% 0.00% mount_mfs
262 mysql 2 0 32828K 16504K poll 48:17 1.17% 1.17% mysqld
263 root 2 0 18356K 17644K select 0:03 0.00% 0.00% perl
38861 www 18 0 10952K 7336K lockf 0:01 0.00% 0.00% httpd
34040 www 2 0 10900K 7340K poll 0:08 0.00% 0.00% httpd
37664 www 18 0 10876K 7304K lockf 0:03 0.00% 0.00% httpd
38249 www 18 0 10860K 7296K lockf 0:02 0.00% 0.00% httpd
38203 www 2 0 10852K 7264K poll 0:02 0.00% 0.00% httpd
37490 www 2 0 10848K 7272K poll 0:05 0.00% 0.00% httpd
39005 www 18 0 10840K 7224K lockf 0:00 0.00% 0.00% httpd
38001 www 18 0 10836K 7256K lockf 0:02 0.00% 0.00% httpd
37942 www 18 0 10828K 7240K lockf 0:03 0.00% 0.00% httpd
38864 www 18 0 10812K 7220K lockf 0:01 0.00% 0.00% httpd
38862 www 18 0 10680K 7104K lockf 0:01 0.00% 0.00% httpd
I see nothing wrong in the output so far.
--Stijn
--
"Harry, I'm going to let you in on a little secret. Every day, once a day,
give yourself a present. Don't plan it, don't wait for it, just let it
happen. Could be a new shirt at the men's store, a catnap in your office
chair, or... two cups of good, hot, black coffee. Like this."
-- Special Agent Dale Cooper, "Twin Peaks"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030509/831ef61c/attachment.bin
More information about the freebsd-questions
mailing list