Moab Accounting Manager > Appendices > Appendix A: Commands Reference > glsnot

glsnot

Synopsis

glsnot [-E <event_id>] [-T <notification_type>] [-k <primary_key_value>] [-u <recipient>] [-x <status>] [-s <start_time>] [-e <end_time>] [--delete] [--full] [--show <attribute_name>,...] [--format<output_type>] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version] [[-N] <notifiction_id>]

Overview

glsnot displays stored notification information.

You can customize the fields this command displays by default by setting the notification.show configuration parameter in gold.conf.

Options

-e
Format -e <end_time>
Default ---
Description

Displays the notifications sent before the specified time in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now.

-E
Format -E <event_id>
Default ---
Description

Displays only the notifications associated with the specified event ID.

-k
Format -k <primary_key_value>
Default ---
Description

Displays only the notifications associated with the specified primary key value. This value of the primary key of the object instance that the command acted on.

-N
Format [-N] <notification_id>
Default ---
Description

Displays only the notifications with the specified ID.

-s
Format -s <start_time>
Default ---
Description

Displays notifications sent after the specified time in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now

-x
Format -x <status>
Default ---
Description

Displays notifications having the specified status (such as Success or Failure).

-T
Format -T <notification_type>
Default ---
Description

Displays notifications of the specified type (such as Fire or Failure).

-u
Format -u <recipient>
Default ---
Description

Displays notifications having the specified recipient. This could be a user name or any tag that identifies the intended reader of this notification.

--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

--delete
Format --delete
Default ---
Description

Deletes a notification after it has been queried.

--format
Format --format <output_format>
Default standard
Description Specifies a data output format. Valid values include standard and csv.
--full
Format --full
Default ---
Description Displays all attributes.
--help
Format --help
Default ---
Description

Displays a brief help message.

--man
Format --man
Default ---
Description

Displays full documentation.

--quiet
Format --quiet
Default ---
Description

Suppresses headers and success messages.

--show
Format --show <attribute_name>[,<attribute_name>...]
Default ---
Description

Displays only the specified attributes in the order specified. Valid attributes include the following:

  • Code – Event command exit code.

  • CreationTime – Time this notification was created.
  • Deleted – Boolean indicating whether this notification is deleted or not.
  • EndTime – Time after which a notification will be detected.
  • Event – Event ID.
  • Key – Object primary key value.
  • Id – Notification ID.
  • Message – Event command message.
  • ModificationTime – Time this notification was last modified.
  • Recipient – Recipient to notify.
  • Status – Event command status.
  • RequestId – ID of the last modifying request.
  • TransactionId – ID of the last modifying transaction.
  • Type – Displays the type of notification. Notifications may be created by event "Fire" commands or by event "Failure" commands.
--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--version
Format --version
Default ---
Description

Displays the product version.

Related topics

© 2014 Adaptive Computing