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

learn more… | top users | synonyms

1
vote
3answers
1k views

How to select processes by command name when using ps in Mac OS X

In Linux, I use ps -C command_name to select processes of specified command name. But it doesn't work in Mac OS X. I read the the man page of ps carefully, but just can not find any option to do this. ...
2
votes
2answers
1k views

How to convert PDF to ASCII Postscript so the contained text can be searched/replaced?

According to Chapter 3.2 of the PostScript Language Reference, "there are three encodings for the PostScript language:ASCII, binary token, and binary object sequence". We've been generating PDF files ...
1
vote
2answers
186 views

Kill a process in Unix

When I execute theps -fea | grep ssh-agent command, I get the following output: tomcat 29057 14086 0 Jan 09 ? 0:00 ssh-agent oracle 1964 14086 0 Nov 26 ? 0:00 ...
0
votes
2answers
222 views

Please explain the ps -aef on rhel

What does pts/2 indicate in the output below? Why there is no such for other dd processes? $ ps -aef |grep dd root 6553672 15073352 3 02:32:19 - 0:01 dd of=/dev/lv01 bs=1024k padmin ...
0
votes
2answers
168 views

memory usage by using ps in linux

I am trying to compare memory usage between my program and sample program which is given by using ps in linux mine and sample is written by c++ and I am not sure how to compare how much memory those ...
3
votes
1answer
192 views

rsync … blocked for more than 120 seconds

I'm running an rsync between two external USB 2TB drives to make a copy on a CentOS 5.9 server. It appears to have stalled, and it hangs when I cd to the source drive in the copy, while the ...
0
votes
1answer
27 views

watching output of “ps aux | grep blah” in tmux will not work?

I am trying to run this - watch "ps aux | grep myShittyProcess" in a tmux session. This process myShittyProcess was also started in a tmux session. The ps aux works without watch command. But as ...
0
votes
1answer
60 views

Linux Command to display only mingetty's info

I am looking for a command that will give only mingetty's information. How can you construct the command to find only mingetty data and find the PPID in Linux?
0
votes
1answer
816 views

How can I convert a PostScript file into a PDF where text can be selected?

I'm on a Mac. I need text to be selectable in applications such as Preview.app, so that I can highlight it. If I open the PS file directly in Preview, I cannot select text. I have already tried ...
0
votes
1answer
1k views

how to check process tree in hpux, just like ptree in Solaris?

how to check process tree in hpux, just like ptree in Solaris ?
-1
votes
1answer
403 views

Why do processes on Mac not add up to total physical memory?

Running ps -ax -O 'rss user %mem should summon all the processes that are currently contributing to either Active or Wired , in the Mac definitions of "Active + Wired + Inactive + Free = Total ...
1
vote
0answers
50 views

Using systemd-cgls and cgroups as a user configured pstree

When using pstree I was annoyed that processes forget their grandparent process when they get orphaned since they get adopted by init, so I thought maybe I could use systemd-cgls and cgroups, since an ...
1
vote
0answers
164 views

ps - Summing up memory usages

The more I read, the more confused I get.. I want to generate a list of processes and their memory consumption (physical + virtual). So far, this is what I have done: I take the VSZ of each ...
0
votes
0answers
9 views

pidof Xorg is not returning a number on my computer

I'm trying to debug a performance problem with Xorg on my computer and I found a curious problem doing the operf command: pidof -sx Xorg, or just pidof Xorg outputs nothing. But ps -e | grep Xorg ...
0
votes
0answers
46 views

unix process showing unusual cpu usage and timing in ps aux

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 684 186912060 0.0 17140 988 ? Ss Feb24 54195432:44 root 7319 288895842 0.0 4096 668 ? S 04:30 ...
0
votes
0answers
99 views

How to access different tty session

I wanted to know if there is any possibility of login to other tty sessions. Someone has mistakenly changed the root su password. One of the session is already logged in as root. So any possibility ...
0
votes
0answers
107 views

Why I can kill a process with Sl STAT but not process with R+ STAT?

I am trying to figure out why I can stop a firefox (for example) process with STAT Sl, but not one with R+? I've got the following: # ps aux | grep firefox root 14671 0.0 0.1 63824 1196 ? ...
0
votes
0answers
170 views

Name of Rake task in ps output?

pid = `ps -ef | grep -v grep | grep rake | awk '{print $2}'` This is a bunch of ruby code that executes piped linux commands. While I usually just use ps aux, just because, I noticed that the rake ...
0
votes
0answers
102 views

Which processes were running yesterday?

We have a production machine that keeps crashing on regular basis. Our staging environments run fine, but when the application is deployed to production, the production machine crashes after two or ...
0
votes
0answers
164 views

PStree with memory use?

Is there any utility out there for linux that will give me a PStree with memory use per process? I guess it's possible in theory to grab a pstree with pids, then comb ps itself for the memory use for ...