What is "X" as root ?
Hello,
I did "top" to look at my processes because my machine was slow for some reason. I saw this line: 5170 root 17 0 100 138:22.74 0.4 327m 29m 6244 R X This is taking up an entire processor, so I am only at 75% efficiency at most. This is a nuisance since I need speed for my work. Can you tell what "X" is, and why is it being run as root? Can I safely kill or cancel this process (kill -9 5170) ? Thanks. |
This is the X server.
It must run as root. It can take up a lot of CPU time. If you don't want it then don't use X Windows and do everything on the console (there are a number of console applications that you can substitute for GUI apps). |
Quote:
5170 root 15 0 3 145:16.67 0.4 327m 29m 6244 S X This means that every time I run that job, I use up 2 processors? How is this possible? How can I cure the problem? Thanks |
Quote:
Cheers |
GUI or CLI
Quote:
The only way to not use X is to boot to a Command Line Interface and login from there. You'll have a plain screen with a bash prompt from where you can issue commands. Not very pretty - but fast. It sounds like you don't have a very powerful PC. Perhaps you could supply some details. For, say a Pentium 2 -300MHz with 32MB RAM, even a lightweight window manager like twm would find it hard going. |
Quote:
Could the problem appear when I run something else, like my internet (firefox) etc? Regards. |
Can you provide us the output of top so we can see all the info?
Make sure you paste it with the CODE tags so it is formatted. Example showing the top 5 process's ... this is my system running KDE and Firefox: Code:
top - 11:50:00 up 22:50, 2 users, load average: 0.08, 0.24, 0.24 |
[QUOTE=dxqcanada;3083037]Can you provide us the output of top so we can see all the info?
Make sure you paste it with the CODE tags so it is formatted. Example showing the top 5 process's ... this is my system running KDE and Firefox: Code:
top - 00:14:51 up 9 days, 8:06, 11 users, load average: 4.99, 5.35, 5.07 X appears to well behaved at the moment even though I am running firefox as I write. Thanks |
As long as you are running within an X Windows environment application the "X" process will be running and using resources.
At times the X process will jump to consume a higher processor usage (but then again all process's will use 100% of the CPU). I do not think the X process is slowing your system down in particular ... otherwise you should always see this process consuming most of your CPU time. It does appear that your Hypact processes utilize a lot of memory. Next time click the "#" icon and paste your output between the [ code ] and [ / code ] tags. |
All times are GMT -5. The time now is 07:50 AM. |