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

learn more… | top users | synonyms

0
votes
3answers
451 views

Linux Memory Displays Half Used But No Processes Seem to Be Using It

I am running a Java script on a Fedora Core Release 6 server (Linux 2.6.19-1.2911.6.5.fc6xen x86_64) and am concerned about a lack of memory. The box has 2 GB of memory in total. Running "free -tm" ...
0
votes
2answers
2k views

ps warns me about bad syntax with “aux” options

When I attempt to run the command ps with the flags/switches/options aux I get the following message. If I run the command without grep, no message is displayed. What am I doing wrong? ps -aux | grep ...
7
votes
5answers
4k views

Why does ps aux displays a number instead of a username?

Running ps aux just gave me the following output: ... www-data 26254 0.0 0.7 27304 3544 ? S 15:07 0:00 /usr/sbin/apache2 -k start 1001 25807 0.8 0.8 48444 4332 ? Sl ...
9
votes
2answers
11k views

ps: How can i recursively get all child process for a given pid

How can I get the entire process tree spawned by a given process displayed as a tree and only that tree i.e. no other processes? The output could e.g. look like 4378 ? Ss 0:10 SCREEN ...
0
votes
1answer
47 views

Listing processes for a certain timeframe

ps -fu username lists all processes currently running. Is there a way to list all processes that were running in a time period ? like, the ones that ran yesterday (and are no longer running)
0
votes
2answers
156 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 ...
1
vote
3answers
148 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 ...
0
votes
2answers
689 views

csh script to return number of process running

I want to set the number of a particular process that are running to a variable. The first line of the csh script below is the problem as it sets the variable "number" as ps aux | grep -c fiji ...
1
vote
1answer
112 views

pdf file resists converting to ps and printing

I'd like to print this file: http://florian-konnertz.de/public/Psychology_of_Computer_Programming.pdf I cant find out how I do that here. I tried on our Kyocera FD 2000 beside from pdf viewers from ...
6
votes
5answers
4k views

How to find out from which folder a process is running?

In *nix you can use ps to see which process are running. But if an executable has multiple homonimous files in a device, we can't figure where it was invoked from. This is slightly different from my ...
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
1answer
2k views

Unix ps -l priority

Why does unix ps -l whows one number in column "PRI" but in same time ps -o pri shows another number? P.S. cpu and nice are zero for those processes
4
votes
1answer
5k views

Unix : List children processes for a given pid

What I need is, given a process id, list all his children without any clutter (table header, other columns than the pid) What I have is : ps h --ppid $PID Which gives me: 26277 pts/13 S+ ...
0
votes
1answer
745 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 ...
6
votes
3answers
5k views

Why does my system hang when I run ps, w and possibly other commands?

I don't know why, but I cannot run the ps or w commands on my Ubuntu 10.04LTS machine. I did a trace for both, and both stopped when reading part of the same file. Here's the result of running ps ...
2
votes
2answers
623 views

CMD in ps command in linux

Under CMD, I was wondering what the /1 or /2 ... are? What do they indicate? I couldnt find it in the man page. In general, does anyone have a good understanding of the CMD column that they could ...
0
votes
2answers
975 views

How to Split a Big Postscript file (3000 pages) into one individual file per page (using Windows 7)? [duplicate]

Possible Duplicate: GhostScript noob help - Breaking a multipage PDF file into many single page PS or EPS files. Hi, I'm having trouble doing the following: I have a big PDF file that I ...
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 ...
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 ?
3
votes
2answers
3k views

Is it possible to 'hide' a process from the listing of `ps` or `top` on Linux

First, I presume that if this is possible it would need to be done as root (or as a user who shares root's UID of 0). How can a process be launched so that it does not show up in a ps aux or ps ef or ...
1
vote
1answer
2k views

In ps -ef, what information does the fourth column show?

For example, ps -ef Display full information about each of the processes currently running. UID PID PPID C STIME TTY TIME CMD hope 29197 18961 0 Sep27 ? 00:00:06 sshd: hope@pts/87 hope 32097 29197 ...
4
votes
1answer
11k views

for ps aux what are Ss Sl Ssl proccess types UNIX

when doing a "ps aux" command I get some process listed as Ss, Ssl and Sl what do these mean? root 24653 0.0 0.0 2256 8 ? Ss Apr12 0:00 /bin/bash -c /usr/bin/python ...
1
vote
1answer
345 views

Groff ignores line breaks from my shell

I've been using groff to make ps files for printing with the -man flag. If I want to convert anything else such as a header file or just the output from ls -l or other program the line breaks are ...
3
votes
1answer
277 views

Why is the reported user “root” when a “normal user” executes “ps ux” on OS X? Is this normal behaviour?

I am running OS X 10.6.1 . When i am logged in as a normal user of group staff and do a ps ux it lists my ps ux command as being run by root: snies 181 0.0 0.3 2774328 12500 ?? S ...
54
votes
3answers
77k views

ps aux output meaning

When typing ps aux, what does each column of the output mean? For example $ ps aux timothy 29217 0.0 0.0 11916 4560 pts/21 S+ 08:15 0:00 pine root 29505 0.0 0.0 38196 2728 ? ...
18
votes
5answers
25k 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?