ASPL Manual v 1.00
© 2024 by SetSphere.COM
Reap the environment of WebSphere JVM startup processes and compare them using ASPL set operations.
[Top Text]
1. #!/usr/bin/env aspl 2. #ENVARG= -wsname TRANSIENT -groupingclass SYSENVGROUP -nostrictld 3. 4. ;;*********************************************************************** 5. ;; progenvshellscompare.aspl 6. ;; 7. ;; Copyright © 2021-2024 Bassem W. Jamaleddine 8. ;; Copyright © 2024 Total Computing & Network Design, Inc. 9. ;; All rights reserved. 10. ;; 11. ;;*********************************************************************** 12. 13. endScriptIfShellArgsLessThan 1 ;; end the script unless at least one argument 14. 15. printblock *** COMPARING PROGRAMS ENVIRONMENT VARIABLES *** 16. S = ggshellsenv(grp1,L,shells,$1,onlychanged,1) 17. printblock *** MATCHING PROGRAMS ENVIRONMENT VARIABLES *** 18. fU,`ks= S 19. printblock *** DIFFERED PROGRAMS ENVIRONMENT VARIABLES *** 20. fU,`ks~ S 21. printblock *** SIMILARITY COMPARISON *** 22. sim S 23. dm 3 24. v 25. 26. __END__ 27. 28. $00 command to merge the environment variables of a serie of shell scripts 29. and display them. 30. 31. $00 must be followed a series of shell scripts separated by | pipe symbol 32. 33. Example: 34. $00 "/tools/env/setj.sh w130 | /tools/env/setj.sh w142" 35. $00 "/tools/env/setj.sh w141 | /tools/env/setj.sh w142" 36. $00 "/tools/env/setj.sh w160 | /tools/env/setj.sh j160" 37. $00 "/tools/env/setj.sh w130 | /tools/env/setj.sh w141 | /tools/env/setj.sh w142" 38.
This example is shown in the following terminal.
display or terminal for Example: Script progenvshellscompare.aspl