# Linux processes, threads (or sub-processes), resource consumption view
To view a process:
Ps-ef | More (-e: All Processes,-F: Full format)
++++++++++++++++++++++++++++++++++++
+ UID: User ID+
+ PID: Process ID+
+ PPID: Parent process ID +
+ c:cpu occupancy rate +
+ stime: Start time +
+ TTY: Start TTY (terminal equipment) for this process +
+ Time: Total times this process has run +
+ CMD: command to start the process +
++++++++++++++++++++++++++++++++++++
Ps-ef | Grep-i < Program name >
To view Threads:
PS-T-P <pid>
To view resource consumption:
Top-p <pid>//process
Top-h-P <pid>//processes and threads under process (child processes)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ PID: Process ID +
+ USER: Owner +
+ PR: Priority, smaller priority higher +
+ Ni:ninice Value +
+ VIRT: Virtual memory occupied +
+ RES: Physical memory occupied +
+ SHR: Shared memory occupied +
+ S: Process status, S hibernate, r running, Z Zombie, n priority value negative +
+%cpu:cpu occupancy rate +
+%men: Physical memory usage +
+ time+: Cumulative value of CPU time +
+ Command: Process-initiated commands +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Linux processes, threads (or child processes), Resource Usage view