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

learn more… | top users | synonyms

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
268 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
380 views

How can I find wget processes older than one day in unix?

Using this command I can find all the processes for wget: ps -aef | grep -i wget But I want a command or a script which can provide me the processes older than one day for wget and kill them.
0
votes
2answers
401 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
180 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
277 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
32 views

Output of the ps command and understanding the flags

Ubuntu 12.04 LTS using bash. I tried running the ps command from a Java program using the Runtime and got some unexpected output. Upon closer inspection I realized that it was the output of: ps ...
0
votes
1answer
575 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 ...
0
votes
1answer
1k 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
2k 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
vote
0answers
108 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
304 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
52 views

How to get memory usage of a Minecraft server?

I am creating a Minecraft control panel at the moment and having trouble by getting the memory usage of the process. My current process: launch the server in a screen get the pid of the screen ...
0
votes
0answers
37 views

How many volumes should I add in my btrfs?

How much overhead does a single physical partition add to a btrfs volume? ps aux | grep btrfs | wc -l results in 102. I have 4TBx4 in my NAS and 16GB RAM and Core i3 processor. The NAS also hosts a ...
0
votes
0answers
22 views

TIME of process not listed in ps on Cygwin

I am trying to find the TIME of a process which you would normally find in ps on a Unix based system but instead on Cygwin there is STIME which surely is not the same thing; I've tried to google for ...
0
votes
0answers
25 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
221 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
195 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
252 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
164 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
264 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 ...