Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Shutdown to a Halt and restart Post 302432511 by methyl on Friday 25th of June 2010 07:06:58 AM
Old 06-25-2010
If this is a cluster or there are NFS mounts you will need special instructions to shut down in a sensible manner. These instructions may or may not include a "shutdown" command.


You will need to know more about you "special login thru a console" and what piece of hardware you are connected to and how to toggle between console and server remote management. Is it an iLO (Integrated Lights-Out) or a MP (Management Processor) or a Web Console? We assume it is not just a telnet session.


The unix "shutdown" command just shuts down the Operating System and halts the processor. It does not turn the power off. Most remote power controls only control the system unit not any add-on hardware such as disc arrays.


Beware that unix "shutdown" does not shut down databases etc. unless "rc" scripts have been installed to achieve this.


If you are in a hurryand you have already closed all applications and client connection, this method answers any prompts:
Code:
cd /;/sbin/shutdown -h -y now

 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

where's solaris halt log?

hi folks could tell my anyone where solaris 8 stores the logs about shutdown/halt command. I found no entries in syslog, but there more logs directories. probabaly a stupid question, but fast help would be great! thanks king regards, patrick (6 Replies)
Discussion started by: mrsaint
6 Replies

2. Programming

How to halt Prog Execution for some time?

Hi, Perhaps I am asking a silly question, but I really don't know about it. Can anyone tell me the function for "sleep" kind of functionality in C language for Unix. I don't think any function with the name of sleep() exits in Unix's C language. or perhaps I am not known with the header file... (3 Replies)
Discussion started by: Ahsan
3 Replies

3. Solaris

difference b/w halt shutdown

Hi, I want to know the difference between halt and shutdown commands and which is better to use? Regards, visu (2 Replies)
Discussion started by: visu_ak
2 Replies

4. Solaris

Restart/Shutdown the Solaris from SC>

Hi Experts, I am running solris 9. Sun-Fire 880. How do i shutdowon the whole server using ALOM i.e sc> console. If the server is down or somehow hang How do i Restart from sc> //purple (6 Replies)
Discussion started by: thepurple
6 Replies

5. Solaris

unable to halt the zone

Hi Experts, I have to delete the non- global zone from one of the server. As per my understanding we need to halt the zone , then uninstall and later delete it with zoneadm however once I am trying to halt the zone the screen is getting hanged, after canceling the process and... (23 Replies)
Discussion started by: kumarmani
23 Replies

6. UNIX for Dummies Questions & Answers

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... (7 Replies)
Discussion started by: aixhp
7 Replies

7. UNIX for Advanced & Expert Users

SCO Open Server 6 - System Halt

========================================================= Errrr previously post: https://www.unix.com/sco/140055-sco-open-server-6-system-halt.html Then I think it's better to post here. If I wrong, please ignore. ========================================================= Dear All, Newbie... (1 Reply)
Discussion started by: virgani
1 Replies

8. Linux

Delay gnome shutdown/restart

Hi to all. My first message here, but i following you via twitter feed from many time... The question: I need to delay 5-10 seconds the shutdown command executed when the user click on the power off/reboot in their session or at login screen. I need that because i have in the background a... (18 Replies)
Discussion started by: mendez
18 Replies

9. Solaris

Solaris paging bringing system to halt

Hi experts, I am running a solaris 10 with oracle 10 on a system with 96 GB physical memory. the system has a lot of swap space. the oracle SGA is 50 GB and PGA 40 GB. Here are the stats vmstat -i interrupt total rate -------------------------------- clock ... (5 Replies)
Discussion started by: afadaghi
5 Replies
ADDPART(8)                                                     System Administration                                                    ADDPART(8)

NAME
addpart - tell the kernel about the existence of a partition SYNOPSIS
addpart device partition start length DESCRIPTION
addpart tells the Linux kernel about the existence of the specified partition. The command is a simple wrapper around the "add partition" ioctl. This command doesn't manipulate partitions on a block device. PARAMETERS
device The disk device. partition The partition number. start The beginning of the partition (in 512-byte sectors). length The length of the partition (in 512-byte sectors). SEE ALSO
delpart(8), fdisk(8), parted(8), partprobe(8), partx(8) AVAILABILITY
The addpart command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux January 2015 ADDPART(8)
All times are GMT -4. The time now is 09:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy