General :: Constantly Run A Script In The Background?
Mar 20, 2010i need to run a script which checks if a cd is mounted or not
View 7 Repliesi need to run a script which checks if a cd is mounted or not
View 7 RepliesI have a perl script which runs a mini webserver allowing me to do various things. I'd like to have this script run when the machine starts up, and constantly run in the background.How should I achieve this? I want the script to regardless of whether anyone is logged in or not, so I can't put it in any bash-related files.
View 1 Replies View RelatedI'm running Ultimate Edition 2.0 64bit. When I'm running Firefox and I'm not doing anything on it it starts to use the disk intensively. I checked on terminal using the top command and it IS Firefox using up to 85-90% of the resources. Anyone know what the problem is here? Can it be hacked? I already uninstalled and installed back again and it still doing it.
View 1 Replies View RelatedI want to change installation background image in fedora 12.
How to change the installation background not desktop background.
I want to know what daemon listen on *: pop3. I use
Code:
then
Code:
But in every ps command, pid of the process increment with two.
How to see the pid of that daemon/process?
I just installed Fedora 13 on an HP Z400, and it's stuck in an endless reboot loop (lives 2 seconds before rebooting). It's a 64-bit machine and seems to meet all the hardware requirements.
View 2 Replies View Relatedi need to check if a cd is mounted or not using bash ... how is that possible?
View 8 Replies View RelatedI am running ubuntu on my netbook and use vlc media player, for some reason when I play 720p videos they get choppy and freeze constantly, is there a way around this or the videocard that comes with the netbook is having problems supporting it ?
View 2 Replies View RelatedAnyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome
View 2 Replies View RelatedI originally have Ubuntu Lucid on my machine. I just installed opensuse 11.2 on another partition without bootloader installed. So I'm still using the Ubuntu Lucid default bootloader grub2. I can boot up opensuse correctly. the nagging thing is that there's no splash screen show up during the boot process, instead, lines of command are flashing, the console background is also missing and the font under console (tty1-6) is huge. what can I do to have these back to opensuse? the current entry in grub2 for opensuse
Code:
menuentry "openSUSE 11.2 (i586) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 9ac05ede-e7c4-47f3-b55b-66d5844$
linux /boot/vmlinuz-2.6.31.12-0.2-desktop root=/dev/sda2
initrd /boot/initrd-2.6.31.12-0.2-desktop
}
which parameters should I add?
I have spent the most part of 5 hours trying to fix this issue. For some reason I cannot change the background image to any of mt .jpg wallpaper files (and .png files). I've tried using the Ubuntu-Tweak application, but I end up getting a purple screen (default) or a black screen (default). So then I tried using the terminal method by making the Appearance window appear when I would log out. That works, except when I go to use my background image, it shows as a question mark for the image preview, and the icon for the file is a gray box. All while doing this my background images that I tested are all in the /usr/share/backgrounds location. Please help! I really want to get rid of the default images and use my images... :/ My desktop/screen in 1440x900, and most my background images are around that size. They work with my regular desktop for my account.
View 3 Replies View Relatedi have ported linux into arm and i want to run two background process on target
i have two c programs a.c and b.c
i have cross compiled them as
arm-linux-gcc -o a a.c
[code]...
so this one baffles me. I'm trying to get a script to do internal speed tests on demand. I'm using iperf. The bash commands are below.
Code:
#!/bin/bash
set -ax
[code]....
I'm currently using Ubuntu 10.10. I frequently end up opening a few terminals and it's easier to keep track of what I'm doing if the terminals have different backgrounds or are colored differently. Is there a way already made which will start up a new terminal with a background different then one that's already open? Or a way that when the terminal is opened it will start the terminal under a profile that's not yet open? That being, when I open a terminal it opens the "first" profile. Then once I try opening a new terminal it checks and finds that I already have one with the "first" profile open and so the new terminal is opened with the "second" profile.Does anything like this feature already exist? Or something like it?
View 6 Replies View RelatedCould you tell me how can I run a process in the background?
View 1 Replies View RelatedI have a LAMP server with some php files. When I do this:
> php -f filename.php
It works great. But of course, it stops when I close the SSH window. I need to be able to run it and leave it running. The script is a crawler and it takes about 3 hours to complete it. So I tried this:
> php -f filename.php &
This doesn't work at all. It doesn't even execute the script.
I want to run a script. I want the script to run in the background. I want it to run for 5 seconds. Then I want to use the kill command to stop it.
would I use sleep 5 in my script and what kill command would I use in my script to stop it automaticaly.
i have an image background for my web....it's a JPG file.. my problem is that image not show at designer PC but after that web page open at another PC..the image can show..i created my program at terminal...
i try using chmod 777 image.jpg but at designer PC still can't show...but in other PC can show..why it happens??what must i do?
I know of terminating a command with & and then moving it into the background by pressing Ctrl-Z and then bg [pid], and I also know of nohup. But say you started a process that turned out to take much longer than one expected, is there a way of pulling, so to speak, this process from another terminal screen into the background so that even if I log off from the server the process would continue?
View 2 Replies View RelatedI run
nohup bash -c "while [ true ]; do echo test; done"
from PuTTy SSH client but after this process is not runned in background instead nohup keeps to be foreground process in shell.
SW version: nohup (GNU coreutils) 8.5
While coding Python, I tend to save files very often (I have a pretty high code->test->code->test->... frequency). I hate when Linux syncs my changes to disk everytime I do a write.
How do I configure Linux so that it keeps file writes in memory for a certain period of time/number of writes?
To make this any useful, of course reads to not-yet-fsynced files must be from memory (so that the Python interpreter always sees the latest contents). Extra credits for background-fsyncing that doesn't block other writes/reads going on at the same time :-)
i want to send a running process to background .. normal commands like sleep i can able to move easily to bg .
# sleep 10
#Ctrl+z
#bg
[code]...
Is there some way to see only the process running in the background?
View 4 Replies View Relatedhow to get the status of background command in bash script
supose , rm 1 &
rm 2
how to get status of rm 1 command
I'm running Utorrent server and I figure I would create an alias to launch the program and run it in the background.alias utorrent='/home/user1/software/utorrent-server-3.0/utserver &'It seems to run the program but the associated webui program is flaky and won't start correctly.If I manually go to the specified path and run the command ./utserver & , I never seem to have an issue with the webui.I was wondering if this could possibly have anything to do with using the '&' ampersand operator in an alias.
View 2 Replies View RelatedIf this is documented (I'm sure it is) I can't find it.Being a really OLD UNIX user (35-tty days) I don't like GUI and leave it at RL 3. The background is wallpapered with an undesired image. can't remember where to get rid of it. I have done it B4 but I've slept since then
View 5 Replies View RelatedI desire to take an image,overlay a text on that image;then, use it as aackground or text document.Would I use Gimp;then,somehow mount the image to a theme for x-window?If so,how?I would use a colored background text for various priority rated documents.I would use a yellow background text document with a red cross;and,a blue text, for medical documents[as an example].
View 1 Replies View RelatedI am slowly working my way through the OS. I am trying to change the background wallpaper. The images are all present but when I effect the alteration, the new background appears for a couple of seconds then vanishes with a message to the effect that the pathway to the folders/files does not exist.
View 3 Replies View RelatedIs there any way to run a long process in background so that it still remain in running state even if the user logout the system.
View 12 Replies View RelatedIf I wanted to run a script in the background and keep it running even if I close putty I do like
./perl.pl &
right?