Search the web
Sign In
New User? Sign Up
heyu_users · heyu users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Sharing a script   Message List  
Reply | Forward Message #3423 of 3752 |
Re: [heyu_users] Sharing a script


Just out of curiosity, why didn't you use "wall"?

> I tend to develop heyu scripts and monitor activity remotely using ssh.
> In addition to echoing messages in a file, I like to see certain heyu
> activity on the terminal when an event happens. Below is a script that,
> as a result of A1 transitioning from OFF to ON, will send the appropriate
> message and date & time to all of the ssh terminal sessions I have open. I
> am sharing it, thinking it would be useful for others to use, as well as
> how to use some of the bash scripting language. This script is pretty
> basic and I've made a lot of variations, but the basic idea is still the
> same....monitor for a sensor operation and inform the user in an ssh
> session(s). One can also slightly modify the script to deal with std term
> sessions (ttySx) instead of virtual ssh terminals...
> John
>
>
> SCRIPT -l testscript3 A1 on rcvi sndc :: heyu fon C1; echo "Alarm
> Triggered">my_file; for PTS in $(w|grep -o pts/.) ; do
> date>>/dev/$PTS;echo "Motion sensor triggered">> /dev/$PTS;done




Wed Jul 8, 2009 8:49 pm

ipsemdolorum
Online Now Online Now
Send Email Send Email

Forward
Message #3423 of 3752 |
Expand Messages Author Sort by Date

I tend to develop heyu scripts and monitor activity remotely using ssh. In addition to echoing messages in a file, I like to see certain heyu activity on the...
bill williams
uniquelogin2000
Offline Send Email
Jul 8, 2009
4:28 pm

Just out of curiosity, why didn't you use "wall"?...
Michael Stowe
ipsemdolorum
Online Now Send Email
Jul 8, 2009
8:49 pm

________________________________ From: Michael Stowe <mstowe@...> To: heyu_users@yahoogroups.com Sent: Wednesday, July 8, 2009 4:49:31 PM ...
bill williams
uniquelogin2000
Offline Send Email
Jul 9, 2009
1:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help