|
||||||||
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 -----Original Message----- From: Darth Moula [mailto:darth underscore moula at atlas dot cz] Sent: Friday, January 23, 2004 11:40 AM To: m0n0wall at lists dot m0n0 dot ch Subject: [m0n0wall] immodest wish Hi, please, may you add new options to the console screen? I wish: - show amount of used/unused/reserved/blah/blah/... memory (ps: I know nothing about memory assignment under FreeBSD, info about used/free may be sufficient) - reset Firewall log - reset DHCP service log or I'm asking: how to do actions above using "exec.php" ? thank, D.M. PS: sorry for my bad grammar :-/ --------------------------------------------------------------------- To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch |