Sponsored Content
Top Forums UNIX for Advanced & Expert Users Problem relocating to another state with Shutdown Post 302725871 by ctsgnb on Friday 2nd of November 2012 06:13:07 PM
Old 11-02-2012
Could you run the following command and paste the result ?
Code:
who -r

Code:
runlevel


Last edited by ctsgnb; 11-02-2012 at 07:51 PM..
This User Gave Thanks to ctsgnb For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shutdown Problem

Hi,guys I have a two CPUs server, and the system is linux2.4.6. When the system shutdown,it will stop at the word Power Down. I f I do not select the option "Symmtric multi-processing Support" when I compile the kernel,system will shutdown automatic.But I want to use two CPUs. Anyone can... (1 Reply)
Discussion started by: lance
1 Replies

2. UNIX for Dummies Questions & Answers

sudoers file and Shutdown problem

Help please I have today messed up my sudoers file which means no users can sudo in to our system. I therefore need to do a restore of the file - no problems, I have a backup. Now comes the problem. The system is secure, and nobody seems to know the root password. The system will not... (1 Reply)
Discussion started by: cobdeng
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Relocating a post

I posted a question regarding the address of the USB ports on an HP computer running SCO Unix. My post does not appear on the "Unix for Dummies Q&A" page, but is burried somewhere and the only way I can view it is to do a search for the title of the post. Could you relocate my post to the UFD Q&A... (2 Replies)
Discussion started by: Don48
2 Replies

4. Solaris

Relocating directory /export/home to a bigger filesystem

My 2GB /export/home/ directory is almost 100% full df -k | grep /export/home /dev/vx/dsk/rootdg/vl73 2031711 1951009 19751 99% /export/home I intend to relocate it to a different 4GB filesystem late at night when there is no user on the system. How do I go... (3 Replies)
Discussion started by: Msororaji
3 Replies

5. UNIX for Dummies Questions & Answers

Shutdown and Reboot problem

Hi, i have sco openserver 5.0.6 but have a problem with shutdown or reboot commands. The string I use is "shutdown -g0 -y" but the system just hangs on "The sytem is down" . I used to get a "Safe to turn of" but now nothing. Same with "reboot" the sytem just freezes. Any suggestions? (1 Reply)
Discussion started by: VTechman
1 Replies

6. Solaris

Server Shutdown Problem

I have a sparc T1 server (I know its old) running Solaris 8, which we use for testing. It has been very slow in response- prompt takes couple of minutes to come up, so I decided to reboot the server but I can reboot it, it is giving following errors when I try to shutdown it down. root@deva:/#... (3 Replies)
Discussion started by: Tirmazi
3 Replies

7. Solaris

Problem with state database

Hi Experts, I am facing problem while creating a concatenated volume. I would like to decribe the process I did: 1- I created state data base with slice1,slice2,slice3,slice4,slice5,slice6 with command: #metadb -a -f slice1 slice2 ........ slice6 From metastas, everything seems to... (6 Replies)
Discussion started by: naw_deepak
6 Replies

8. Red Hat

Problem with Stop Script during shutdown of o/s

Friends , I create two script for oracle database startup and shutdown . $ cat start.sh ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 ORACLE_OWNER=oracle su - oracle << ! sqlplus / as sysdba << ! startup $ cat stop.sh ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1... (1 Reply)
Discussion started by: shipon_97
1 Replies

9. Shell Programming and Scripting

Problem with a script for checking the state of a process

Hello Everyone, I have a process that should be always running. Unfortunately, this process is getting down almost every 10 minutes. I want to make a script that verify the state of this process: If the process is up, the script shouldn't do nothing and if it's down he should run it. Can... (3 Replies)
Discussion started by: adilyos
3 Replies

10. Programming

Problem on capturing system Shutdown

I am having exactly the same problem with https://www.unix.com/programming/129264-application-cleanup-during-linux-shutdown.html but the thread is old and closed. The only difference is that I use sigaction() instead of signal(), which is recommended, as far as I know. This is my code: ... (9 Replies)
Discussion started by: hakermania
9 Replies
XtSetKeyTranslator()													      XtSetKeyTranslator()

Name
  XtSetKeyTranslator - register a key translator.

Synopsis
  void XtSetKeyTranslator(display, proc)
	 Display *display;
	 XtKeyProc proc;

Inputs
  display   Specifies the display from which to translate the events.

  proc	    Specifies the procedure that is to perform key translations.

Description
  XtSetKeyTranslator()	registers  the	specified  procedure  as  the current key translator.  The default translator is XtTranslateKey(), an
  XtKeyProc that uses the Shift, Lock, and group modifiers with the interpretations defined by the X11 protocol.   XtTranslateKey()  is  pro-
  vided  so  that  new	translators can call it to get default keycode-to-keysym translations and so that the default translator can be rein-
  stalled.

  See XtKeyProc(2) for an explanation of the responsibilities of a key translator procedure.

Usage
  The key translator procedure is called by the Translation Manager to convert incoming keycodes and modifier bits to keysyms.	The only rea-
  son you would have to write and install your own key translator procedure is if you were working with non-standard keysyms.

  The only way to remove a translator is to register a new one.  For example, the default key translator (XtTranslateKey()) can be explicitly
  reinstalled.

See Also
  XtConvertCase(1), XtGetKeysymTable(1), XtKeysymToKeycodeList(1), XtRegisterCaseConverter(1), XtTranslateKeycode(1), XtTranslateKey(1),
  XtKeyProc(2).

Xt - Keyboard Handling													      XtSetKeyTranslator()
All times are GMT -4. The time now is 03:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy