1. #!/usr/bin/env aspl 2. #ENVARG= -groupingclass SYSENVGROUP -wsname TRANSIENT -singlepass 3. 4. ;;*********************************************************************** 5. ;; 6. ;; wasreaper.aspl 7. ;; Reap WebSphere startNode.sh and stopNode.sh then compare the 8. ;; environment variables used by their processes and show how they differ 9. ;; Copyright © 2024 Bassem W. Jamaleddine 10. ;; 11. ;;*********************************************************************** 12. 13. ks varname varvalue chksum ppdd ffl 14. displayoff 15. 16. printblock *** REAPING ENV OF WebSphere startNode.sh *** 17. w1 = ggreapenvbypid(program,/opt/IBM/WebSphere/AppServer/bin/startNode.sh,onlychanged,1) 18. printblock *** REAPING ENV OF WebSphere stopNode.sh *** 19. w2 = ggreapenvbypid(program,/opt/IBM/WebSphere/AppServer/bin/stopNode.sh,onlychanged,1) 20. 21. displayon 22. 23. printblock *** COMPARING WEBSPHERE startNode.sh AND stopNode.sh PROCESSES INTERNALS *** 24. gU w1 w2 25. printblock *** ENV VAR SAME FOR WEBSPHERE startNode.sh AND stopNode.sh PROCESSES INTERNALS *** 26. fU,`ks= w1 w2 27. printblock *** ENV VAR DIFFER FOR WEBSPHERE startNode.sh AND stopNode.sh PROCESSES INTERNALS *** 28. fU,`ks~ w1 w2 29.