report a snapshot of the current processes. Useful when trying to determine the status of the running process in a specific moment.

learn more… | top users | synonyms

0
votes
2answers
17 views

Why does ps output show a process even if it is not running?

Why does the ps shows a process even if it is not running. While Firefox is running: $ echo $(ps aux | awk '/firefox/{print $2}') 5964 6041 But when Firefox is not running, I tried to run the same ...
1
vote
0answers
31 views

Why ps produce different output when it is started from a cron job?

When I run ps -f -u $USER ($USER is ubuntu) this is the output I get. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ubuntu 23517 0.0 0.1 22244 4856 pts/5 Ss+ ...
2
votes
1answer
44 views

find a process' time in the current state

I'm Looking for a way to show the time a certain process is in it's current state. At the moment, I'm using the command: ps -A -o uname,pid,state,etime,cmd | grep -e pbs | egrep -v "grep" Which ...
0
votes
1answer
39 views

how to list all processes as sorted names

As far as I know, ps -ewill list all processes in ubuntu. But the results are sorted based on pid. I want the results are based on sorted names. What command should I use ?
1
vote
1answer
71 views

How to find the running network services and the port and user

I want to find a list of all network services running on my system, including details of the port and services and the users. I know that I need to use netstat, ps and fuser. but I don't know how to ...
1
vote
0answers
76 views

Ubuntu 14.04: Converting a `pdf` file to `ps` format

I want to convert pdf file to ps file and used the following command in Ubuntu 14.04 pdf2ps input.pdf output.ps But this command throws the following error: sfopen: gs_parse_file_name failed. ...
1
vote
0answers
84 views

Terminal crashes when I'm trying to use “ps aux” or “ps -U root”

I have a problem with terminal. Recently, I accidentally deleted all my files in /home directory, but I restored it with Testdisk program. I think that probably this could cause problems. The problem ...
2
votes
1answer
205 views

What C is PS using to Determine Process Info Programmatically

In both linux and macos we can get PID info, start time by using bash: ps -p PID_HERE -o lstart=. I was going to use lstat and plan on it. But just out of curiosity: Programatically ps has to be ...
3
votes
2answers
568 views

ps aux for long charactered usernames shows a plus sign

I'm trying to get an output from ps aux so that it looks like: giovanni 28331 4381 0 15:43 ? 00:00:00 sshd: giovanni@pts/1 giovanni 28346 28331 0 15:43 pts/1 00:00:00 -bash ...
2
votes
1answer
97 views

Why 'nobody' always starts a new `find` program that always consume my memory?

$ ps -elf | grep ... 0 D nobody 27320 27319 2 90 10 - 353471 sleep_ 07:54 ? 00:02:19 /usr/bin/find / -ignore_readdir_race ( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o ...
10
votes
4answers
870 views

Find children of the process

is there any way to know, who are children of the specific process ? for example those children which their parent ID is foo ?
1
vote
4answers
155 views

Which is the shortest way to list a running process?

I often need to check if a process is running, so I use one of these: ps aux | grep myprocess ps -Fe | grep myprocess top pgrep myprocess (only shows the PID) pkill myprocess (if I want to kill it) ...
1
vote
1answer
216 views

what is the meaning of ax in ps ax

I know when you type sudo ps ax, that list all of the running process on the system. But want to know what is ax? what ax stand for? Is that abbreviation ?
1
vote
1answer
88 views

How do I find out if a configuration setting is running?

I use a High-DPI monitor on my Lenovo Yoga2 Laptop (like a retina display) so I have to change the overall font-scaling. There are many ways to set the text-scale-factor, for example dconf-editor, I ...
0
votes
1answer
597 views

What does “pts/6” or “?” mean in the output of ps

I am running bitcoin, litecoin, dogecoin, auroracoin and anon coin servers in different ports. When I grep each coin has different configurations as shown below. I can't understand what the question ...
15
votes
2answers
1k views

How to check my niceness?

Is there any way to check my nice lvl? I did try with ps, but for some reason the output does not show the column NI which is meant to show the lvl priority if I'm not wrong. ps -fl -c F S UID ...
0
votes
1answer
223 views

Width of ps output

I have used foreman to export an upstart config. There are a lot of long environment variables so the processes started include some with a long command like: -su -c cd ...
2
votes
1answer
42 views

How to list all the PIDs and names of all the runing processes

I know that there is this command : ps aux to get all info about the running processes .. but I need only the names and ids for these processes , is there any command can list the processes ids or ...
0
votes
1answer
26 views

Why can't pgrep find a process?

Consider: $ ps -ef | grep myprocess root 7204 1 99 23:37 ? 00:02:36 ./myprocess drew 7439 7266 0 23:38 pts/0 00:00:00 grep myprocess $ pgrep myprocess The process in question ...
-1
votes
3answers
100 views

What's mean “identical to -e” when I use this command: ps -A?

I want to know what this mean. ps -A → Select all processes. Identical to -e. What's mean "Identical to -e."?
3
votes
1answer
2k views

How many Nginx processes should there be?

Just installing Nginx on a fresh ubuntu server 12.04. ps -e | grep nginx at first returned nothing so i ran nginxwhich appeared to get things started. Running ps -e | grep nginx now returns a ...
2
votes
3answers
9k views

What is the meaning of “ps -aef | grep $(pwd)” command?

What is the meaning of this command, what does it do? ps -aef | grep `pwd`
0
votes
2answers
416 views

How can I tell state of program seemingly running

I had Firefox running, then (possibly) as a result of a key combination I don't recall, it quickly vanished from screen and Task Bar/Window List. ps ax | grep firefox returns the below+the unneeded ...
26
votes
1answer
33k views

What do the STAT column values in ps mean?

In the STAT column of ps there are a load of letters that don't really make much sense. What do they mean? Here's an example of ps aux | head: USER PID %CPU %MEM VSZ RSS TTY STAT ...