Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need Help to Reboot to Mac OS X Post 302118200 by porter on Sunday 20th of May 2007 05:54:18 AM
Old 05-20-2007
Are you at a shell prompt at a console?

Are you able to either log in as root or su to root?

Can you run "ps -ef" to show all processes running?

Have to tried "shutdown -h now" to power down the box down cleanly.

Can you run "top" and see what's busy?
 

2 More Discussions You Might Find Interesting

1. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

2. BSD

MAC at @reboot, like some cellphone

I want to change my MAC at reboot, so making it a cron job like the following in BSD. Can I do this in the jail for the user, setting it as a command or should it be a script? I would set it as a command openssl rand -hex 6 | sed 's/\(..)/\1:/g; s/.$//' just to test it, it works. To... (0 Replies)
Discussion started by: 1in10
0 Replies
REBOOT(2)							System Calls Manual							 REBOOT(2)

NAME
reboot - close down the system or reboot SYNTAX
#define _MINIX_SOURCE 1 #include <unistd.h> int reboot(int how, ...) DESCRIPTION
Reboot() is used to close down the system. It allows several ways of shutting down depending on how: reboot(RBT_HALT) Halt the system and return to the monitor prompt. reboot(RBT_REBOOT) Reboot the system by letting the monitor execute the "boot" command. reboot(RBT_PANIC) Cause a system panic. This is not normally done from user mode, but by servers using the sys_abort() kernel call. reboot(RBT_MONITOR, code, length) Halt the system and let the monitor execute the given code of the given length. (code is of type char * and length of type size_t.) reboot(RBT_RESET) Reboot the system with a hardware reset. Reboot() may only be executed by the super-user. DIAGNOSTICS
If the call succeeds, it never returns. If something went wrong, the return value is -1 and an error is indicated by errno. SEE ALSO
shutdown(8), reboot(8), halt(8), sync(1). NOTES
Minix can not return to the monitor if running in real mode, or if started from MS-DOS. This means that most of the reboot functions will change to a reset. AUTHOR
Edvard Tuinder (v892231@si.hhs.NL) REBOOT(2)
All times are GMT -4. The time now is 11:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy