Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why is 'gs' running?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Sat Dec 05, 2015 12:43 am    Post subject: Why is 'gs' running? Reply with quote

gs is running from boot and using a pretty steady ~30% CPU. How can I figure out why that is happening?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Dec 05, 2015 8:56 am    Post subject: Re: Why is 'gs' running? Reply with quote

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
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Sat Dec 05, 2015 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Dec 05, 2015 9:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum