to shutdown

Login or Register to Reply

Thread Tools Search this Thread
# 1  
to shutdown

Could somebody tell me the solution to my problem.
the question is as follows
there is one unix server and 100 dummy terminals connected to my server, i want to shutdown client system if some of the
client forgetten to power down their system.
plez provide me the code for that.
# 2  
If there are dummy terminals connected I makes no matter as far as I'm aware.

Shutdown in the normal way that you would and you'll have no problems.

shutdown -r now

-r for reboot
-h for halt

you can also specify a time period instead of using "now"
# 3  
wouldn't that shut down the system not the client?

rajashekaran are you looking for a script that "polls" the client - decides if it active then disconnects it if it isn't?

Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Script to force Oracle database shutdown when shutdown immediate does not work
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and...... UNIX for Dummies Questions & Answers
UNIX for Dummies Questions & Answers
'shutdown' and 'cat'
Hi All, This is actually a good interview question. On linux, the permissions and group for 'shutdown' and 'cat' is the same. -rwxr-xr-x 1 root root 18K 2008-05-21 10:43 shutdown -rwxr-xr-x 1 root root 17K 2007-01-30 19:51 cat Then why is it that a...... UNIX for Dummies Questions & Answers
UNIX for Dummies Questions & Answers
server is getting shutdown
Hi Guys, Please help in this...when we start HACMP services ..server is getting shutdon. Error mesg from cluster.log. Apr 14 08:43:27 bascop17 snmpd: NOTICE: SMUX trap: (0 0) ( Apr 14 08:43:33 bascop17 topsvcs: (Recorded using libct_ffdc.a cv 2):::Error ID:...... AIX
Firstly uname -a = UnixWare companyname 5 7.1.4 i386 x86at SCO UNIX_SVR5 Server is an HP Proliant ML350 G4 Tower Right, now to the problem. We frequently have power outtages and lightning strikes here due to our location in a VERY rural part of the UK. As such, I need to be able to remotely...... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users
Shutdown script
Hi Guys, I want to execute few of my bash script, so that whenever someone calls shutdown now -r command, I want my script to execute first before shutting down. Any help please????? I've just started playing with the unix system, so far its been brilliant....... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users