UNIX for Advanced & Expert Users

Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

to shutdown

👤 Login to reply

Old 02-18-2002
rajashekaran rajashekaran is offline
Registered User
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.
Sponsored Links
Old 02-18-2002
Cameron's Unix or Linux Image
Cameron Cameron is offline Forum Advisor  
Registered User
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"
Sponsored Links
Old 02-18-2002
warrend warrend is offline
Registered User
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?

Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script to force Oracle database shutdown when shutdown immediate does not work aixhp UNIX for Dummies Questions & Answers 7 03-11-2010 01:04 PM
'shutdown' and 'cat' scottsiddharth UNIX for Dummies Questions & Answers 5 11-25-2008 11:27 PM
shutdown question mokkan Solaris 2 07-16-2008 11:43 PM
Shutdown a system by MAC? deaconf19 Shell Programming and Scripting 7 11-28-2007 12:54 AM
Shutdown aewpcoles UNIX for Advanced & Expert Users 6 08-03-2006 09:46 AM

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

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?