ps is a Unix operating system command and the like used to display the running processes.

learn more… | top users | synonyms

2
votes
3answers
154 views

grep -c gives inconsistent outputs

I am trying to determine the number of processes that are running via the following command line: ps aux | grep -c 'Xvfb :1' When the process "fiji :1" is not running I sometimes get a value of 0 ...
2
votes
2answers
4k views

GhostScript noob help - Breaking a multipage PDF file into many single page PS or EPS files

I'm trying to do the following with ghostscript: Turn one multipage PDF file (about 3,000 pages, 200mb file) into: One file per page of the PDF, and convert each (page/file) to EPS or PS (post ...
20
votes
5answers
29k views

How can I know the absolute path of a running process?

If I have multiple copies of the same app on the disk, and only one is running, as I can see with ps, how can I know the absolute path to distinguish from the others?