How to check for "system up" from command line

Sort:
You are not authorized to post a reply.
Author
Messages
Woozy
Veteran Member
Posts: 709
Veteran Member
    Hi All - We are looking for a simple way to determine if our S3 application is "up" from the command line.  By "up", I mean that users should be able to log in and use the system.

    What we are trying to do is find a way for our external scheduler to confirm that S3 is running before it kicks off an external process.

    Is there a command or utility that will provide output that a script can evaluate to determine that the system is available?

    Thanks for your help!
    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    Woozy
    Veteran Member
    Posts: 709
    Veteran Member
      By the way - We're on LSF 9.0.1.11 and S3 Apps 9.0.1.7.
      Kelly Meade
      J. R. Simplot Company
      Boise, ID
      John Henley
      Senior Member
      Posts: 3348
      Senior Member
        Woozy,
        There are a number of command-line methods, namely perl and curl, that you can use to query different elements of Lawson (I usually check the /servlet/Profile, for instance). Keep in mind a few things: 1) have to hard-code the password in the script, 2) if you use ssl, you'll need the certificate installed on the scheduler, and 3) it'll all change with Infor 10
        here's an example that uses curl to do an ioscacherefresh:
        https://www.lawsonguru.co...ate-ioscacherefresh/
        Thanks for using the LawsonGuru.com forums!
        John
        Woozy
        Veteran Member
        Posts: 709
        Veteran Member
          Thanks John. I'll have to poke around and see what I can figure out.
          Kelly Meade
          J. R. Simplot Company
          Boise, ID
          You are not authorized to post a reply.