I want to get the CPU and memory usage of a single process on Linux – I know the PID. Hopefully, I can get it every second and write it to a CSV using the ‘watch’ command. What command can I use to get this info from the Linux command-line?

22 Answers
22

Leave a Reply

Your email address will not be published. Required fields are marked *