viernes, octubre 10, 2014

Monitoring Linux's process from console

The following are some useful commands to monitor the process running on your linux OS:

ps
this is the first and the more basic command to check the status of the process running, just write down on the console the follow command:

$ ps -aux

you will see the following information per each user logged in the machine:
USER       PID  %CPU  %MEM    VSZ   RSS  TTY      STAT START   TIME COMMAND

$ ps -u userid

you will get the process that belong to user userid

top
this command is very powerfull and show you real time information for your process just try this:

$ top
and you will get something like this
to exit press ctrl-c

No hay comentarios.: