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:

Unique SKU Numbers (2000) International Orders (1998) [WebDNA] API Integration (2010) Dates (1996) [isfile] ? (1997) Closing Databases (1998) Dreamweaver MX (again) (2002) WebCatalog Technical Reference (1997) [UPPERCASE] (1997) [quantity] solved (1997) How do I get Google to crawl a WebCat site? (2003) Authenticating users without dialog box (1997) [OT] Mac OSX and SSH Telnet (2000) suffix mapping for NT? (1997) Remove me from your list immeadiately (1999) Search in 2 or more catalogs (1997) Database changes (1998) No Wanna Duppys (1998) [ShowIf] and empty fields (1997) Javascript Stored in a Database (2003)