Example Salmon Usage

Foreign fish.

 

Command salmon:
Use salmon as a multi application start icon.
 
$ salmon read :commands
 
:commands
magnify 1
line=display_setting=|Blank|_command=/usr/home/user/bin/blank
line=display_setting=|Blank|One|_command=/usr/home/user/bin/blank1
line=display_setting=|FMan|_command=/usr/home/user/bin/fman
line=display_setting=|Midnight|_command=:midnight
Remote control salmon:
Salmon daemon on the remote host.
 
remote$ salmon -execport 50000 -magnify 1 -display theranch:1 -daemonize
 
Use salmon on local host to start another salmon on the remote host:
 
# Label :Remote in .../etc/salmon.cfg
 
:Remote
execute
execport 50000
exechost remote
execcmd salmon read :Local
 
:Local
foreground yellow
magnify 1
line=hostname
line=ostype
line=format=|%l:%M:%S|%Z|
line=thermal_warning=90_critical=100_sound=3_sound1=6
line=updays
line=powerstate_warning=20_critical=10_color2=red
appname=Remote
display=local:0
 
Put salmon on remote host in the Wharf on local host:
 
*Wharf Remote - Swallow "Remote" /usr/local/alter/bin/salmon -read :Remote &
 
Repeat for each host to be monitored.

* * o * *