Re: Shell Script needed

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54775
interpreted = N
texte = >On 12/9/03 12:40 AM, "Alain Russell" >wrote: > >> Sounds to me like you have some bad code somewhere .. the versions of Web= DNA >>> 4.5 are pretty solid, especially when the WebDNAmonitor is running. >> >> What is 'heavy traffic' ? > >2 T-1 lines completely saturated at times. >1 dual 1 gig server with 1.5 gigs or ram. >Millions and millions of files served daily. > >> >> try this version .. >> >> #!/bin/sh >> cd /Library/WebServer/CGI-Executables/Webcatalogengine >> /Library/WebServer/CGI-Executables/Webcatalogengine/webcatalogctl stop >> > >WebatalogCtl will not work. I get an error saying the app webdna monitor >(monior? Misspelling in code?) is already running. Cannot stop webcatalog. > >I can use the terminal to ps & grep to get a line that contains the >webcatalog PID, but I have no idea of how to extract just the pid from that >line or to use the PID in a kill -9 command. Try killall instead of kill. killall takes a process name instead of a= process id as kill does. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Shell Script needed ( John Peacock 2003)
  2. Re: Shell Script needed ( Paul Uttermohlen 2003)
  3. Re: Shell Script needed ( John Peacock 2003)
  4. Re: Shell Script needed ( Christer Olsson 2003)
  5. Re: Shell Script needed ( Andy Mowrey 2003)
  6. Re: Shell Script needed ( Paul Uttermohlen 2003)
  7. Re: Shell Script needed ( Christer Olsson 2003)
  8. Re: Shell Script needed ( Paul Uttermohlen 2003)
  9. Re: Shell Script needed ( "Alain Russell" 2003)
  10. Re: Shell Script needed ( Paul Uttermohlen 2003)
  11. Re: Shell Script needed ( Alain Russell 2003)
  12. Re: Shell Script needed ( Paul Uttermohlen 2003)
  13. Re: Shell Script needed ( Alain Russell 2003)
  14. Shell Script needed ( Paul Uttermohlen 2003)
>On 12/9/03 12:40 AM, "Alain Russell" >wrote: > >> Sounds to me like you have some bad code somewhere .. the versions of Web= DNA >>> 4.5 are pretty solid, especially when the WebDNAmonitor is running. >> >> What is 'heavy traffic' ? > >2 T-1 lines completely saturated at times. >1 dual 1 gig server with 1.5 gigs or ram. >Millions and millions of files served daily. > >> >> try this version .. >> >> #!/bin/sh >> cd /Library/WebServer/CGI-Executables/Webcatalogengine >> /Library/WebServer/CGI-Executables/Webcatalogengine/webcatalogctl stop >> > >WebatalogCtl will not work. I get an error saying the app webdna monitor >(monior? Misspelling in code?) is already running. Cannot stop webcatalog. > >I can use the terminal to ps & grep to get a line that contains the >webcatalog PID, but I have no idea of how to extract just the pid from that >line or to use the PID in a kill -9 command. Try killall instead of kill. killall takes a process name instead of a= process id as kill does. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Christer Olsson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

My solution... (1996) Emailer choke (1997) [sendmail] and [formvariables] (1997) Security Hole - NetCloak Update (1998) A sendmail warning (2005) CAPTCHA system in webDNA (2005) WCS Newbie question (1997) Comments Convertion (1998) Before I Can Begin . . . (1998) turning every 5th line red (1999) Search in 2 or more catalogs (1997) Getting URL's entered manually (1997) Cart Numbers (1997) triggers (2002) Signal Raised error (1997) can WC render sites out? (1997) Accented chars and emailer (1998) Security Question (1997) page redirect in webDNA (1997) 2.0 Info (1997)