Git Product home page Git Product logo

pasoe-cli's Introduction

pasoe-cli

A standalone CLI tool for managing agents, no (nodejs, Java, etc) runtime needed. The primary aim for now is to list, add and kill agents. PREREQUISITE: oemanager must be installed.

Example:

C:\dev\go\pasoe-cli\build>pasoe agent list
[crm] agent: UWGqyGbZSHG0n0KahvDpRA (pid: 12560)
[order] agent: KldZgISgT56OTeocwxQ6RQ (pid: 20112)
[order] agent: R-SAT9dwQeax3Qwn5Tm2Xg (pid: 24852)

(this pasoe instance has two ABL applications, crm & order)

More:

pasoe agent add --app crm -n 2
pasoe agen kill --app order --all

For help on the commands:
pasoe --help

There some global option to this CLI tool:

A CLI tool for PAS instance (agent) management

Usage:
  pasoe [command]

Available Commands:
  agent        list/add/kill agents
  agentsession A command handling agent sessions
  application  Command for action related to (OEABL) applications
  completion   Generate the autocompletion script for the specified shell
  help         Help about any command
  version      Displays the version number

Flags:
      --config string     config file (default is $HOME/.pasoe-cli.yaml)
  -h, --help              help for pasoe
      --host string       hostname (default "localhost")
  -p, --password string   password (default "tomcat")
      --port int          port (default 8810)
      --protocol string   protocol, http or https (default "http")
  -u, --user string       username (default "tomcat")

Use "pasoe [command] --help" for more information about a command.

By: Bronco Oostermeyer, 2022, 2023 License: GPL3

pasoe-cli's People

Contributors

bfv avatar

Stargazers

 avatar

Watchers

 avatar

pasoe-cli's Issues

Add server process for guarding memory limits

Proposed syntax: pasoe guard [ --mem-total <mem-size in MiB> | --mem-agent <mem-size in MiB> ] --polltime <time in s>

The idea is to create a resident process which queries the pas instance for memory usage and to guard the specified limits. Once those limits are exceeded agets are trimmed.

add command for listing agents sessions

The agent sessions are run on threads which do the actual work. OEABL sessions run within a agent session (so, a thread). Since the word session is a bit ambiguous assign and worker alias for agentsession.

implement pasoe worker list for this issue, with --app parameter. A per agent option --agent could be for a follow up issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.