LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-09-2004, 07:23 PM   #1
JellyStones
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian 3.1
Posts: 10

Rep: Reputation: 0
Programs running in background on linux??


Hey, well i finally decided to see what all the commotion was about and try linux myself. So far Ive been very pleased except Im having one problem(possibly 2). My distribution is Redhat Linux 7.3 (Ive heard this is the best redhat version). The other day I was doing some programming on nedit, and my hard drive seemed to working like crazy, even though the only program I had open was the simple text editor.

I thought maybe a reboot would work (sounds like windows?), and it did for a while, except today I came home from school, and my computer was frozen on the screensaver. This is very unlike what I hear linux should be like, and I dont think its a problem with my hardware because im running dual boot with windows XP, and I have never had XP crash on me.

I was thinking maybe I had some background program running on linux could possibly be my problem. Possibly a media player??? I double click an mp3 player in nautilus the other day, and it started playing, but no matter how hard I looked, I couldnt seem to find what program was playing the mp3 (I do have mpg123 installed but im not sure if it used that player), and so I couldnt shut it down. I had to resort to rebooting the computer again. Im a newb so do applications run in the background (and hide themselves) in linux? Is there a universal file that loads all programs/services at the boot-up that I can post here so you guys can tell me if theres anything there that shouldnt be there?

Please give me your suggestions.
Martin Konecny
 
Old 02-09-2004, 07:34 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,288

Rep: Reputation: 65
the kde and gnome environments run a lot of background services.
you can do a forced exit out of X with control alt backspace. if
that doesn't work, your machine may actually be frozen. that would
probably be a kernel issue. most apps can't freeze linux like in windows.
X is an exception, cause it can grap and freeze up your mouse and keyboard
input, keeping you from doing anything. you can look at background services
with top.
try a different version or distro of linux, if you are getting freezes.
 
Old 02-10-2004, 12:00 AM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
try not using desktop environments, cuse it sounds like its background servives u dont need (in reality the only serveice that should be running in background is syslogd and a few other loging programs), /etc/rc.d has files wich are scripts for what to do when in a certain runlvl /etc/initab tells what scripts to run at that lvl, /etc/X11/xinit/ has 1 file that controls what progrmas are laoded when x starts up, as for not using the desktop evironments, just piece the fiels together yourelf and dont get a blaot (bascialy all you need is a window manager, a file amnager, and whatever else you want form here like media players picture viewers gimp for image editing/making
 
Old 02-10-2004, 12:25 AM   #4
mac_phil
Member
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
As whansard said, use the command 'top' to find the offending process. Get the process ID#, then kill -9 pid#.

Actually, you may even wonder if it is the screensaver's fault.

You asked if Linux can run processess in the background. Yes, it is completely multiuser and multitasking. Several different users can use your computer at once.
 
Old 02-10-2004, 06:42 AM   #5
CaptainInsane
Member
 
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Rep: Reputation: 15
Open a console and run the 'top' command next time your harddrive does that.

I bet updatedb is running. Stupid updatedb program has loused up countless
games of Unreal Tournament for me since I switched to Linux.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running programs in background via & parameter dissectional Linux - General 6 11-03-2005 08:09 PM
Running in the background with Linux AlfaRow Linux - Games 1 11-03-2005 04:08 PM
Python noob - running programs in the background / recieving signals form the OS crm Programming 0 09-18-2005 08:11 AM
running programs in background koiphish Linux - Software 0 07-07-2003 02:48 AM
Running Windows programs in Linux pilot1 Linux - Newbie 8 06-21-2002 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration