LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2003, 03:10 AM   #1
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
Console message - how do I create one?


I've got a crontab job which will should alert me if a process fails.

How can I create a stonking great console message that will flash up in front of all other windows on my workstation when things go belly up?

Dave
 
Old 08-08-2003, 03:50 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You are probably looking for something like 'wall' check out 'man wall' for more info. I'm not all that familiar with it otherwise I'd give you an example

Cool
 
Old 08-08-2003, 04:23 AM   #3
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Original Poster
Rep: Reputation: 30
wall seems to do the trick.

When an error occurs, I pipe the error message to a file, then call wall <filename> as root. This broadcasts to all users on the box (i.e. me!)

Thanks for that.

Dave
 
Old 08-08-2003, 04:32 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome, glad it works

Cool
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Send message over console stefaandk Linux - Newbie 4 08-15-2005 07:48 PM
Why message appearing on console mstahl Fedora 5 07-15-2005 09:26 PM
Console Message. Carpinus Linux - Newbie 4 01-15-2005 12:46 PM
Strange message on console complus Linux - Software 3 09-02-2003 04:35 AM
Console Message DigitalTygrrr Linux - General 2 04-23-2003 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration