Geek Culture
Published in

Geek Culture

Monitor processes in Linux with custom script

Why use tools when you can create your own.

When you run px aux we can see multiple status.

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

We will try to gather few data from here by reading the proc files in linux system:

  • In Linux, Each process is given a unique PID.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Umangshrestha

I like computer and programming. I am currently trying to learn how to write articles for sharing what I know.