[IBM i]

The manageWASCollectionServices script

The manageWASCollectionServices script manages the WebSphere® Application Server for IBM® i Collection Services custom service, which collects select Performance Monitoring Infrastructure (PMI) data and other information for IBM i Collection Services.

Syntax

The syntax of the script is:
manageWASCollectionServices [ -profileName profile_name ] [ wsadmin_options ] 
[ -server.name server_name ] [-enable|-disable|-status] [-help]

Parameters

The parameters of the script are:
  • -profileName

    The name of the profile to manage. The default profile is used if no profile is specified.

  • -server.name

    The name of the application server to manage. The default value is the name of the profile, or server1 if the profile is named default.

  • -enable|-disable|-status
    One of the following actions must be specified:
    • -enable

      Enables Collection Services on the specified server. If Collection Services is already enabled, it does nothing.

    • -disable

      Disables Collection Services on the specified server. If Collection Services is already disabled, it does nothing.

    • -status

      Displays whether Collection Services is enabled on the specified server.

  • -help

    Displays help for the script.