Need help to restart httpd and a way to track bandwidth

Discussion in 'DD-WRT Firmware' started by Rurimoon, Oct 21, 2005.

  1. Rurimoon

    Rurimoon Network Guru Member

    I am *nix dummies, so can anyone tell me how to restart the httpd? I am using v22final. I am always on the status page and it keep refreshing itself, but since httpd has the memory leak the WRT restart serval times a day. Can anyone tell me how to restart httpd manually in telnet? I did
    # Killall httpd
    # httpd
    but it just give me a blank page when I login...
    Also how do I set the cron job to restart like once every hr ?
    btw, i know how to use vi ..

    also anyone know of a quick way to find out the bandwidth used for the 4 local ports? I use wrtbwlog to log the WAN port, but I also need to monitor the 4 ports. Beside, wrtbwlog refresh itself all the time so it reboot all the time.
    Any utility that I can set up to monitor those port?? I think I need to use SNMP but it's seems hard to setup..
     
  2. Cyberian75

    Cyberian75 Network Guru Member


    Code:
    httpd -d /www
     
  3. pasys

    pasys Network Guru Member

    you can install it on /jffs and then create a startup script so that it boots everytime , even the router does reboot
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice