AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 怎么看哪个站耗内存大? |
|
---|---|
clotwind |
clotwind 发表于 2014-03-19 17:14:46
这个是怎么看的啊?
点赞,加油! (0分)
2014-03-19 17:14:46 1
|
Sonic1997 |
如果要看php占用内存的话在top里面应该能看到了
回复
2014-03-26 09:08:24 2
|
amysql |
可以安装AMNetwork模块。
看下系统进程。 当前系统运行程序进程 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2192 256 ? Ss Feb08 0:02 init [3] root 2 0.0 0.0 0 0 ? S< Feb08 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN Feb08 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< Feb08 0:00 [watchdog/0] root 5 0.0 0.0 0 0 ? S< Feb08 0:00 [events/0] root 6 0.0 0.0 0 0 ? S< Feb08 0:00 [khelper] root 7 0.0 0.0 0 0 ? S< Feb08 0:00 [kthread] root 9 0.0 0.0 0 0 ? S< Feb08 0:00 [xenwatch] root 10 0.0 0.0 0 0 ? S< Feb08 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< Feb08 0:00 [kblockd/0] root 17 0.0 0.0 0 0 ? S< Feb08 0:00 [cqueue/0] root 21 0.0 0.0 0 0 ? S< Feb08 0:00 [khubd] root 23 0.0 0.0 0 0 ? S< Feb08 0:00 [kseriod] root 88 0.0 0.0 0 0 ? S Feb08 0:00 [khungtaskd] root 89 0.0 0.0 0 0 ? S Feb08 0:00 [pdflush] root 91 0.0 0.0 0 0 ? S< Feb08 0:02 [kswapd0] root 92 0.0 0.0 0 0 ? S< Feb08 0:00 [aio/0] root 233 0.0 0.0 0 0 ? S< Feb08 0:00 [kpsmoused] root 254 0.0 0.0 0 0 ? S< Feb08 0:00 [kstriped] root 263 0.0 0.0 0 0 ? S< Feb08 0:00 [ksnapd] root 274 0.0 0.0 0 0 ? S< Feb08 0:05 [kjournald] root 296 0.0 0.0 0 0 ? S< Feb08 0:00 [kauditd] root 324 0.0 0.2 2420 288 ? S<s Feb08 0:00 /sbin/udevd -d root 529 0.0 3.7 38676 4944 ? Ss Mar25 0:00 php-fpm: master process (/usr/local/php/etc/fpm/aqdy8.com.conf) www 530 0.0 3.6 38676 4812 ? S Mar25 0:00 php-fpm: pool aqdy8.com www 531 0.0 3.6 38676 4812 ? S Mar25 0:00 php-fpm: pool aqdy8.com www 532 0.0 3.6 38676 4812 ? S Mar25 0:00 php-fpm: pool aqdy8.com root 654 0.0 0.0 0 0 ? S< Feb08 0:00 [kmpathd/0] root 655 0.0 0.0 0 0 ? S< Feb08 0:00 [kmpath_handlerd] root 674 0.0 0.0 0 0 ? S< Feb08 0:00 [kjournald] root 977 0.0 0.3 2440 520 ? Ss Feb08 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0 root 1013 0.0 0.3 12684 496 ? S<sl Feb08 0:13 auditd root 1015 0.0 0.3 13228 432 ? S<sl Feb08 0:07 /sbin/audispd root 1030 0.0 0.3 1844 396 ? Ss Feb08 0:02 syslogd -m 0 root 1033 0.0 0.1 1792 240 ? Ss Feb08 0:00 klogd -x root 1047 0.0 0.1 1940 164 ? Ss Feb08 0:00 /usr/sbin/hv_kvp_daemon root 1121 0.0 0.4 2588 556 ? S Feb08 0:12 /bin/bash /usr/sbin/xe-daemon -p /var/run/xe-daemon.pid root 1497 0.0 1.7 40724 2236 ? Ss Mar21 0:00 php-fpm: master process (/usr/local/php/etc/php-fpm.conf) www 1499 0.0 6.6 42320 8740 ? S Mar21 0:34 php-fpm: pool www www 1500 0.0 8.4 44732 11056 ? S Mar21 0:38 php-fpm: pool www root 1504 0.0 0.2 4536 356 ? Ss Mar21 0:00 pure-ftpd (SERVER) root 1596 0.0 1.2 27104 1588 ? Ss Mar21 0:05 nginx: master process /usr/local/nginx/sbin/nginx root 1726 0.0 0.5 5408 688 ? Ss Feb08 0:05 crond root 1751 0.0 0.1 1792 148 xvc0 Ss+ Feb08 0:00 /sbin/agetty xvc0 9600 vt100-nav root 9518 0.0 0.5 7280 676 ? Ss Mar05 0:01 /usr/sbin/sshd root 10671 0.0 0.2 54224 336 ? Ssl Mar05 0:00 memcached -d -p 11211 -u root -m 64 -c 1024 -P /var/run/memcached.pid root 16612 0.0 3.7 38676 4944 ? Ss 05:34 0:00 php-fpm: master process (/usr/local/php/etc/fpm/testtest.com.conf) www 16613 0.0 3.6 38676 4812 ? S 05:34 0:00 php-fpm: pool testtest.com www 16614 0.0 3.6 38676 4812 ? S 05:34 0:00 php-fpm: pool testtest.com www 16615 0.0 3.6 38676 4812 ? S 05:34 0:00 php-fpm: pool testtest.com root 24753 0.0 0.0 0 0 ? S Mar05 0:00 [pdflush] www 25931 0.0 8.8 37316 11600 ? S 10:11 0:00 nginx: worker process www 25932 0.0 0.8 27104 1120 ? S 10:11 0:00 nginx: cache manager process root 29449 0.0 0.7 2540 1040 ? S Mar25 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/amysql.com.pid mysql 29750 0.0 6.2 40544 8220 ? Sl Mar25 0:02 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/amysql.com.err --pid-file=/usr/local/mysql/data/amysql.com.pid --socket=/tmp/mysql.sock --port=3306 root 30763 0.0 0.2 1780 392 ? S 10:21 0:00 sleep 60 root 31536 0.0 0.2 1640 352 ? S 10:21 0:00 amh module AMNetwork-1.0 admin ps root 31537 0.0 0.8 2584 1060 ? R 10:21 0:00 sh -c export amh_uid=501 && /root/amh/module AMNetwork-1.0 admin ps ; echo $? >/tmp/amh.result root 31538 0.0 0.8 2588 1124 ? R 10:21 0:00 /bin/bash /root/amh/module AMNetwork-1.0 admin ps root 31545 0.0 0.6 2308 836 ? R 10:21 0:00 ps aux
回复
2014-03-26 10:23:57 3
AMH面板 - 好用高效低占用、安全可靠极稳定 |
chenhao0121 |
这个也可以的
回复
2014-03-28 18:31:26 4
|