Linux - ps (process statut)

Bash Liste Des Attaques Ovh

About

Report a snapshot of the current processes.

To get a repetitive update of the selection and of the displayed information, use top.

This ps works by reading the virtual files in /proc.

Management

tree

To print a process tree:

ps -ejH
ps axjf

thread

ps -eLf
ps axms

Process - (Kernel) Thread (Lightweight processes - LWP)

user process

ps -u oracle -f
UID        PID  PPID  C STIME TTY          TIME CMD
oracle   13502 13499  1 14:09 ?        00:01:09 sshd: oracle@pts/2
oracle   13503 13502  0 14:09 pts/2    00:00:00 -bash
oracle   16382 16380  0 14:44 ?        00:00:00 sshd: oracle@notty
oracle   16383 16382  0 14:44 ?        00:00:00 /usr/libexec/openssh/sftp-server
oracle   16430 16415  0 14:44 ?        00:00:00 sshd: oracle@notty
oracle   16431 16430  0 14:44 ?        00:00:00 -bash
oracle   17442     1  0 14:59 ?        00:00:01 /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr LISTENER -inh
oracle   29107 13503  0 15:39 pts/2    00:00:00 man ps
oracle   29110 29107  0 15:39 pts/2    00:00:00 sh -c (cd /usr/share/man && (echo ".ll 9.8i"; echo ".nr LL 9.
oracle   29111 29110  0 15:39 pts/2    00:00:00 sh -c (cd /usr/share/man && (echo ".ll 9.8i"; echo ".nr LL 9.
oracle   29116 29111  0 15:39 pts/2    00:00:00 /usr/bin/less -is
oracle   29224 13503  0 15:42 pts/2    00:00:00 ps -u oracle -f

  • Sort
ps -ao pid,user,args --sort user

full output

ps -ef | grep <process>

where the flag:

  • -e selects every process
  • -f chooses the “full” output format

full with parameters

For complete information about the process including all parameters

ps auxww | grep <process>

where:

  • a lists all processes on a terminal, including those of other users,
  • x lists all processes without controlling terminals
  • u adds a column for the controlling user for each process.





Discover More
Bash Liste Des Attaques Ovh
Bash - process

This article is the bash Process. To see how to manage another general linux process, see The process running the command is created. The process inherits the stdin, stdout, and stderr from...
Card Puncher Data Processing
How to upgrade SQLite to the latest shared library version

This howto shows you how to upgrade your shared SQLite library
Linux - Process

in linux With the ps utility How to get the PID (process identification number) of a process ( $$ pgrep Function example Priority gives the process more or less CPU time than...
Obi Edition
OBIEE 10G - Linux OEL 5 x86 Installation version 10.1.3.4.1

Open the Set the JavaHome parameter to the point to the new JDK location. For example, . tail Oracle BI Java Host start-up details: /usr/local/OracleBIData/web/log/javahost.out.log Oracle BI Java...
Process States
OS - Process (Main Thread) / Program

OS A process is the first thread started (called the main thread). It's the only thread that is authorized to start a new threads. A process is a unit of resources, while a thread is a unit of: scheduling...
Card Puncher Data Processing
Shell Data Processing - Global Regular Expression Print (GREP command) (line filtering, word search)

grep stands for “global regular expression print”. Grep searches lines of a file that match a regular expression pattern and returns them. It is by default case sensitive. searches all files...
Linux Performance Tools
What are the Metrics / Counters of Linux ?

This page is about the Hardware / Resource Performance Metrics management. They helps monitor the Linux System.



Share this page:
Follow us:
Task Runner