View Full Version : [SOLVED] Can someone please explain this output?
vasa1
June 17th, 2012, 07:57 AM
If I run "ps aux | grep compiz" in a terminal, I see:
user_name 2213 0.0 0.0 4368 840 pts/1 S+ 12:17 0:00 grep --color=auto compiz
Does that mean I'm running compiz? To my mind, I'm running a basic Xfce 4.10 session.
bab1
June 17th, 2012, 08:07 AM
If I run "ps aux | grep compiz" in a terminal, I see:
user_name 2213 0.0 0.0 4368 840 pts/1 S+ 12:17 0:00 grep --color=auto compiz
Does that mean I'm running compiz? To my mind, I'm running a basic Xfce 4.10 session.
Nope. It shows you are running grep (see red above) looking for compiz (see blue above).
codemaniac
June 17th, 2012, 08:19 AM
As told by bab1 there is no compiz process running now , still ps returns grep's pid with other attributes .
ps aux output explained below .
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
USER = user owning the process
PID = process ID of the process
%CPU = It is the CPU time used divided by the time the process has been running.
%MEM = ratio of the process’s resident set size to the physical memory on the machine
VSZ = virtual memory usage of entire process
RSS = resident set size, the non-swapped physical memory that a task has used
TTY = controlling tty (terminal)
STAT = multi-character process state
START = starting time or date of the process
TIME = cumulative CPU time
COMMAND = command with all its arguments
vasa1
June 17th, 2012, 08:31 AM
Thank you both :)
Marking thread solved.
firekage
June 17th, 2012, 11:15 AM
Nope. It shows you are running grep (see red above) looking for compiz (see blue above).
Can You check this:
firekage@deusex:~$ ps aux | grep compiz
firekage 2640 0.0 0.0 2040 504 ? Ss 00:57 0:00 /bin/sh -c /usr/bin/compiz-decorator
firekage 2662 1.8 3.6 337596 151072 ? Sl 00:57 12:26 compiz
firekage 28322 0.0 0.0 5688 800 pts/0 S+ 12:13 0:00 grep --color=auto compiz
firekage@deusex:~$
I use it, right?
Carborundum
June 17th, 2012, 11:32 AM
Can You check this:
firekage@deusex:~$ ps aux | grep compiz
firekage 2640 0.0 0.0 2040 504 ? Ss 00:57 0:00 /bin/sh -c /usr/bin/compiz-decorator
firekage 2662 1.8 3.6 337596 151072 ? Sl 00:57 12:26 compiz
firekage 28322 0.0 0.0 5688 800 pts/0 S+ 12:13 0:00 grep --color=auto compiz
firekage@deusex:~$ I use it, right?
Use 'ps -e | grep compiz' instead. If you are using Compiz, the output will look something like this:
1613 ? 00:09:00 compiz
Otherwise, you won't get any output.
vasa1
June 17th, 2012, 11:43 AM
Yes,
USER PID %CPU %MEM
firekage 2662 1.8 3.6
vasa1
June 17th, 2012, 11:47 AM
Use 'ps -e | grep compiz' instead. If you are using Compiz, the output will look something like this:
1613 ? 00:09:00 compiz
Otherwise, you won't get any output.
Neat!
firekage
June 17th, 2012, 01:18 PM
Thank You very much ;)
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.