View previous topic :: View next topic |
Author |
Message |
grant123 Veteran

Joined: 23 Mar 2005 Posts: 1011
|
Posted: Sat Dec 05, 2015 12:43 am Post subject: Why is 'gs' running? |
|
|
gs is running from boot and using a pretty steady ~30% CPU. How can I figure out why that is happening? |
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat Dec 05, 2015 8:56 am Post subject: Re: Why is 'gs' running? |
|
|
grant123 wrote: | gs is running from boot and using a pretty steady ~30% CPU. How can I figure out why that is happening? |
grant ... I assume that would be /usr/bin/gs (app-text/ghostscript-gpl) ... you can look at the full command and the parent that spawned it:
Code: | # ps --no-headers -f -C 'gs'
# ps --no-headers -f -p $(ps -o ppid= -p $(pgrep gs)) |
Given what gs does then I'd suspect its something related to your DE, or print-server/service.
best ... khay |
|
Back to top |
|
 |
grant123 Veteran

Joined: 23 Mar 2005 Posts: 1011
|
Posted: Sat Dec 05, 2015 2:57 pm Post subject: |
|
|
Nice one Khay! That lead me to discover that I had a print job pending. I turn my printer off when I'm not using it, so I turned it on, it printed, and gs went away. Do you think I should file a ghostscript bug? It seems silly for gs to suck up so much CPU in that scenario. BTW, when I said 30% CPU, that's 30% of the sum of a quad-core. |
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat Dec 05, 2015 9:25 pm Post subject: |
|
|
grant123 wrote: | Nice one Khay! That lead me to discover that I had a print job pending. I turn my printer off when I'm not using it, so I turned it on, it printed, and gs went away. Do you think I should file a ghostscript bug? It seems silly for gs to suck up so much CPU in that scenario. BTW, when I said 30% CPU, that's 30% of the sum of a quad-core. |
grant ... you're welcome. I'm not sure ghostscript is the issue here, it may be cups, or perhaps even the facility sending the document to gs. So, unless you get a clearer idea of why it happens its best not to report it.
best ... khay |
|
Back to top |
|
 |
|