Re: Shell Script needed

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54776
interpreted = N
texte = On 12/9/03 2:08 PM, "Christer Olsson" wrote: >> On 12/9/03 12:40 AM, "Alain Russell" >> wrote: >>=20 >>> Sounds to me like you have some bad code somewhere .. the versions of W= ebDNA >>>> 4.5 are pretty solid, especially when the WebDNAmonitor is running. >>>=20 >>> What is 'heavy traffic' ? >>=20 >> 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. >>=20 >>>=20 >>> try this version .. >>>=20 >>> #!/bin/sh >>> cd /Library/WebServer/CGI-Executables/Webcatalogengine >>> /Library/WebServer/CGI-Executables/Webcatalogengine/webcatalogctl stop >>>=20 >>=20 >> WebatalogCtl will not work. I get an error saying the app webdna monitor >> (monior? Misspelling in code?) is already running. Cannot stop webcatalo= g. >>=20 >> 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 t= hat >> line or to use the PID in a kill -9 command. >=20 > Try killall instead of kill. killall takes a process name instead of a pr= ocess > id as kill does. > -- >=20 > ************************************************************* > 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 >=20 > ------------------------------------------------------------- > 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/ Thanks Christer, KillAll is not installed on my OSX box. Where can I get it? I know it installs by default on most Linux boxes. Paul ------------------------------------------------------------- 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 2:08 PM, "Christer Olsson" wrote: >> On 12/9/03 12:40 AM, "Alain Russell" >> wrote: >>=20 >>> Sounds to me like you have some bad code somewhere .. the versions of W= ebDNA >>>> 4.5 are pretty solid, especially when the WebDNAmonitor is running. >>>=20 >>> What is 'heavy traffic' ? >>=20 >> 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. >>=20 >>>=20 >>> try this version .. >>>=20 >>> #!/bin/sh >>> cd /Library/WebServer/CGI-Executables/Webcatalogengine >>> /Library/WebServer/CGI-Executables/Webcatalogengine/webcatalogctl stop >>>=20 >>=20 >> WebatalogCtl will not work. I get an error saying the app webdna monitor >> (monior? Misspelling in code?) is already running. Cannot stop webcatalo= g. >>=20 >> 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 t= hat >> line or to use the PID in a kill -9 command. >=20 > Try killall instead of kill. killall takes a process name instead of a pr= ocess > id as kill does. > -- >=20 > ************************************************************* > 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 >=20 > ------------------------------------------------------------- > 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/ Thanks Christer, KillAll is not installed on my OSX box. Where can I get it? I know it installs by default on most Linux boxes. Paul ------------------------------------------------------------- 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/ Paul Uttermohlen

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:

WebCat & WebTen (1997) sendmail and accented characters (1998) cybercash on OSX - was Executing remote AppleScript (2000) Trouble with [fileinfo] - update (2004) [convertChars] and HTML Tags (1997) Active Server Code... (1998) Macauth: Dates and No Scripting... (1997) Multiple Ad databases? (1997) WebCat2 several catalogs? (1997) still having shipCost.db Problem (1997) [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (2010) Bug Report, maybe (1997) Getting Total Quantity (1997) upgrading (1997) Multiple Pulldowns (1997) WebCat b13 CGI -shownext- (1997) japanese characters (1997) [OT] Industry standard for missing orders (2003) target=_blank and form variables (1997) Updating fields from different platforms (1998)