Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add number of threads information #129

Closed
giampaolo opened this issue May 23, 2014 · 10 comments
Closed

Add number of threads information #129

giampaolo opened this issue May 23, 2014 · 10 comments

Comments

@giampaolo
Copy link
Owner

From fritz....@gmail.com on November 02, 2010 14:06:57

It would be a nice idea to add number of threads. This info is available in 
/proc/<pid>/status : 
Threads:    8


Is it possible ?

Original issue: http://code.google.com/p/psutil/issues/detail?id=129

@giampaolo
Copy link
Owner Author

From g.rodola on November 02, 2010 06:33:02

Setting 0.2.1 milestone for now.
First we have to figure out what kind of information we want to provide exactly.
Other than just the number of threads one might want to have a "thread object" 
and do something with it, like getting its id or killing/suspending the thread 
in which case the implementation gets a lot more complicated than just reading /proc.

Labels: -Type-Defect Type-Enhancement Milestone-0.2.1

@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on November 02, 2010 11:49:32

My vote would be just to have number of threads as a metric, at least for now. 

I can't really see killing/suspending or otherwise tampering with threads for a 
running process from psutil, but if for some reason we do decide to do that we 
can implement that later.

@giampaolo
Copy link
Owner Author

From g.rodola on November 08, 2010 09:35:34

It turned out we need exactly this at work to debug a nasty bug in our web app 
build on top of paster web server. =)
For this reason I'm re-setting milestone to 0.2.0.

@giampaolo
Copy link
Owner Author

From g.rodola on November 08, 2010 09:35:41

Labels: -Milestone-0.2.1 Milestone-0.2.0

@giampaolo
Copy link
Owner Author

From g.rodola on November 08, 2010 09:59:15

Implemented for Linux in r776 .

Status: Started
Labels: Progress-1in4

@giampaolo
Copy link
Owner Author

From g.rodola on November 08, 2010 10:29:39

FreeBSD implementation committed in r777 .

Labels: -Progress-1in4 Progress-2in4

@giampaolo
Copy link
Owner Author

From g.rodola on November 08, 2010 11:59:32

Implemented on Windows in r778 .

Labels: -Progress-2in4 Progress-3in4

@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on November 10, 2010 10:43:37

Implemented OS X in r780 . Marking as FixedinSVN

Status: FixedInSVN
Labels: -Progress-3in4 Progress-4in4

@giampaolo
Copy link
Owner Author

From g.rodola on November 12, 2010 19:14:59

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:56:25

Updated csets after the SVN -> Mercurial migration: r776 == revision 
ef885d0b59e7 r777 == revision 76bbbdc1fb05 r778 == revision e895105faa04 r780 
== revision 8cf0eab3db3c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant