View Single Post
  #3  
Old 12th June 2013, 02:03
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 116
Thanks: 29
Thanked 6 Times in 6 Posts
Question free ram results

heres the outcome of it

Code:
free -m
                  total     used     free     shared    buffers     cached
Mem:              3072       1617    1454            0            0             0
-/+ buffers/cache: 1617       1454
Swap:                0          0       0
if it is cache do you know of any other hints and tips or can point me in the direction to tune my server?

Thanks for your help
Matt

PSTREE output
Code:
# pstree
init-+-Xtightvnc
     |-amavisd-new---2*[amavisd-new]
     |-apache2-+-apache2---3*[php-cgi---php-cgi]
     |         |-5*[apache2]
     |         `-vlogger
     |-clamd---{clamd}
     |-cron
     |-dovecot-+-2*[dovecot-auth]
     |         |-3*[imap]
     |         `-6*[imap-login]
     |-fail2ban-server---6*[{fail2ban-serve}]
     |-freshclam
     |-master-+-pickup
     |        |-qmgr
     |        `-tlsmgr
     |-mysqld_safe-+-logger
     |             `-mysqld---17*[{mysqld}]
     |-named---4*[{named}]
     |-pure-ftpd-mysql
     |-saslauthd---saslauthd
     |-sshd---sshd---bash---pstree
     |-syslogd
     |-xinetd
     `-xstartup---Xsession---xmessage
This is what i get from top (first page)
Code:
top - 00:14:30 up 1 day, 14:24,  1 user,  load average: 0.33, 0.58, 0.28
Tasks:  57 total,   1 running,  56 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3145728k total,  1661620k used,  1484108k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      15   0  8364  824  692 S    0  0.0   0:00.41 init
 1043 web3      20   0  324m  11m 7820 S    0  0.4   0:00.03 php-cgi
 1178 postfix   15   0 52840 3652 2732 S    0  0.1   0:00.00 cleanup
 1181 postfix   15   0 52612 3352 2548 S    0  0.1   0:00.00 proxymap
 1182 postfix   15   0 52764 3928 2940 S    0  0.1   0:00.00 trivial-rewrite
 1183 postfix   15   0 56864 3232 2460 S    0  0.1   0:00.00 smtp
 1232 postfix   15   0 57136 4404 3336 S    0  0.1   0:00.00 smtpd
 1233 postfix   17   0 52420 2952 2288 S    0  0.1   0:00.00 pipe
 1235 postfix   16   0 39276 2440 1924 S    0  0.1   0:00.00 bounce
 1245 root      15   0 19048 1304 1024 R    0  0.0   0:00.07 top
 1537 root      18   0 54572  616  464 S    0  0.0   0:00.00 saslauthd
 1538 root      18   0 54572  308  156 S    0  0.0   0:00.00 saslauthd
 1545 root      15   0  5988  692  552 S    0  0.0   0:00.67 syslogd
 1556 amavis    15   0  207m  58m 3404 S    0  1.9   0:02.17 amavisd-new
 1564 bind      18   0  135m  13m 2024 S    0  0.4   0:00.12 named
 1580 root      18   0  420m  17m 8464 S    0  0.6   0:00.21 apache2
 1586 root      18   0 20372 3984 1932 S    0  0.1   0:00.20 vlogger
 1590 www-data  15   0  163m 3780  628 S    0  0.1   0:00.19 apache2
 1828 amavis    15   0  210m  64m 4048 S    0  2.1   0:01.53 amavisd-new
 1829 amavis    16   0  210m  65m 4020 S    0  2.1   0:01.64 amavisd-new
 1831 clamav    18   0  271m 205m 5480 S    0  6.7   1:08.63 clamd
 1928 clamav    25   0 42740 1572 1188 S    0  0.0   2:20.04 freshclam
 1948 root      15   0 20916  968  752 S    0  0.0   0:00.17 cron
 1958 root      15   0 94024 6984 2208 S    0  0.2   0:03.34 fail2ban-server
 2003 root      25   0  9148 1396 1136 S    0  0.0   0:00.01 mysqld_safe
 3154 mysql     15   0  238m  23m 6308 S    0  0.8   0:12.10 mysqld
 3156 root      23   0  3860  628  536 S    0  0.0   0:00.00 logger
 3294 postfix   15   0 39244 2384 1880 S    0  0.1   0:00.00 pickup
 3335 root      15   0 37180 2432 1908 S    0  0.1   0:00.70 master
 3344 postfix   15   0 52536 3040 2344 S    0  0.1   0:00.02 qmgr
 3357 root      15   0 34060 1656 1248 S    0  0.1   0:00.11 pure-ftpd-mysql
 3369 root      18   0 39056  920  568 S    0  0.0   0:00.00 dovecot
 3370 root      15   0 74904 3400 2604 S    0  0.1   0:00.00 dovecot-auth

Last edited by ginner159; 12th June 2013 at 02:18. Reason: add pstree output
Reply With Quote