ps is a command for printing information about running processes

learn more… | top users | synonyms

0
votes
2answers
44 views

Which tool can be used to configure the CPU priority of a process?

I know that you can use nice to re assign priorities of processes but which tool can be used to configure the CPU priority of a process ?
2
votes
1answer
39 views

Highlight nth column of ps output

I'm trying to find the best way to highlight a specific column of some output. Specifically, I'm trying to highlight the 9th column (which is %cpu of the command: ps -eo ...
1
vote
1answer
26 views

Output of ps lstart changed

I started a program and wrote the output of ps -p PID -o lstart= to a file, like so: $ long_running_command & [1] 4562 $ ps -p $! -o lstart= > start_time $ cat start_time Wed Apr 6 06:16:31 ...
1
vote
1answer
101 views

Why do I get the message set no match when I run this script?

#! /usr/bin/tcsh -f set ps_output = "`ps -u $user`" @ i = 2 echo "$ps_output" set ps_test while ( $i <= $#ps_output ) set line = ( $ps_output[$i] ) if ( $line[4] != "ps" && ...
1
vote
1answer
115 views

Using “ps -C java -o pid,user,cmd” Can I reduce the output of cmd?

I am trying to get this command down to just the essential information that I need. In the command cmd comes back with this output... /usr/local/jre1.7.0_51/bin/java -Dwd.tag=boxect ...
0
votes
1answer
35 views

Discrepancy between Ubuntu 16.10 System Monitor % CPU and ps pcpu, % CPU utilization with respect to the individual Firefox browser process

What is the reason for the following discrepancy between Ubuntu Linux 16.10 System Monitor % CPU utilization and ps pcpu, % CPU utilization with respect to the individual Firefox browser process? For ...
0
votes
1answer
54 views

Is there a way to see which user is logged into the system and has switched with “su”?

There are many person that may have access to the system and use a common user with more grants. How can I see which user is running a command? is there a way to use "ps" for that?
0
votes
1answer
102 views

Average CPU utilization of a process

I am trying to conduct some experiments for determining what the CPU utilization of my process is. I am familiar with the top and ps commands. Which would be a better solution for getting the average ...
0
votes
1answer
661 views

Very large values for utime and stime for foo. Is foo still running?

I am running a program foo It has been running for close to 30 days now (even more) Until around 10 days ago (I cannot be very exact) it used 100% of one cpu on my dual core laptop (it was at the ...
4
votes
0answers
169 views

What processes are used by DRM?

Whenever some content is DRM-protected, screenshots of such content are masked. Even using Terminal does not avoid such problems. Which processes in ps ax are used by DRM that is implemented by ...
3
votes
0answers
5k views

Understanding “vncserver -list” with respect to Xvnc processes

I have a pretty standard setup on a Centos 6.5 VM. I've configured VNC sessions to start at boot per CentOS's wiki VNCSERVERS="1:root 2:moe 3:curly" VNCSERVERARGS[1]="-geometry 640x480" ...
3
votes
0answers
204 views

Can I get WCHAN from ps on Mac OS X 10.7.4?

From the manual it seems that ps -AO wchan should tell me what everything is sleeping on, but everything comes up as -. (And nwchan as 0). Did they do away with the old sleep()/tsleep() interface in ...
2
votes
0answers
39 views

How to get the executed command of a process which has completed successfully using the PID?

I have small script, abc.ksh that takes 3 parameter e.g abc.ksh ${a} ${b} ${c} I will read from a config file with 'n' no of entires and I will execute abc.ksh 'n' times in parallel using a for loop. ...
2
votes
0answers
64 views

Why does my Linux server hang with “ps aux”

I have a server running scientific computation applications. It is SLES 11sp3. Here are some of my observations: I could login to the server with ssh. But for some reason I don't understand, when I ...
2
votes
0answers
26 views

List all processes without controlling terminal (only)?

Is there a portable way to do this? On Linux, I can use ps a -N but this option isn't available on other (POSIX) systems. Of course I can use grep '^?' with, say, -o tty,... but is there something ...
1
vote
0answers
30 views

CPU usage according to ps and operf

I've acquired some data seemingly in conflict from two sources one would assume are reliable. In all likelihood, I'm misreading one of the sources. The server environment is: Ubuntu 14.04.2 LTS, ...
1
vote
0answers
38 views

List services with port numbers

I would like to list all installed services (especially running) with their port numbers, where they are assigned. Could you be so glad and help me with this command?
1
vote
0answers
100 views

Periodically get CPU usage for single process

I've got a problem with the kswapd0 process (pid 52), which from time to time would start to use 25% of the cpu (one full core). I usually stop it with the command sudo sh -c "echo 1 > ...
1
vote
0answers
446 views

Fedora 21: Getting “libprocps.so.1: cannot open shared object file: No such file or directory” on ps

I have Fedora 21, which is a fedup from Fedora 20. My problem is that whenever I am using ps commaand, I am getting /usr/bin/dpkgd/ps: error while loading shared libraries: libprocps.so.1: cannot ...
1
vote
0answers
145 views

Create tree of processes

I'm implementing pstree as an assignment, and I would like to create test tree of processes, but I'm struggling to do so. I tried to do something like this to create tree of background processes ...
1
vote
0answers
71 views

ps shows my mkdir command with a space where I had a slash

I have a script that I ran which seemed to hang during a mkdir command. The command is of the form: mkdir -p /a/b/c/d However, in the ps results, I see: mkdir -p /a/b c/d What could cause this ...
0
votes
0answers
94 views

Is High Virtual Memory usage a problem or may cause problems?

In our server, we have a python based code that listen ports. The amount of Virtual Memory it uses is increased greatly with time Like: USER PID %CPU %MEM VSZ RSS TTY STAT ...
0
votes
0answers
45 views

Possibly Compromised - ./brute xml2014 user x08 300?

I have a long list of a process called "./brute xml2014 user x08 300" when I type in "ps aux". What does this mean? Does this mean my server is being used as a DDoS bot? Here's a screenshot of what ...
0
votes
0answers
278 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 ...