Software :: Last Process During Run Level Change

Aug 3, 2009


I am working on RHEL 5.3

I want to display a message to user whenever he/she moves from run level 2 to 3.

Sometimes, the last process that is coming up when i go to run level 2 is irqbalance and sometime it is anacron.

Is there anyway to find out which will be the last process that is coming during the run level changes?

Thanks in advance!


View 10 Replies


General :: What Config File Do You Change To Change Default Run Level?

Aug 5, 2009

What config file do you change to change default run level???

View 3 Replies View Related

Ubuntu :: Way To Trigger Root-level Process?

Jun 29, 2010

I have what I hope someone finds to be a simple problem. I am running a data acquisition computer for a research project, where multiple people use the same non-privileged user account to take data and save it to /incoming. Once the file has been closed, I would like to somehow copy the data into a more permanent location owned by root. Obviously giving the shared user account sudo permission would be a huge security hole.

I know that this should be possible using some sort of client/server connection, but writing my own server just for this little task seems a bit cumbersome, and is something I have no experience with. Nor have I ever written a daemon/init script before.

Does anyone have any ideas on a simple procedure I could use? Very few things are fixed in stone, but the copy operation is necessary - the final location is a RAID5 array, and the write speeds are too slow to keep up with the data stream.

If a client/server type of thing really is the best way to go, anyone have any links to good tutorials to make a simple server and daemonize it?

View 2 Replies View Related

Networking :: User Level Command/utility To Find The Bandwitdth Used By A Process?

Aug 5, 2009

I am searching for a Linux user level command/utility to measure the network bandwitdth used by a specific process by usig its process id.i used different commands like, iperf, ntop, netstat etc, but it doesn't to meet my requirement. i need to observe network bandwidth used by only a specific process .

View 3 Replies View Related

Slackware :: Change Mapping Of Fn Key For Run Level 3

Jun 27, 2010

I posted earlier regarding an issue with my netbook not having the <>| keys while on Scandinavian layout (Acer Aspire One 532H). I never use the "Fn" key on any laptop I have and it's especially disposable on this Netbook. While digging around in /usr/share/kbd/keymaps/i386/qwerty I've got the open but unsure as to which is the fn key. How would I find out which maps to the fn key?

View 6 Replies View Related

General :: Change Permissions Of Rc.sysinit In Run Level 1?

Apr 6, 2010

While playing with my Linux box, I edited rc.sysinit in /etc/rc.d/ folder. But now when I boot into run level 3 or 5, I get complain that system cannot run /etc/rc.d/rc.sysinit. I boot into run level 1, and checked its permissions, which is rw-r--r-- . It should be rwxr-xr-x. I tried to use chmod to change its permissions, but it responded that "Read Only file system" Now how can I change its persmissions when in run level 1. In run level 3 and 5, machine does not boot. My box has Fedora Core 2 with kernel 2.6.20.

View 3 Replies View Related

OpenSUSE Install :: Change The Screen Resolution In Run Level 3?

Nov 10, 2010

I am trying to change the default screen resolution in Run Level 3 to 640x480. I have tried changing the menu.1st file and the vga=0x301 mode sticks until the system begins to boot and then resets to a higher resolution. This system does not have X, or Sax2 so no go on those options. This is OpenSuse 11.3 x64.

View 6 Replies View Related

Ubuntu :: Change Default Zoom Level In Evince?

Jan 2, 2010

I need to change the default zoom level for Evince. There must be some way to do this. Besides, can Evince start without any PDF file loaded? Also, what is the command line to execute evince? (I run Linux Mint 8 based on Koala 9.10). Whenever it loads a file for which it assigns a zoom level more than 175% or 200%, the whole PC hangs if I click on the "reduce zoom" icon in the toolbar. This is a very big regression.

This is ridiculous! Even ePDFViewer is better than this. I really would like to stay with Evince for the time being, and not need to move to Foxit.

View 5 Replies View Related

Debian Multimedia :: Lower Level Way To Change Basic X Cursor?

May 9, 2010

I have a minimal debian install, with not much more than enough to run scrotwm, I want to change the basic arrow cursor to a png I have. Is there a simpler lower level way of achieving this without having to install and modify an existing cursor theme. I installed x11-apps just to get xcursorgen... though idk if this has been an essential step or not. Anyway, I have run it on my arrow.png/arrow.cursor to create a "default" cursor file... though am lost as to where to go from there. I have no idea where the existing default cursor is located, though i suspect it's a font cursor not a icon cursor...

View 1 Replies View Related

OpenSUSE :: Move Transparently Between Run Level 3 And Run Level 5 As Autologin User?

Aug 10, 2010

I've been able to kludge a kill script which finds the correct pid for the kdeserver (or gnome server) after my system comes up in run level 5 so I can drop back to run level 3 mode. Lots of experimentation showed me that using telinit 3 and telinit 5 would occasionally leave the video memory in a mess and I would have the black screen of death.

I set the security parameter setting to autologin for me since I am the only user of my machine, but I still have to kludge the default setting under sysconfig (the DEFAULT_WM) under Window Manager to pick a certain window manager, so it takes time to manually switch the desktop.

Right now I can leave the gui and drop back to cli, but painful experimenting showed me that killing the X server is a no no. Right now I kill the kde server, which sends the SIGTERM to the X windows manager, which then figures out that it has to shut down.

Questions: Is there a better way of doing this? Apparently openSUSE figures that we have multiple users logging into the gui desktop, so the gui is always kept running and a login window with the desktop manager option forces the user to login in. With autologin, this never happens, but no choice of desktop is possible on the fly.

Can some type of script be set up to painlessly enable this to happen? And what is the best way of bringing either the Gnome or KDE desktop manager down gracefully? I do get lots of error messages as the system attempts to recover and X shuts down. It appears that apparently the single user with autologin is left out in the cold.

View 4 Replies View Related

OpenSUSE Install :: Admin Level Software To User Level?

Feb 6, 2010

I want to install a software called TinyOS which is an operating system designed for wireless sensor embedded networks in my account. The problem is it has instructions to install the software as an administrator since i'm not an admin of the department network i can not able to install. Is there any method to install this software as an user level rather than admin level.

View 3 Replies View Related

Ubuntu :: Adjust Level At Which Battery Criticality Level Is Triggered?

May 8, 2010

How can I adjust the levels at which the battery is considered to be critically low?ight now it seems this is set at 5 or 10%. I want to make it 20 or 25%This is for Gnome. I am using Lucid x86

View 1 Replies View Related

General :: Initializing Run Level 4 At Inittab Default Level

Jan 15, 2011

hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.

View 3 Replies View Related

Programming :: Accessing SPI From Kernel Level And User Level

Jan 6, 2009

I want to know what are the advantages and disadvantages for accessing spi(serial peripheral inerface )from kernel level and user level. like methods of doing it, speed ,memeory utilization etc

View 1 Replies View Related

OpenSUSE Network :: "iwlist S" Output - Quality / Signal Level And Noise Level Mean?

Jul 21, 2010


you can find a cutout of an output generated by "iwlist s" command for a cell. Does anybody know what Quality, Signal level and Noise level mean? What is the definition of them? I searched for it and could not find good information on it. What do these Extra:*** fields for? What does it show in the example above? How were those values computed?


View 1 Replies View Related

Fedora :: Can't Switch To TTY Or Run Level 3 From Run Level 5

May 12, 2009

Hi Guys,
here is my scenario:

I am running F10 x86_64 with Nvidia Quadro FX 3400.
I installed the drivers and it worked just fine. No errors generated according to Nvidia log files.
However, while in run level 5 when I try to switch to run level 3 by typing "telinit 3" or "init 3" the X server goes down and I get a blank screen. Same thing happens when I try to switch to a different tty session by <ctrl>+<alt>+F2 (or any F key for that matter).
I also noticed that when I shut down my system I can't see any more the screen where services are shutting down and their status ([OK] or [failed]).

Would appreciate your help on solving this issue.

View 3 Replies View Related

Red Hat :: Keyboard Not Working At Run Level 3 And 5, But Ok At Level 2

Jun 17, 2010

Hey Guys, I'am new here and request your help on this:
After installing emacs and a few dependencies on my RHEL 5, on restarting the system, the keyboard was not able to work. I restarted several times in vein.

However, when I start in single mode, it works perfectly. I have tried looking for a solution from google, but in vein.

Kindly help...

Regards, Andrew

View 1 Replies View Related

Ubuntu Networking :: Change Run Level For Wireless Networking?

Apr 6, 2010

I have a desktop with a printer attached on a wireless link.I have a laptop where I want to print from. The problem is the wireless link comes up only after I log on to the desktop.I would prefer the wireless link (and cups) to be up with out having to log on at the desktop.

How would the run level be changed?

View 5 Replies View Related

General :: Delete Top Level Directory And Have Contents Simply "move Up A Level"?

May 27, 2010

I have a directory that has a another directory inside it. The top directory is rather redundant since it only contains the one other one. Is there a way to delete the top level directory and have the contents simply "move up a level"?

View 6 Replies View Related

General :: Change Cpu Utilization Of Running Process?

Apr 28, 2011

Can we change cpu utilization if its have very high in running mode without stop that process.

View 1 Replies View Related

Fedora :: How To Configure Process To Change Name Of Mount Point

Jun 19, 2010

I have set up an encrypted ext4 partition on a new external USB HDD. When I plug it in, some sequence of a daemons and scripts cheerfully puts up a dialog to ask me for my pass phrase and then creates a mount point and mounts the drive in /media. I'd like to know how to configure this process to change the name of the mount point (right now it's an unwieldy hex string), it's permissions and ownership. I'm sure this is straightforward, but I just don't what the relevant programs and files are.

View 2 Replies View Related

Programming :: Change The Resource Limits For A Specific Process?

Jun 26, 2010

I want to change the resource limits for a specific processOr to create a new process and give it limits as I want, There is a function setrlimit, Which is possible to change it but for a programmatic I want to apply it to another Process, The problem is that this function does not receive process ID for example. I read in most books on the subject of The Linux system programming

View 1 Replies View Related

Debian :: Monitor Running Process And Execute A Command When Change?

Jan 31, 2010

I want to monitor the process running and execute a command if some new process start. For example send a mail if any new process start.

View 1 Replies View Related

Slackware :: Change The Option To Have Samba Start During The Boot Process?

May 17, 2010

Where do I change the option to have samba start during the boot process? I've googled and I've found old posts that say it's a line in /etc/rc.d/rc.inet2 but in my semi-current box, I don't see the part about starting stopping the samba server.

View 5 Replies View Related

Ubuntu :: Alsamixer Startup "speaker" Level (and Screen Brightness Startup Level)

May 23, 2010

I just upgraded to the 10.04 and everything works just fine as before (except for skype but that really doesn't matters as it has already been 3 years I'm using ubuntu and I managed to get it to work only once, for miracle I believe ^^). The only real issue I have is this: when I start up my laptop, after the log-in, no sound will be heared as the "speaker" volume level in alsamixer is set to 0; if I raise it from the terminal running alsamixer (as I don't know any other alternative) everything plays just fine, but the next time I boot I do have to do it all over again... So, how can I change the default startup level of the "speaker" in alsamixer?

PS: by the way I do have the very same issue with the screen luminosity but the other way round as is always starts at maximum brightness and I can't manage to get it to start at the minimum, as it did before. At least reducing the backlight if far more quick but a couple of times I forget it and the battery lasted something like half an hour

View 9 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

Nov 11, 2010

I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./ to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process

View 2 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010


#include <stdio.h>
#include <unistd.h>
#include <signal.h>


Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed



I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved