General :: Deal With Job That Stop And Cannot Continue Unless Made Foreground?
May 23, 2010
Recent example: mountlo (using UML):
vi@vi-notebook:~/b$ mountlo -m 16 -d /dev/uba1 /home/vi/mnt/usb -t vfat -o iocharset=utf8,allow_other&
[1] 32561
vi@vi-notebook:~/b$ Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking PROT_EXEC mmap in /tmp...OK
[Code]...
Also happens with Gimp (when it does run it's plug-ins). Parts of Gimp started by `gimp q.jpg&' freeze and cannot continue unless "killall -CONT" or made foreground. Is it a bug? How to reliably start things in a background?
I moved from a Linux environment from one company to another and one annoying difference came out:When I used to run an application in a terminal (no GUI), the transcript lines were presented one the window - when the window was full then the scrolling of the lines would continue only if one hit the space bar to proceed (of course waiting to user input did not stop the run).
In the new environment the behavior is different - transcript lines keep going on and on so I need to scroll up - and moreover each page-up command is cancelled by the new lines appearing.perhaps this is also reproduce with other Linux commands , say "find" or "ls".
I am running some Matlab simulations on Natty Narwhal. Each time this matlab script outputs a figure, Matlab jumps to the foreground, as if I clicked it on the launcher. This is really annoying, because if I'm typing something in my browser for example, and a figure is displayed, I am taken away from my browser and I have to click the browser to resume typing.Is there a way to just have Matlab run in the background without interfering my other work?
Is it possible to schedule a process in the foreground? Lets say a cron schedule to be ran at 9:00. I would like to come back at 9:30, see how the process is running, and being able to interact with it... lets say kill it, or whatever. Is it possible? (Its not necessary to use cron, but it must be in Command Line)
I start a process, put it in the background running, then log out, then log in again, and want to bring the process to front again. I've looked in "ps aux" for the PID, but it won't be put in the foreground with "fg ###". What's the correct way? (I use the same account for both login sessions.)
I am trying to solve one problem: When i run my process in background it hogs around 96% of CPU. But when ran in foreground, CPU utilization is almost zero. Is there any difference b/n a background and a foreground process wrto CPU utilization?
I've changed the terminal colors and now irssi statusbars have white text on light blue background. I would like to change the foreground color of the irssi statusbars to black but can't figure out how to do it. I don't want to download a whole theme, I only want to change this one color.
I know a program running in the background can be brought to the foreground by typing 'fg'. So, if
command_line &
really runs the program in the background, my question has just been answered. But then all reduces to this question (yeah, I know; but I'm asking in earnest): does the ampersand sign make the program run in the background?
I had started a process through ssh and then i did 'cntrl+Z' and 'bg' and 'disown' before closing the ssh connection. That process kept running in the background in the other machine and now i want to bring it back to foreground in that machine. However running the command 'fg %<process_id>' is not helping. What do i DO!?
this is in fact my first attempt to try to work on a linux distribution and (dispite my problem) I'm still excited to work with it! I got the taste from messing around with my android phone, so I know a little bit of the syntax of the commands that are used, but it is realy basic.Now, my problem is my screen. I have two crt-screens ( inch and inch) which I can't manage to get working properly.
1. On a fresh install I had the problem that i couldn't get my refresh rate higher than 60 htz.I tryed installing different proposed drivers via the "system -drivers" (don't know if that is the right discription, I'm Dutch).The two proposed drivers didn't solve my problem.
2. I went to NVidia and download the Linux drivers for my graphical card (GeForce 8600 GT).I've gone trough a lot of trouble installing them: you can't install them when the Xserver is running, but commands like "init 1" or "gdm stop" made my system freeze (which is an other question: is this normal?). Eventualy I managed to install it by the "boot in safe mode"-option which I can choose when I boot my computer (I'm on a dual boot with windows 7).
3. Once the drivers installed it got worse. There was only one screen working and it worked only on a resolution of 640x480. It was just horifing. But with a lot of patient I managed to get one screen working at a resolution of 1024x768 and (again) not more then 60 htz, but the other screen was still stuck at 640x480. I kept playing around with it, edited my xorg.conf file manualy, broke it, restored it, etc etc. realy fun
4. This is the status ATM: both screens are working with twinview, both at a resolution of 640x480 (I can only select a lower one) and a refresh rate which I can't edit (stuck at "auto" and certainly way to low).I have an Nvidia driver which I don't like (it has made thing worse) but I can't unistall (I realy just don't know how to do that).I'm going to give my xorg.conf file at the end of this message.If this is a very typicly question, then I excuse myself. I realy have tryed to look for it, but couldn't find a thing. And if I found something, it was explained on a level of experitise much higher then mine.
# nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 270.41.06 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Mon Apr 18 15:15:00 PDT 2011
# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 270.41.06 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Mon Apr 18 15:15:12 PDT 2011[code]....
I have downloaded Ubuntu 9.10 4 times from various sites and have burn the ISO on CD.Half way during the installation a message jums up concerning faulty CD or faulty CD ROM and that ubuntu can't continue coppying files from CD which in this case it doesnt apply, as my CD ROM is in good order.I have been dissapointed after noumerous tries installing UBUNTU.
Well; soon my site will be down and my internet too.I am still unemployed and can't pay my bills.I wish I could get a job in Linux somewhere, but it doesn't seem possible.Does anyone get paid in Linux? So, was wonderin how can I continue my Linux experience with no internet connection?And, Does anyone know of a hosting site that would hold or distribute my creations URL...they will be deleted from servers in about a week.I only pay $7 a month for my site; but its $40 a month for internet connection.
I have just assembled my computer and installed Fedora 13. After rebooting I get Error 25: Disk read error, Press any key to continue. When I do that the systems goes back to the GRUB window where I continue to press enter and it goes back to the error after a while.
i have been copying dvd's and now i do not have enough room in my temporary folder,but i cannot find out how to delete the folders and make space to continue
Here's my problem: While choosing to compress certain folders from within Windows 7, I marked the boot manager as 'compressed'. Now, when I try to boot, I'm not able to boot into Windows 7, or any other OS (I get an error: bootmgr is compressed, press Ctrl+Alt+Del to continue, which restarts the system and the same cycle continues.
I have a Windows 7 + open SUSE + Ubuntu 10.04 LTS wubi install boot setup. To complicate things, its a laptop, and the DVD drive is conked. Is there any way I can boot into any of my OS's? If not using a live boot, can I, perhaps make a bootable USB flash drive, boot into it and uncompress the boot manager ? Note: I'm typing this from another desktop, and I do not have Windows installed on this.
/ed: Used this: [URL]..questions/137877/decompressing-files-on-an-ntfs-volume-from-linux/137906#137906 Still no go, getting the same error message.
I created a live usb and I am trying to boot linux, but after it starts a large written ubuntu screen when starting appears i.e its boot screen but it do not start and continues as if it is still loading.
I increase my knowledge in vim in two ways. Little hints about doing this or that and scattered studies using the vim help files. Please do not believe I always rely on the first one.
i have been using linux for about 2 months now , and still can't deal with tar.gz files! i extract the achieve , open the folder , open terminal in that folder , then make and..... nothing i didn't find the make file in firefox 6 tar.gz for example , for other files there was missing libraries , is there a compiler that can do the job simply like synaptic? it is really stupid that every application should have its installation instructions!!!! why there isn't some standardization for all linux distro in this point? deb packages are simple to use , why there isn't a general package system for all linux distro ? or at least a unified system for compiling where i can use the tar.gz files like .deb files?
Possible Duplicate: Leave bash script running on remote terminal while not logged in? I run a program, say ./a.out 10 from the shell prompt. Assume that there's a while(1) inside the program being run. Now if I try to close the shell, it warns me that it'll kill my running program too! So, how to kill the shell and still let my program continue running in the background?
I tried exec ./a.out 10 but the shell is still there. Another alternative is to simply double click my executable but then how will I pass command line parameters?
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
An existing Windows 2003 Server hosts a WDS pxe role. A networtk shared directory provides some customized OS.
I have to migrate this server without altered the WDS directory. Is it possible to deal with this stack under Redhat with pxelinux ?
Actually, my tests are negative. But I definitively have to deal with as a requirement. Otherwise an update will be made for each alteration of the OS.
POC : Red Hat 5 64bits, Apache2, Samba3, pxelinux, tftp-hpa.
I had successfully boot a virtual pc under Red hat. But I'm alaways game over with the corporate OS. When I load a pxeboot.n12 file there is an invalid file or corrupt error. When I rename this file as pxeboot.0 (to use pxelinue) the next step is a boot menu. I load a BCD file but after a boot.ini file is required but not present. This file doesn't exits in the current directory.
I have many processes running that printf local debug. (they will log to file later!) I start them by
Code: ( sleep 20000000 | fp ) & else they get killed/stop by themselves. So now its running in the background, I want to bring it to the front to see the printfs.
A couple of the sites I go to, very professional and legit sites, tell me I need Adobe flash player. Now that I don't run anything with Ubuntu other then a FW is this safe? What about "NoScript" for Firefox?
It's starting to feel like Ubuntu 9.10 users have been left out in the cold, or at least forced to fend for themselves. I'm referring to the publicly-known vulnerabilities present in Firefox 3.5.9 (the version currently in use by Ubuntu 9.10). Ubuntu 10.04 (which uses Firefox 3.6.x instead of 3.5.x) users received their package updates June 29th, yet Ubuntu 9.10 seems to have been placed on the back burner. So basically, my questions are: Does anyone know what's going on? What's taking so long? Has security support for Firefox been terminated for Ubuntu 9.10?
PS: I can sort of understand how Ubuntu isn't able to provide Firefox patches for Ubuntu 9.04, as it uses Firefox 3.0.x (which isn't supported upstream anymore) and the distro release is so close to EOL. But, surely Ubuntu 9.10 doesn't need to be treated the same way, given that the 3.5.x branch it uses is still supported upstream and the distro release won't reach EOL until Q2 2011.
After logging onto a linux machine via SSH, I would like to be able to retrieve the name of the computer from which the connection was made. Ideally I am looking for some command like hostname or uname but that would retrieve the name of the client instead of the host.
This information must be accessible somewhere, since when I log on I get a message that contains the clinent name from the last login:
Last login: Thu Mar 11 18:42:01 2010 from my.address.com
The reason for wanting to do this is to be able to take different action in my .login file depending on which computer I am currently connecting from.
I need to know which files were added/modified/moved/deleted after compiling and installing an application from source code, ie. the command-line, Linux equivalent to the venerale InCtrl5.
Is there a utility that does this, or a set of commands that I could run and would show me the changes?
The following is sort of OK, although it includes the lines where changes occured
(eg. "@@ -2,6 +2,7 @@"), and "." and ".." that I don't need: Code: # ls -aR /tmp > b4.txt # touch /tmp/test.txt # ls -aR /tmp > after.txt # diff -u b4.txt after.txt