Command to shut down and restart the hpux operating system, and restart the hpux Operating System

Source: Internet
Author: User

Command to shut down and restart the hpux operating system, and restart the hpux Operating System
Shutdown-hy 0
Restart: shutdown-ry 0

What is the command for shutting down a LINUX operating system?

Shutdown, halt, reboot, and init can all be safely shut down.
Reference: tieba.baidu.com/f? Kz= 140282806

Does the HP-UX have command parameters for setting Session Timeout?

There are many methods. The simplest is that the system comes with a plan and task. You can set the time to shut down. It is complicated. If you want to go out, but the computer is still working, you need to use automatic shutdown. Most of the methods for implementing automatic shutdown are using some third-party software, which is not only troublesome, but also dedicated to using a software to implement this small function! In fact, Windows XP (Windows 2000 can also be used) has the ability to shut down at a specific time. Let's take a look at how to automatically shut down Windows XP. Windows XP is controlled by the shutdown.exe program and is located in the Windows \ System32 folder. If you want Windows to be the same, copy shutdown.exe to the system directory. For example, to shut down your computer at, you can select start> Run and enter "at Shutdown-s, at, the "system shutdown" dialog box appears. By default, there is a 30-second countdown and you are prompted to save the work. If you want to shut down the server by a time-based method, you can enter “shutdown.exe-s-t 3600 ", which indicates that the server will automatically shut down after 60 minutes, and" 3600 "indicates 60 minutes. If you want to cancel Automatic shutdown, enter "shutdown-a" during running ". In addition, enter "shutdown-I" to open the Set automatic shutdown dialog box and set the automatic shutdown. Each Shutdown.exe parameter has a specific purpose, and each execution will have different effects. For example, "-s" indicates that the local computer is disabled, and "-a" indicates that the shutdown operation is canceled, more parameters are listed below. You can use them as needed in shutdown.exe. -F: forcibly close the application-m \ computer name: Control Remote Computer-I: displays the graphical user interface, but must be the first option of Shutdown-l: logout current user-r: shutdown and restart-t time: Set shutdown countdown-c "message content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters) Sometimes, we need to shut down the computer at regular intervals. Next we will introduce a simple method to implement Timed Shutdown in Windows XP. Specify that the system will automatically shut down after 22 minutes: click "Start> Run", and enter the command "Shutdown-s-t 1320" in "open" (Note: Do not enter the quotation marks, there is a space between parameters, 1320 in seconds), click "OK. Specify that the system is automatically shut down at a certain time (such as): Enter the command "at Shutdown-s" in "open. Cancel Timed Shutdown: Enter the command "Shutdown-a" in "open. All possible implementations are implemented using the "Shutdown" command. The shutdown parameter is input "shutdown" in the command line window ". I think the most useful parameter is the "-I" parameter. The "remote shutdown dialog box" can be called up to facilitate remote shutdown of computers in the LAN. If you are interested, you can try it. Start-Program-accessories-System Tools-scheduler task-add scheduler-next-browse-c: \ windows \ system32 \ shadow.exe-next-select the shutdown time, next step-enter the user name and password, as long as there are some users in the system, but there must be a password, there must also be one, the next step, select "enable advanced properties of this task upon completion", and add "-S" quotation marks to the running column. Respondent: wangshequan-Xiucai Level 2 5-15 "start"-"run", enter the following command line: shutdown-s-t 7200-f press enter to confirm, the computer will shut down in 2 hours, and there will be a countdown to shutdown. Shutdown is the shutdown command,-s indicates that the current computer is shut down,-t xxx ...... the remaining full text>
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.