Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77905 > unrolled thread

python script monitor

Started byNicholas Cannon <nicholascannon1@gmail.com>
First post2014-09-15 17:07 -0700
Last post2014-09-16 05:26 -0500
Articles 5 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  python script monitor Nicholas Cannon <nicholascannon1@gmail.com> - 2014-09-15 17:07 -0700
    Re: python script monitor Chris Angelico <rosuav@gmail.com> - 2014-09-16 10:33 +1000
    Re: python script monitor William Ray Wing <wrw@mac.com> - 2014-09-15 21:25 -0400
    Re: python script monitor Nicholas Cannon <nicholascannon1@gmail.com> - 2014-09-16 02:14 -0700
      Re: python script monitor Skip Montanaro <skip.montanaro@gmail.com> - 2014-09-16 05:26 -0500

#77905 — python script monitor

FromNicholas Cannon <nicholascannon1@gmail.com>
Date2014-09-15 17:07 -0700
Subjectpython script monitor
Message-ID<63a94cb9-171a-4b97-a639-75fec71cae63@googlegroups.com>
I have made an app that is not fully stable and I would like to monitor the performance of the app and try and improve the speed of it. I tried to use the activity monitor on the mac but what I want I'm to see how much ram, cup and other stats on what resources that app is using. Is there any apps to specifically monitor a certain app. I am on Mac is so any suggestions that could work with that would be great.

[toc] | [next] | [standalone]


#77906

FromChris Angelico <rosuav@gmail.com>
Date2014-09-16 10:33 +1000
Message-ID<mailman.14036.1410827646.18130.python-list@python.org>
In reply to#77905
On Tue, Sep 16, 2014 at 10:07 AM, Nicholas Cannon
<nicholascannon1@gmail.com> wrote:
> I have made an app that is not fully stable and I would like to monitor the performance of the app and try and improve the speed of it. I tried to use the activity monitor on the mac but what I want I'm to see how much ram, cup and other stats on what resources that app is using. Is there any apps to specifically monitor a certain app. I am on Mac is so any suggestions that could work with that would be great.
>

If by "not fully stable" you mean that it sometimes isn't working,
then playing with performance is a bad idea. Start by getting it
correct, then worry about how fast it is. Otherwise, what do you mean
by that? What's not stable about your app?

ChrisA

[toc] | [prev] | [next] | [standalone]


#77910

FromWilliam Ray Wing <wrw@mac.com>
Date2014-09-15 21:25 -0400
Message-ID<mailman.14038.1410830763.18130.python-list@python.org>
In reply to#77905
On Sep 15, 2014, at 8:07 PM, Nicholas Cannon <nicholascannon1@gmail.com> wrote:

> I have made an app that is not fully stable and I would like to monitor the performance of the app and try and improve the speed of it. I tried to use the activity monitor on the mac but what I want I'm to see how much ram, cup and other stats on what resources that app is using. Is there any apps to specifically monitor a certain app. I am on Mac is so any suggestions that could work with that would be great.
> -- 
> https://mail.python.org/mailman/listinfo/python-list

Have you investigated the (long) list of options to the “top” command?  I’ve noticed that most Mac users seem to assume that top won’t show anything that Apple’s Activity Monitor doesn’t show.  In fact top is WAY more powerful.  It should do pretty much what you want.

Bill

[toc] | [prev] | [next] | [standalone]


#77924

FromNicholas Cannon <nicholascannon1@gmail.com>
Date2014-09-16 02:14 -0700
Message-ID<bd3637e6-ef5b-4e14-808a-220ff5e43a33@googlegroups.com>
In reply to#77905
Nah I mean like there is performance issues. It delivers result that I want just mot very conveinetly fast.

[toc] | [prev] | [next] | [standalone]


#77926

FromSkip Montanaro <skip.montanaro@gmail.com>
Date2014-09-16 05:26 -0500
Message-ID<mailman.14050.1410863202.18130.python-list@python.org>
In reply to#77924

[Multipart message — attachments visible in raw view] — view raw

On Sep 16, 2014 4:17 AM, "Nicholas Cannon" <nicholascannon1@gmail.com>
wrote:
>
> Nah I mean like there is performance issues. It delivers result that I
want just mot very conveinetly fast.

Take a look at the cProfile module. That's what it's called in Python 2.x.
Not sure if it lost its camel case spelling in 3.x or is now called simply
"profile."

Skip

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web