LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-27-2007, 12:59 AM   #1
cjagdish69
Member
 
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, 03:08 AM   #2
Slaine
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, 04:10 AM   #3
cjagdish69
Member
 
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, 05:42 AM   #4
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

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


Reply

Tags
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-22-2007 11:54 PM
Is users whom have access to `wall` command a security risk? jon_k Linux - Security 1 08-31-2004 07:31 PM
fire wall berrance Red Hat 2 08-21-2004 11:55 AM
wall command not outputing to screen aaronj Fedora 1 06-11-2004 03:40 AM
open wall sqn Linux - Security 2 03-15-2003 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:01 PM.

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