Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pslist(1) [debian man page]

PSLIST(1)						    BSD General Commands Manual 						 PSLIST(1)

NAME
pslist -- control processes and their descendants SYNOPSIS
pslist [pid/name...] pslist -h | --help pslist -v | --version rkill [-SIG] pid/name... rrenice [+/-]pri pid/name... DESCRIPTION
The pslist utility examines the list of current processes to find a specified process and all its descendants. A process may be specified either by name or by process ID. If no arguments are given, pslist displays a list of the whole process tree. For each process specified on the command line, pslist outputs a line containing the process ID, the command name, and the PIDs of all the descendants (and their descen- dants, etc.). When invoked as rkill, this utility does not display information about the processes, but sends them all a signal instead. If not specified on the command line, a terminate (SIGTERM) signal is sent. When invoked as rrenice, this utility does not display information about the processes, but attempts to set their nice value instead. RETURN VALUES
The pslist utility exits 0 on success, and >0 if an error occurs. SEE ALSO
pgrep(1), pkill(1) HISTORY
The pslist utility was written by Peter Pentchev in 2000. AUTHORS
Peter Penchev <roam@ringlet.net> BSD
June 1, 2009 BSD

Check Out this Related Man Page

KILL(1) 						    BSD General Commands Manual 						   KILL(1)

NAME
kill -- terminate or signal a process SYNOPSIS
kill [-s signal_name] pid ... kill -l [exit_status] kill -signal_name pid ... kill -signal_number pid ... DESCRIPTION
The kill utility sends a signal to the processes specified by the pid operands. Only the super-user may send signals to other users' processes. The options are as follows: -s signal_name A symbolic signal name specifying the signal to be sent instead of the default TERM. -l [exit_status] If no operand is given, list the signal names; otherwise, write the signal name corresponding to exit_status. -signal_name A symbolic signal name specifying the signal to be sent instead of the default TERM. -signal_number A non-negative decimal integer, specifying the signal to be sent instead of the default TERM. The following PIDs have special meanings: -1 If superuser, broadcast the signal to all processes; otherwise broadcast to all processes belonging to the user. Some of the more commonly used signals: 1 HUP (hang up) 2 INT (interrupt) 3 QUIT (quit) 6 ABRT (abort) 9 KILL (non-catchable, non-ignorable kill) 14 ALRM (alarm clock) 15 TERM (software termination signal) Some shells may provide a builtin kill command which is similar or identical to this utility. Consult the builtin(1) manual page. EXIT STATUS
The kill utility exits 0 on success, and >0 if an error occurs. EXAMPLES
Terminate the processes with PIDs 142 and 157: kill 142 157 Send the hangup signal (SIGHUP) to the process with PID 507: kill -s HUP 507 SEE ALSO
builtin(1), csh(1), killall(1), ps(1), sh(1), kill(2), sigaction(2) STANDARDS
The kill utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible. HISTORY
A kill command appeared in Version 3 AT&T UNIX. BUGS
A replacement for the command ``kill 0'' for csh(1) users should be provided. BSD
April 28, 1995 BSD
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

BDS Commands

Just wondering where i can find a list of BSD 4.5 Commands. Thanks BB (3 Replies)
Discussion started by: bbutler3295
3 Replies

2. UNIX for Dummies Questions & Answers

display full process name

hi, everytime i use the "ps -elf" command to monitor the processes, i always encounter one problem. some process names are just to long and was truncated. what command should i use to display the full command/process that is running. pls help me. urgent. thanks:rolleyes: (1 Reply)
Discussion started by: champion
1 Replies

3. UNIX for Dummies Questions & Answers

How to find the maximum # of PIDs

Is there a command in HP Unix which can be used inside a K shell to find out the maximum number of processes (PIDs) a pc can generate? Any help will be greatly appreciated. Steve (8 Replies)
Discussion started by: stevefox
8 Replies

4. UNIX for Dummies Questions & Answers

process dependency

how to find all the processes associated with a given process in unix,is there any command for this. (3 Replies)
Discussion started by: laddu
3 Replies

5. UNIX for Dummies Questions & Answers

ps-u

I want to find out the number of processes returned by ps-u command..Need help. (3 Replies)
Discussion started by: anupa
3 Replies

6. UNIX for Advanced & Expert Users

lsof and have to find file, pid

Hi All, My target is to find the biggest files opened by any process and from that i have to find process id and the corresponding file also. To get the process id which is accessing the biggest file in the given file system, i am using the below command. pid=`lsof -s /home/arun/my_work |... (4 Replies)
Discussion started by: Arunprasad
4 Replies

7. AIX

Command to find TOP 5 Memory consuming process

HI All, Can anyone send me a command to find TOP 5 Memory consuming process. It would be lelpful if I get output something like below processname - pid - memory(in MB) - command I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Discussion started by: bce_groups
4 Replies

8. UNIX for Dummies Questions & Answers

Read the line from the last and display the one which is non-zero

Hi All, My requirement is this. Am trying to find a one liner unix command, which will check the last line of the file for 0. If it is zero, it would pick the previous line, else it should display the last line. Eg: abcd efgh ijhk 0 0 Output expected -- ijhk Please share your... (8 Replies)
Discussion started by: hariniiyer300
8 Replies

9. Shell Programming and Scripting

Pgrep for processes which are not associated with a terminal in Ubuntu

I would like to find all of the PIDs of processes which are not associated with a terminal and started by CRON. When I do the ps aux | less command, I see in the TTY field a lot of processes with ? character I would like to get those processes ID, is there a way to do that with pgrep? ... (1 Reply)
Discussion started by: ASF Studio
1 Replies

10. UNIX for Beginners Questions & Answers

Diff between "ps -ef"and "ps -eo"

Hi, have to list current running processes (including sub-processes/child processes). im using ps -eo etime,pid,cmd | grep "process_name" But sometimes, the command is not listing the sub-processes. I assume all processes (processes and sub-processes ) are listed only with ps -ef command, but not... (6 Replies)
Discussion started by: JSKOBS
6 Replies