08-06-2010
`init 5` powers off the box in Solaris.. Check it out whether it works in HP-UX as well.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
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
=========================================================
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
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
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
LEARN ABOUT DEBIAN
service
service(8) System Manager's Manual service(8)
NAME
service - run a System V init script
SYNOPSIS
service SCRIPT COMMAND [OPTIONS]
service --status-all
service --help | -h | --version
DESCRIPTION
service runs a System V init script in as predictable an environment as possible, removing most environment variables and with the current
working directory set to /.
The SCRIPT parameter specifies a System V init script, located in /etc/init.d/SCRIPT. The supported values of COMMAND depend on the
invoked script. service passes COMMAND and OPTIONS to the init script unmodified. All scripts should support at least the start and stop
commands. As a special case, if COMMAND is --full-restart, the script is run twice, first with the stop command, then with the start com-
mand.
service --status-all runs all init scripts, in alphabetical order, with the status command.
EXIT CODES
service calls the init script and returns the status returned by it.
FILES
/etc/init.d
The directory containing System V init scripts.
ENVIRONMENT
LANG, TERM
The only environment variables passed to the init scripts.
SEE ALSO
/etc/init.d/skeleton,
update-rc.d(8),
init(8),
invoke-rc.d(8).
Jan 2006 service(8)