ASPL User Guide v 1.00
© 2025 Bassem W. Jamaleddine


L

   ASPL Differential Group Operations Output Explained

This appendix contains miscellaneous notes explaining how to interpret the output on operations carried out in ASPL on differential group variables.

■ Explaining Output of Changes in a Process


Condiser the differential group variable P that we need to list its historical:
full view

Image File

 -FG- Fig. L.1   [P-differential-group-variable-representing-a-process-explained][Differential Group Variable Representing a Process Explained]
ASPL © 2025 by Bassem W. Jamaleddine


The differential group operator that shows the changing states in P. To find the unchanged states in P, we repeat the operation however with tick with `ks=

full view

Image File

 -FG- Fig. L.2   [Differential Group Operator on Changed States in a Process Explained][Differential Group Operator on Changed States in a Process Explained]
ASPL © 2025 by Bassem W. Jamaleddine


To find the unchanged states in P, we repeat the operation however with tick with `ks=

full view

Image File

 -FG- Fig. L.3   [Differential Group Operator on Unchanged States in a Process Explained][Differential Group Operator on Unchanged States in a Process Explained]
ASPL © 2025 by Bassem W. Jamaleddine


State Changes in Differential Group Variable Representing a Process Explained
full view

Image File

 -FG- Fig. L.4   [State Changes in Differential Group Variable Representing a Process Explained][State Changes in Differential Group Variable Representing a Process Explained]
ASPL © 2025 by Bassem W. Jamaleddine


Rate of Changes in a Process Explained
full view

Image File

 -FG- Fig. L.5   [Rate of Changes in a Process Explained][Rate of Changes in a Process Explained]
ASPL © 2025 by Bassem W. Jamaleddine


Similarity in the States of a Differential Group Variable Representing a Process Explained
full view

Image File

 -FG- Fig. L.6   [Similarity in the States of a Differential Group Variable Representing a Process Explained][Similarity in the States of a Differential Group Variable Representing a Process Explained]
ASPL © 2025 by Bassem W. Jamaleddine


Rate of Changes in the Dissimilarity of a Process Explained
full view

Image File

 -FG- Fig. L.7   [Rate of Changes in the Dissimilarity of a Process Explained][Rate of Changes in the Dissimilarity of a Process Explained]
ASPL © 2025 by Bassem W. Jamaleddine


 

■ Explaining Output of Changes in a UNIX Directory

The script monitordir.aspl is run to monitor the directory /tmp/testdir1. The changes in the directory are recorded in the differential group variable mydir. Here we show the changes in the directory by using various ASPL operations.

State Changes in Differential Group Variable Representing a Directory Explained
full view

Image File

 -FG- Fig. L.8   [State Changes in Differential Group Variable Representing a Directory Explained][State Changes in Differential Group Variable Representing a Directory Explained]
ASPL © 2025 by Bassem W. Jamaleddine


Rate of Changes in Differential Group Variable Representing a Directory Explained
full view

Image File

 -FG- Fig. L.9   [Rate of Changes in Differential Group Variable Representing a Directory Explained][Rate of Changes in Differential Group Variable Representing a Directory Explained]
ASPL © 2025 by Bassem W. Jamaleddine


Playop on the Differences in a Directory Continuously 1st Explained
full view

Image File

 -FG- Fig. L.10   [Playop on the Differences in a Directory Continuously 1st Explained][Playop on the Differences in a Directory Continuously 1st Explained]
ASPL © 2025 by Bassem W. Jamaleddine




Playop on the Differences in a Directory Continuously 2nd Explained
full view

Image File

 -FG- Fig. L.11   [Playop on the Differences in a Directory Continuously 2nd Explained][Playop on the Differences in a Directory Continuously 2nd Explained]
ASPL © 2025 by Bassem W. Jamaleddine

 

■ Explaining Output of System Interrupts


full view

Image File

 -FG- Fig. L.12   [Differential Group Variable Representing System Interrupt Explained][Differential Group Variable Representing System Interrupt Explained]
ASPL © 2025 by Bassem W. Jamaleddine


To find the changed states in UNIX system interrupts ints, we use the command verb playchanges on the differential group variable ints.
full view

Image File

 -FG- Fig. L.13   [State Changes in Differential Group Variable Representing System Interrupts Explained][State Changes in Differential Group Variable Representing System Interrupts Explained]
ASPL © 2025 by Bassem W. Jamaleddine


Once the command playchanges terminates execution, it displays the rate of changes in UNIX system interrupts represented by ints.
full view

Image File

 -FG- Fig. L.14   [Rate of Changes in Differential Group Variable Representing System Interrupts Explained][Rate of Changes in Differential Group Variable Representing System Interrupts Explained]
ASPL © 2025 by Bassem W. Jamaleddine




Since the ints identifier represents a differential group variable (where we recorded the changes in state of the system interrupts), it is possible to use the command verb playop on the set operator displaying the union of these recorded datasets. The following figure shows the operation

aspl> playop fU,`ks~ ints

Notice here that we used the elements union, and we ticked with the predicate `ks~ to contrast the changes in the interrupts.

full view

Image File

 -FG- Fig. L.15   [Playop on the Elements Union Differing in System Interrupts Explained][Playop on the Elements Union Differing in System Interrupts Explained]
ASPL © 2025 by Bassem W. Jamaleddine


The coder of the ggsysinterrupts.pm has coded the ggsysinterrupts() to return a GADg whose elements are the CPU numbers, and the interrupts are part of the additional attributes (see the metagrouping command for creating the corresponding element grouping class). Looking insider the ggsysinterrupts() function, one can locate the following assignments
    ${ $gadGrps->{$glabel}->{'Core'}->{$CPUno} } {mtime} = $time;
    ${ $gadGrps->{$glabel}->{'Core'}->{$CPUno} } {$INTno} = $C->[$i]->[$j];


Once a GG-function is put in place by the function coder, ASPL users can use it transparently and they do not need to bother with the internals of the function.

What is to be considered a subgroup or an element is left to the coder of the GG-function. ASPL set operations are coherent, and they perform their algorithmic operations based on the shape of the set variable, and on the layout of the subgroups and the elements within the set variable.