Linux and UNIX Systems Configuration Help, How To, Tutorial and Basic Information

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home Commands System
System
pstree PDF Print E-mail
Friday, 19 February 2010 12:44
AddThis Social Bookmark Button

Command pstree

Displays all running processes in a tree.

Syntax

pstree [options] [process_id]

Options

-a displays the command line arguments.
-c does not compress the subtrees.
-l displays a long line.
-n sorts the processes by their identifiers (and not by name).
-p displays the process IDs.

Description

Pstree command displays all the processes in the form of a tree - so it's easier to see the relationship precedence processes.

 
ps PDF Print E-mail
Friday, 19 February 2010 12:37
AddThis Social Bookmark Button

Command ps

Displays the status of processes (programs) running in the system.

Syntax

ps [options]

Options

Note that unlike other commands ps command options do not have a prefix "-".
a display processes of other users.
f displays a tree of processes.
j displays the output using the format jobs.
l displays the data in long format, with detailed information about each process. m displays information about memory usage of each process.
u displays the user name and start time.
x displays processes that are not associated with any terminal.

Description

The ps command displays the status of processes running on the system. The ps command without parameters to generate a list of processes you run. To view a list of all processes running on the system, type ps ax (or ps aux, if you want more information for each process).

 
killall PDF Print E-mail
Wednesday, 16 December 2009 17:17
AddThis Social Bookmark Button

Command killall

killall command kills all active processes.

Syntax

killall [options]

Options

view option kill command

Description

Command killall kills all active processes. Implied value send a signal equal to 9 (signal destruction).

 
kill PDF Print E-mail
Wednesday, 16 December 2009 17:07
AddThis Social Bookmark Button

Command - kill

Kill command sends a signal to the process.

Syntax

kill [options] id_process

Options

-Nsignal sends a specified signal (where Nsignal - the number or name).
-l displays the number and names of signals.

Description

The kill command sends a signal to the process. The signal default kill signal is TERM Usually this signal is designed to complete the process. For example, kill -9 123 terminates the process with ID 123. To view identifiers processes use the command ps. To view a list of names and number of signals type signal kill -l.

 
free PDF Print E-mail
Monday, 14 December 2009 19:22
AddThis Social Bookmark Button

Command free

free command displays the number of free and used memory in the system.

Syntax

free [options]

Options

-b displays the amount of memory in bytes.
-k displays the memory size in kilobytes (default).
-m displays the amount of memory in megabytes.
-sn command repeats every n seconds.
-t displays the string with the total number of free and used memory.

Description

The free command displays information about the physical memory (RAM) and swap space (on disk). In the output information shows the total amount of memory, as well as the number used and free memory.

 
More Articles...
<< Start < Prev 1 2 Next > End >>

Page 1 of 2

Latest News

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)