( ** Go back to PARENTPAGE ../Script-bay12-sh.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

Simulation to monitor the water level between two bays

The following UNIX shell script shows how to monitor the water level between two bays in a one liner ASPL command. The command is series of ASPL statements separated by semicolon. An iterative loop is triggered by iterrogating the set operator. The script reports when the water level is CRITICAL.

1 Cmd#1 on Machine vienna User root
(ndxNo=1 Cmd# No=1 on Machine vienna User root no_tm_u_h_cwd=1:20:36 root@vienna /public/teebash/SHLL_BAY12 u_h=root@vienna)
BASH 1:20:36 root@vienna /public/teebash/SHLL_BAY12 # bay12.sh
monitor the water level between two bays by running bay12.sh

2 Cmd#2 on Machine vienna User root
(ndxNo=2 Cmd# No=2 on Machine vienna User root no_tm_u_h_cwd=1:21:7 root@vienna /public/teebash/SHLL_BAY12 u_h=root@vienna)
BASH 1:21:7 root@vienna /public/teebash/SHLL_BAY12 #