Ubuntu :: Processes Running In Xubuntu Seem Excessive?
Mar 15, 2011
When I ps -e, I see a whole bunch of processes, many more that when I ran Slackware.Is there a list of processess I can look at to see what they are and what ones I dont need, instead of googling each one and getting some cryptic explanation?
I have run into a problem with my desktop using roughly 50% RAM (w/o buffers or cache) while running a limited set of applications (fbterm, tmux, weechat, ncmpc, rtorrent) on the command line. This usage only increases roughly 5-10% when starting X (an addition of xcompmgr, awesome wm, zim, parcellite, 2x conky (one replacing root-tails functionality), plus firefox and other apps that may or may not be running from time to time). (h)top is reporting programs only using roughly .1-.2% per proccess and roughly 100 processes (current look at top shows 120 processes, only 32 of which are registering any usage over 0.0%) The RAM usage when in the console (which I will add is about 150MB after boot) is totally unreasonable and I need some direction on trying to find out what is using all of this RAM.
System: Distro: Arch Linux RAM: 2G CPU: AMD 64 x2 4800+ HDD: 3x WD Black 750G (RAID 5 on partition 2 (swap) and 3 (root), RAID 1 on partition 1 (boot). LVM over root partition) GPU: Nvidia 8400 GS
I would like to do the following: Create a banner for any user logging in through ssh which warns him/her about the number of processors being used already by other users (or conversely the number of free processors). For example, if a user logged in he would then see a message like: Warning! 7 out of 8 processors are in use.I already figured out how to do a banner and with ps -e -o pcpu I can get all processes' %CPU usage. I think I would like to count the number of processes which have more than 90% CPU usage and output this number ("7" in the example) in the banner
I have installed Preload (0.6.4-1) on Xubuntu 11.04. How do I know if it is running/working? I can't seem to find any reference to Preload in the task manager.
is there any possible way to hide currently running processes from an user? This means I do not want him to know about what programs/processes does any other user but him run. In short words if that user runs 'ps -aux' he should get only his processes.
First time Ubuntu user (used to be on debian earlier).
I like that everything works out of the box (had to install codecs etc, but thats standard); but I dont like that there are 260 processes running. Is there a utility to stop unnecessary processes from running in Ubuntu 10.10? I used rcconf but there did not seem to be a whole lot of startup processes that were enabled. Yet somehow I am running 260 processes now.
Even if I log into fluxbox, I get 200+ processes running.
I list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?
This is an Xubuntu install on a memory stick. I had the video working perfectly after the initial installation of Xubuntu. After I ran the updates and rebooted the system I had no video. It says ,"Server is already active for display 0, if the server is no longer running remove /tmp/.XO-lock and startup again"I looked around for a /etc/X11/xorg.conf file but it does not exist. What next?
Code: #!/bin/bash #count lines that show apache2 but not the fgrep itself let i=`ps aux | fgrep apache2 | fgrep -v grep | wc -l` if [ "$i" -gt 0 ] then #log something
[Code]...
It has all been working fine until recently when Apache is becoming unresponsive. I manually ran ps to check and there were 3 processes. However when I ran apache2ctl graceful I got the message 'httpd not running, trying to start' Is there a better way to check if a daemon is up?
my computer is often very slow, to the point of stalling. I tty'd in and when I ran ps -ef I noticed about 10 /usr/sbin/apache2 -k start I dont even want 1 apache running. Any suggestions why these are running, or how to stop it? Well, I can stop it with a sudo killall, but how can I make sure it doesnt happen again?
Does Debian 6 "Squeeze" automatically run boot processes in parallel if not how do I
configure it to do so. Here is the quote from my /etc/init.d/rc : # Specify method used to enable concurrent init.d scripts. # Valid options are 'none' and 'makefile'. Obsolete options
I have p1,p2,p3,p4 some processes created by me in C. p1, p2, p3 are started individually from several consoles. And I want process p4 to terminates processes p1, p2, p3 if they are running. Which is the easiest way to accomplish that? put all processes in the same process group and send from p4 a kill signal to the group. But I couldn't do that because I cannot call successfully setpgid(getpid(), 15000) from p1-p4. It's there some way to put them in the same group? the processes don't have a child-parent relationship, they are launched manually from consoles.
i'm running fluxbox on my xubuntu 10.10. I'm just trying to set up the key file and the keys i enter will randomly not bind. Like for example:
# open a terminal Mod1 F1 :Exec x-terminal-emulator # open a dialog to run programs Mod1 F2 :Exec fbrun # filhanterare Mod1 F3 :Exec thunar # textredigerare Mod1 F4 :Exec notepad
terminal, fbrun and notepad works fine but not thunar. i've tried a million different combos of keys and modifiers and it seems totally random weather it works or not. sometimes what works one minute don't after next reconfigure.
When i run the original keys-file i get this log output:
Keys: Invalid key/modifier on line 66):
I get similar outputs when i change the keys-file for other numbers too but it doesn't seem to happen for every key that doesn't work.
Struggling to get an old xubuntu box connected to the net, running 2.6.24-19-generic
If I try sudo dhclient eth0 I get Code: No DHCPOFFERS received No working leasaes in persistant database -sleeping I have tried rebooting my router to no avail. My other box is connecting fine.
When I open a terminal and start the 'top' command to view the running processes, in the summary view I get 4 users. I guess that in addition to my account the root runs in the background but who are the other 2??
I am trying to get a list of running processes using audio (using gstreamer), just like in gnome-volume-control, under applications, but have so far been unsuccessful in finding anything in either the gtk or gstreamer library, anyone out there who can point me in the right direction?
how to write a shell script the searches for processes running on my system. I really don't know where to start. can anyone give me a hand and explain how the script works?
how to list the currently running processes via code a shell script. FYI i now about the top method in the terminal but i need a way to have it via a shell script.
I'm trying to get the end result to have the same format as this as well:
1 bin 2 daemon 67 erozner
[code]....
Where the numbers are the number of processes being run by the user (the name right next to it).if I input the command egrep myFile into the terminal, it should look for every line with the letter x in myFile, right?