04-25-2008
Use ctrl+alt+1 to see the text version of the shutdown sequence so that you can see where it hangs.
10 More Discussions You Might Find Interesting
1. Solaris
What can I do to ensure that oracle database is shut down when the server reboots. (1 Reply)
Discussion started by: krishan
1 Replies
2. UNIX for Advanced & Expert Users
Hi
I have a mix of solaris 8,9 & 10. I need to have our 6 Solaris servers shutdown buy a script that will be executed by APC network Shutdown software
Im really not sure how I would write a script to shut them down and the following processes?
the processes are
portmapper
seq
seq_api... (1 Reply)
Discussion started by: tonysequoia
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
Is there anyway i can find out from which terminal a shutdown command has been run from ? :( (3 Replies)
Discussion started by: ktech
3 Replies
4. UNIX for Dummies Questions & Answers
Hey all,
I have attached an image of a problem that I've been having since last night. My computer will be on no more than 5-10 min and I'll get this message that pops up and my computer shutsdown.
I know for a fact my computer is not overheated becasue I will have it off for hours and then... (7 Replies)
Discussion started by: pullmand
7 Replies
5. Solaris
on solaris 8 i edited file rc0 in /sbin at last line
ex.
/sbin/sync; /sbin/sync; /sbin/sync
# Unmount file systems. /usr, /var, /var/adm, /var/run are not unmounted by
# umountall because they are mounted by rcS (for single user mode) rather than
# mountall. If this is changed,... (1 Reply)
Discussion started by: infjustice
1 Replies
6. AIX
Hi,
I am getting the error "/etc/rc.shutdown failed. Shutdown aborting" while shutting down the os.
Please suggest. (1 Reply)
Discussion started by: manoj.solaris
1 Replies
7. Shell Programming and Scripting
While tomcat shutting down getting the below error.
Error occurred during initialization of VM
Could not reserve enough space for code cache
CATALINA_OPTS="-verbose:gc -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=24M -Xms256M -Xmx512M -Djava.awt.headless=true -XX:-UseCompressedOops... (2 Replies)
Discussion started by: tuxslonik
2 Replies
8. Fedora
Hi All, I am pretty new to unix type languages. At work we have a server room with about 50 windows computers in one system and 50 in a unix system. We sometimes have power outages and I don't like the power slam. I wrote a windows batch file using sysinternals help to shutdown the windows... (4 Replies)
Discussion started by: Jeff Rollins
4 Replies
9. Solaris
I just installed this 11.2 ver and when I tell it to shutdown it takes for ever then just hangs with this just a little bit of that red line left to go, then it just sits there like forever until I get tired of looking at it then force a shutdown by holding my power button down until my laptop... (8 Replies)
Discussion started by: userx-bw
8 Replies
10. UNIX for Beginners Questions & Answers
Hi there,
I had issue with one of MY FC cards on T4-2 servers so system team replace it and start the machine but when launch FORMAT command so I don't see my shared disks coming from storage controller. i have checked at the Fabric switch so WWN numbers are visible and zones are ok and after... (1 Reply)
Discussion started by: janakors
1 Replies
LEARN ABOUT X11R4
readkey
readkey(3alleg4) Allegro manual readkey(3alleg4)
NAME
readkey - Returns the next character from the keyboard buffer. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int readkey();
DESCRIPTION
Returns the next character from the keyboard buffer, in ASCII format. If the buffer is empty, it waits until a key is pressed. You can see
if there are queued keypresses with keypressed().
The low byte of the return value contains the ASCII code of the key, and the high byte the scancode. The scancode remains the same whatever
the state of the shift, ctrl and alt keys, while the ASCII code is affected by shift and ctrl in the normal way (shift changes case,
ctrl+letter gives the position of that letter in the alphabet, eg. ctrl+A = 1, ctrl+B = 2, etc). Pressing alt+key returns only the scan-
code, with a zero ASCII code in the low byte. For example:
int val;
...
val = readkey();
if ((val & 0xff) == 'd') /* by ASCII code */
allegro_message("You pressed 'd'
");
if ((val >> 8) == KEY_SPACE) /* by scancode */
allegro_message("You pressed Space
");
if ((val & 0xff) == 3) /* ctrl+letter */
allegro_message("You pressed Control+C
");
if (val == (KEY_X << 8)) /* alt+letter */
allegro_message("You pressed Alt+X
");
This function cannot return character values greater than 255. If you need to read Unicode input, use ureadkey() instead.
SEE ALSO
install_keyboard(3alleg4), ureadkey(3alleg4), keypressed(3alleg4), clear_keybuf(3alleg4), simulate_keypress(3alleg4)
Allegro version 4.4.2 readkey(3alleg4)