ASPL Manual v 1.00
© 2024 by SetSphere.COM


11-5

   Partitioning Java JMX Jar Files

[Partitioning Java JMX Jar Files]

WORKSPACE JMXPARTITION DESCRIPTION:

This workspace is used to show how to use ASPL set operators to compare Java JMX JAR files by using the partitioning set operators. In the tutorial the 'aspl >' refers to the ASPL prompt, and the '#' refers to the shell prompt.

aspl -wsname JMXPARTITION -groupingclass POSIX
    (start ASPL by loading JMXPARTITION workspace)

①  aspl> v
    (to view the set variables)

②  aspl> sim`fflc jmx1 jmx2 jmx3
    (show similarities between the file checksums in jmx1 jmx2 jmx3)

③  aspl> density jmx1 jmx2 jmx3
    (show density of jmx1 jmx2 jmx3)

④  aspl> ks
    (print the ks vector)

We are mainly interested in the files chksum so we can exclude the mtime

⑤  aspl> ks chksum ppdd ffl
    (set ks vector)

⑥  aspl> fP jmx1 jmx2 jmx3
    (partition according to the elements jmx1 jmx2 jmx3)

⑦  aspl> fP`c= jmx1 jmx2 jmx3
    (partition according to the elements (w. equal checksums) jmx1 jmx2 jmx3)

⑧  aspl> fP`c~ jmx1 jmx2 jmx3
    (partition according to the elements (w. different checksums) jmx1 jmx2 jmx3)

⑨  aspl> f%&`c= jmx1 jmx2
    (compare by showing the alignment (w. equal checksums) between jmx1 and jmx2)

⑩  aspl> f%&`c~ jmx1 jmx2
    (compare by showing the alignment (w. different checksums) between jmx1 and jmx2)

⑪  aspl> f%U jmx1 jmx2
    (compare by showing the alignment between jmx1 and jmx2)

⑫  aspl> gP jmx1 jmx2 jmx3
    (partition according to the files and directories jmx1 jmx2 jmx3)

⑬  aspl> dP jmx1 jmx2 jmx3
    (partition according to subgroups or directories jmx1 jmx2 jmx3)

⑭  aspl> f\ jmx1 jmx2
    (show the difference between jmx1 and jmx2)

⑮  aspl> f\ jmx2 jmx1
    (show the difference between jmx2 and jmx1)

This example is shown in the following terminal.

       terminal for example: Partitioning Java JMX Jar Files
viewme

 -E- Display. 11.5.1   [PARTITIONING JAVA JMX JAR FILES][Partitioning Java JMX Jar Files]
Terminal showing Partitioning Java JMX Jar Files