[ previous ] [ next ] [ threads ]
 
 From:  Christiaens Joachim <jchristi at oce dot be>
 To:  "'Boris Rudoy'" <boris at rudoy dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  RE: [m0n0wall] memory usage
 Date:  Fri, 23 Jan 2004 18:04:09 +0100
> -----Original Message-----
> From: Boris Rudoy [mailto:boris at rudoy dot com]
> 
> How can I see current memory usage? As I understand it depend 
> of number of
> connection, rules and other factors. Status.php show me 
> available memory ,
> but it doesn't looks like dynamic current usage.

Just answered 5 minutes ago by Mark Spieth: run top from exec.php

<quote>

If you run top from exec.php you should get back CPU process and memory
info.

$ top
last pid:  4477;  load averages:  0.00,  0.00,  0.00  up 0+23:35:47
11:49:00
14 processes:  1 running, 12 sleeping, 0 zombie

Mem: 4708K Active, 3456K Inact, 11M Wired, 5232K Buf, 469M Free
Swap: 

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
   72 root      10   0  1448K  1200K nanslp   0:02  0.00%  0.00% ipmon
   84 root       2   0  2240K  1112K select   0:01  0.00%  0.00%
mini_httpd
   79 root       2   0  1016K   740K select   0:01  0.00%  0.00% syslogd
 2270 root       2  10  2472K  1960K select   0:00  0.00%  0.00% racoon
 1900 root       2  10  2516K  1744K select   0:00  0.00%  0.00% snmpd
 4473 root      -6  10  2408K  2076K piperd   0:00  0.00%  0.00% php
 4268 root      10  10  1324K   852K wait     0:00  0.00%  0.00% sh
 4269 root      10  10  1096K   788K nanslp   0:00  0.00%  0.00% msntp
  114 root       3   0  1328K   856K ttyin    0:00  0.00%  0.00% sh
 4476 root      10  10  1324K   828K wait     0:00  0.00%  0.00% sh
 4258 nobody     2  10   948K   692K select   0:00  0.00%  0.00% dnsmasq
 4475 root      -6   0  2244K  1172K piperd   0:00  0.00%  0.00%
mini_httpd
 4477 root      48  10  1860K   908K RUN      0:00  0.00%  0.00% top

</quote>

Joachim


-----------------------------------------------
MISSION STATEMENT 
-----------------------------------------------

effectively by offering innovative print and document management products
and services for professional environments.

-----------------------------------------------
DISCLAIMER 
-----------------------------------------------
This e-mail message and any attachment are intended for the sole use of the
recipient(s) named above and may contain information which is confidential
and/or protected by intellectual property rights.
Any use of the information contained herein (including, but not limited to,
total or partial reproduction, communication or distribution in any form) by
other persons than the designated recipient(s) is prohibited.

If you have received this e-mail in error, please notify the sender either
by telephone (0032-2-729.48.11) or by e-mail and delete the material from
any computer.
Oce-Belgium/Oce-Interservices is nor responsible for the correct and
complete transfer of the contents of the sent e-mail, neither for the
receipt on due time.  This e-mail message does not bring about a contractual
obligation for Oce-Belgium/Oce-Interservices.

Thank you for your cooperation.

For further information about Oce-Belgium/Oce-Interservices please see our
website at www.oce.be

-----------------------------------------------