Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Please help Can't locate GTop.pm in @INC

by aladdin_millenium
on Jul 12, 2005 at 06:31 UTC ( #474178=note: print w/replies, xml ) Need Help??


in reply to Hash of Hash of Hash of ...

Hi,

I've to write a PERL Script that should invoke a GUI and then See the "Peak Memory Usage" / "CPU Time" consumed by the exe and print the same.

I'm trying to use the module GTOP, but when i run the script

####################### use GTop (); my \$gtop = GTop->new; #######################

the following errors are displayed

Can't locate GTop.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/ +lib .) at C:\Program Files\Interra Systems\Interra H264 Analyzer\test +1.pl line 1. BEGIN failed--compilation aborted at C:\Program Files\Interra Systems\ +Interra H264 Analyzer\test1.pl line 1.

I also tried to use the command

PPM> Install GTOP

but it says "Searching for 'GTOP.pm' returned no results. Try a broader search first."

Please help and treat this as urgent.

Edit g0n - added code & p tags

Replies are listed 'Best First'.
Re: Please help Can't locate GTop.pm in @INC
by Corion (Pope) on Jul 12, 2005 at 06:55 UTC

    Likely, GTop is not installed on your machine, which is little surprising, because libgtop is a library out of the Gnome project which only exists for Unix, or maybe even only for Linux.

    Depending on what you want to do, maybe Win32::Process or Win32::Process::Info might be of help for you.

    As an aside, your post was in reply to a completely unrelated post. Please read the Perlmonks FAQ and maybe some introductory node, like turnsteps home node.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474178]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2020-06-03 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (21 votes). Check out past polls.

    Notices?