Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-27-2007, 01:59 AM   #1
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
Question Wall command

There is a utility called "wall" to send messages to all the users who are logged in.

I hv. a setup of 250 thin clients having mozilla browser in build. Through this mozilla browser the users are accessing the application developed under LAMP on a server from these thin clients.

While shutting down the server I didn't came to know that somebody is working i.e. using the server's application or not. Hence I want to know the method by which i can pass a message to all such users.

Secondly on my another server nearabout 50 users are logged in via X session. I want to send message to all these at a time.

Is there any similar utility which will send message to all the gui users under Red Hat Linux?
Old 04-27-2007, 04:08 AM   #2
LQ Newbie
Registered: Apr 2007
Location: UK
Distribution: HPUX, Centos
Posts: 14

Rep: Reputation: 0
When you use the shutdown command you get an option to notify all users on the system and to give them time to log off.

Thats what i do when i need to reboot a hpux box anyway, but i'm sure i have seen the same command in linux.
Old 04-27-2007, 05:10 AM   #3
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Original Poster
Rep: Reputation: 15
Wall command

No doubt that shutdown sends message while shutting down the server and it waits until the grace period is over. But after that specific grace period the server gets shutdown.

In case if any users informs me that he is working then i will have to kill the shutdown process manually. Instead of that if there is any utility then i can wait for 5-10 minutes for the user call,if not replied by him then i can directly shutdown the machine.

Old 04-27-2007, 06:42 AM   #4
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
shutdown -k
Don't really shutdown but just send the message?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wall command won't work WilliamS Slackware 1 02-23-2007 12:54 AM
Is users whom have access to `wall` command a security risk? jon_k Linux - Security 1 08-31-2004 08:31 PM
fire wall berrance Red Hat 2 08-21-2004 12:55 PM
wall command not outputing to screen aaronj Fedora 1 06-11-2004 04:40 AM
open wall sqn Linux - Security 2 03-15-2003 05:17 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:40 AM.

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