How to check in terminal if a process is running?

Booting, installing, newbie
Post Reply
Message
Author
sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

How to check in terminal if a process is running?

#1 Post by sayhello_to_the_world »

hello puppy-friends,


good day - new to p. so do bear with me for asking dumb questions.

how to check in terminal whether a process is running?

-eg a process of copying files

btw: perhaps we can see how many percent of the copy is done yet.


ps -important: the process of copying the files was executed not (!!) in terminal but in the dolping (the gui-tool of my - linux)

guess that this does not make any difference - we can see the copying too - in terminal !?
can we!?


love to hear from you

say

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2 Post by zigbert »

sayhello_to_the_world
you could try

Code: Select all

ps | grep 'cp'

Sigmund

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#3 Post by GustavoYz »

Exactly.
If you want a better panorama of running processes, use top or get htop.

Post Reply