To monitor the process we have commands to do,
Code:
top
this command has several attributes.
To monitor a specific process
top -p 22252
where -p -> Process ID(Get it from "ps -e" command)
top -n 1
where -n -> No. of times the data needs to be updated.
No comments:
Post a Comment