• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

243
Views
How to create a running process graph in Linux

Basically, I need to draw a graph over all running Linux Processes.

I followed below step's but looking out some best solution for this work.

Using Top command get all running process and redirect to a file, next then extract input from given file and draw Graph using some programming API.

This step's seem to be very tedious, Is there any other way to do this work in Linux itself. Please give a suggestion.

about 3 years ago · Santiago Trujillo
1 answers
Answer question

0

You should investigate the /proc filesystem, it has the information you need in a matter that is easily accessible to a perl script.

There is some documentation available at http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html

Of special interest to you is the "children" meta file, there is some documentation at https://lwn.net/Articles/475688/

about 3 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error