Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What are those GS processes on our site ? It's a business intranet.

I have like 9 processes I see with top command

user: www-data

each takes from 37 to 49 %cpu

command : gs

I read ghostscript somewhere... don't know how to fix this. I killed the pid butkeps getting back

thank you
Posted
Comments
Sergey Alexandrovich Kryukov 10-Apr-15 2:13am    
Fix what? What's the question? Isn't it off topic? Did you write "gs" and have problem with it? If not, this is off-topic...
—SA

1 solution

We can't know what are these processes.

To list the running processes use the ps command with long format output:
ps alx

To limit the output use grep:
ps alx | grep gs

Note that one line is for the above command and there may be others non related ones when they contain the gs string.

Now lookup the ppid column to see which process has started the gs commands. Call the above ps command again grepping now for the ppid number to get the name of the parent process. This process may be for example a CGI script which has been started by a web server.

Finally look up the documentation of the initiating process.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900