Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7959219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:32:18+00:00 2026-06-04T04:32:18+00:00

In my application I have many threads created using threading module and I need

  • 0

In my application I have many threads created using threading module and I need to get as many information about them as possible. Without any problem I can take info about running time. But how to get such information as memory usage of thread and CPU usage (and best would be CPU time).

I found yappi module but it don’t fit to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:32:19+00:00Added an answer on June 4, 2026 at 4:32 am

    Well i don’t know which os you are using, but i suggest you look for tools or apis provided by your os to solve this question.

    For example in Linux for every process there exists a directory /proc/[pid]/, [pid] beeing the process id. In this directory you will find various pseudo-files, that hold information about almost every aspect of the process. You can open these in python like any other file, so it’s very easy to get this information. One of the most important files for your question is /proc/[pid]/stat.

    Also there are additional directories /proc/[pid]/task/[tid], [tid] beeing the thread id. These hold informations per thread.

    So you see in Linux you could get your information via simple file operations like open() and .read(). I quess that most other operating systems will provide this information too, one way or the other.

    To learn more about /proc use man proc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im using c# .net windows form application. I have many databases created using sql
I have many domain classes in my application an for Audit logging I need
In many places in our application we have code like this: using(RAPI rapi =
I have always wondered about this. So many application setups have a zip file
I have many threads running in my C# application and each of those threads
I have an application where I obviously create too many objects, i get this
Many time-consuming threads (500-900ms.) are created in the application. They are to be executed
I have an application that has many threads processing data. As part of this
In my web application we have many users.I want to set permission for each
I have an application with Users, Machines, and Tests. Users have many Machines and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.