Find the answer to your Linux question:
Results 1 to 2 of 2
Someone at work has requested if i can find out anything on the above. Been googling around as well as i have only been using Linux for 2 months now. ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Location
    South africa
    Posts
    2

    a Script to shutdown a service when a Sybase table reads over a certain count

    Someone at work has requested if i can find out anything on the above.
    Been googling around as well as i have only been using Linux for 2 months now.

    basically there is a SYBASE ASE installation on the server, which a tomcat based website references.They want the service to stop once a certain row limit is reached in the table.

    I know i have to do a count statement on the sybase table from ISQL.
    But how can i create the action "service website stop" once the count value reaches 4000 and export the count value to a variable to action on it

    any help would be really appreciated

    thanks in advance

  2. #2
    Just Joined!
    Join Date
    Aug 2009
    Location
    South africa
    Posts
    2
    maybe i should have intro'd myself first before jumping the hedge ?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...