plist
plist [ -name <package name> ] [ -gen <all|nogenerated|onlygenerated> ] [ -archive [<package archive name>] ] [ -class [<java class name>] ] [ -resource [<java resource name>] ] [ -compact ] [ -inactive ]
This command lists packages installed in the system. The list shows an overview of each package's user, version, repository, revision, and date. You can use options to filter packages and view detailed information such as archives, java classes, and resources.
Option | Description |
---|---|
-name <package name> | Use this option to show package info for |
-gen <nogenerated|onlygenerated|all> | Use this option to show packages that are generated by Ultra and APL configurations. |
-archive [ <package archive name> ] | Use this option to show archive information for |
-class [ <java class name> ] | Use this option together with |
-resource [ <java resource name> ] | Use this option together with |
-compact | Use this option to show the package information in a compact format. |
-inactive | Use this option to show the packages currently not activated by the license. |
Example - Using the -name flag
$ mzsh <username>/<password> plist -name Core
Output:
Overview of Core: Version: 7.2.0.0 Repository: Revision: ae3245cb47185027d32f28c2098af8fdd0f724db Date: 2015-09-02 17:35:38
Example - Using the -gen flag
$ mzsh <username>/<password> plist -gen onlygenerated
Output:
Overview of _JavaCode_MZ1438686422047: Version: 8/7/15 3:25 PM Repository: n/a Revision: 8/7/15 3:25 PM Date: 2015-08-07 15:25:02
Example - Using the -archive flag
$ mzsh <username>/<password> plist -name Analysis -archive
Output:
Â
Overview of Analysis: Version: 7.2.0.0 Repository: Revision: ae3245cb47185027d32f28c2098af8fdd0f724db Date: 2015-09-02 17:35:38 Archives in Analysis: (Analysis, 7.2.0.0) analysis/mz-ANALYSIS-ui.jar, 70471 bytes (platform) (Analysis, 7.2.0.0) analysis/mz-ANALYSIS-main.jar, 87980 bytes (execution)
Example - Using the -resource flag
$ mzsh <username>/<password> plist -name Analysis -archive analysis/mz-ANALYSIS-main.jar -resource
Output:
Details for package Analysis archive analysis/mz-ANALYSIS-main.jar: (Analysis, 7.2.0.0) analysis/mz-ANALYSIS-main.jar, 87980 bytes (execution) Resources for analysis/mz-ANALYSIS-main.jar: META-INF/MANIFEST.MF com/digitalroute/wfc/analysis/AnalysisTC_en.properties com/digitalroute/wfc/analysis/analysis.svg
Example - Using the -class flag
$ mzsh <username>/<password> plist -name Analysis -archive analysis/mz-ANALYSIS-main.jar -class
Output:
Details for package Analysis archive analysis/mz-ANALYSIS-main.jar: (Analysis, 7.2.0.0) analysis/mz-ANALYSIS-main.jar, 87980 bytes (execution) Classes for analysis/mz-ANALYSIS-main.jar: com.digitalroute.wfc.analysis.AnalysisAgent com.digitalroute.wfc.analysis.AnalysisRealtimeExec com.digitalroute.wfc.analysis.AnalysisRealtimeInsp$1 ...
Return Codes
Listed below are the different return codes for the plist
command:
Â
Code | Description |
---|---|
0 | Will be returned if the command was successful. |
1 | Will be returned if the command was unsuccessful. |
Note!
This command requires that the user is logged in.