Welcome Guest.   Make a donation to an author on the site October 21, 2014, 08:33:28 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: NANY 2010 Final Release: FARR Plugin ProcessInfo  (Read 12108 times)
jpprater
Supporting Member
**
Posts: 88



see users location on a map View Profile Give some DonationCredits to this forum member
« on: December 11, 2009, 08:23:31 PM »

NANY 2010 Entry Information

Application Name FARR Plugin ProcessInfo
Version 1.1.0
Short Description A FindAndRunRobot plugin to display information about running processes
Supported OSes Windows
System Requirements
  • FARR 2.80.02 recommended (for use with latest FScript)
Version History
  • 1.1.0:  Bug fixes by mouser, including showing all processes and adding icons for many processes that didn't show them
  • 1.0.1:  Bug fix
  • 1.0.0:  Release!
  • 0.9.0:  pre-release
  • 0.0.5:  alpha testing
Website:
    Author Jonathan Prater
    Screencast


    Description
    I'm a sysadmin by trade, and I frequently need to get quick information about processes running on a machine (either my own or a remote PC).  I also frequently need to know what files the process is actually using at any given moment.  And I don't necessarily want to have to access the machine directly to get that information.
    While there are tools already available that give me that information, none of them are particularly fast about giving it to me, and none of the are as intutive as a FARR alias/plugin could be. smiley So I wrote this to be the fast, simple tool that I as an admin need to get information quickly.

    Current Features
    - It queries processes matching a specified partial name, then lists them out by name and ID.
    - Upon selection of a specific process, it returns more detailed information, including memory used, count of handles open, and paths to actual files.

    Planned Features
    - Access to processes on remote computers.

    Screencast
    <a href="http://www.youtube.com/watch?v=JbPQwND-gcY" target="_blank">http://www.youtube.com/watch?v=JbPQwND-gcY</a>

    Screenshots
    Initially, the user types in pinfo...

    As the user enters more characters, ProcessInfo tightens down on the processes that match what was entered.  The results list looks like this:

    Upon selecting the desired target process, the user gets something like this:


    Installing this application:
    Make sure you've got FARR installed Wink, then download the plugin file (attached below) and unpack it to a subdirectory of $FARR_Install\Plugins.
    Toggle FARR and type rplugins, then click OK.  One of the plugins in your list should be ProcessInfo, with an alias of pinfo.

    Usage:
    pinfo processname.  Hit enter on a process you want to see details for.  To see all processes, just type pinfo followed by a space.
    To query remote computers: pinfo c=computername processname.

    Uninstalling:
    Toggle FARR and type rplugins.  Before clicking OK, delete the directory $FARR_Install\Plugins\$ProcessInfo, where $ProcessInfo is the directory you originally unpacked the plugin to.[/list]
    « Last Edit: January 01, 2010, 08:56:50 PM by Perry Mowbray » Logged
    mouser
    First Author
    Administrator
    *****
    Posts: 33,571



    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #1 on: December 11, 2009, 08:33:08 PM »

    Great to see a FARR plugin entry  Thmbsup
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #2 on: December 11, 2009, 09:00:38 PM »

    cheesy Thank you for your help getting it working in the first place!
    Logged
    mouser
    First Author
    Administrator
    *****
    Posts: 33,571



    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #3 on: December 11, 2009, 09:16:44 PM »

    you might consider trying to show and filter results live.. that is, always return to farr the complete list of processes running and let FARR filter them to match what user types.

    i'm just impressed that you are grabbing this info using javascript!  that's pretty damn cool.
    Logged
    skwire
    Global Moderator
    *****
    Posts: 4,113



    Another Coding Snack request? Om nom nom...

    see users location on a map View Profile WWW Give some DonationCredits to this forum member
    « Reply #4 on: December 12, 2009, 05:29:17 AM »

    Wow...very cool.  Nice job.
    Logged

    lanux128
    Global Moderator
    *****
    Posts: 6,108



    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #5 on: December 12, 2009, 09:03:23 PM »

    very nice, will complement another Farr plugin - Pkill. thumbs up
    Logged

    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #6 on: December 12, 2009, 10:12:01 PM »

    you might consider trying to show and filter results live.. that is, always return to farr the complete list of processes running and let FARR filter them to match what user types.
    i'm just impressed that you are grabbing this info using javascript!  that's pretty damn cool.
    cheesy Thanks.  I'm using WMI to retrieve it (using the SWbemServices interface, which plays well with anything that works with COM; I could've written this plugin using python, too smiley).
    And I already do filter results live, following a previous suggestion from you.  Taking out the alias makes sense, though.  For the detail display, though, I need the memo mode to display everything coherently.
    « Last Edit: December 12, 2009, 10:21:52 PM by jpprater » Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #7 on: December 13, 2009, 02:15:29 PM »

    Updated to pre-release status!  Thmbsup
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #8 on: December 16, 2009, 02:03:07 PM »

    Released!  Cool thumbs up
    Logged
    cranioscopical
    Friend of the Site
    Supporting Member
    **
    Posts: 4,182



    see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
    « Reply #9 on: December 16, 2009, 02:12:05 PM »

    Very nice piece of work!
    Logged

    Chris
    TucknDar
    Charter Member
    ***
    Posts: 1,094


    Advanced coder of Nowt

    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #10 on: December 16, 2009, 02:16:05 PM »

    Nice, this will come in handy!

    A couple of initial remarks: Am I supposed to press Space after 'pinfo'? I would've thought that just typing 'pinfo' would be enough... (I suppose this might be possible if I change an alias setting in FARR, though)
    And +sall modifier doesn't work, so I only get a short list and need to know what I'm looking for. support for +sall or an option to display full list of processes would be very nice.

    Great stuff! Thmbsup
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #11 on: December 16, 2009, 02:39:06 PM »

    Nice, this will come in handy!

    A couple of initial remarks: Am I supposed to press Space after 'pinfo'? I would've thought that just typing 'pinfo' would be enough... (I suppose this might be possible if I change an alias setting in FARR, though)
    And +sall modifier doesn't work, so I only get a short list and need to know what I'm looking for. support for +sall or an option to display full list of processes would be very nice.

    Great stuff! Thmbsup
    Thanks, glad you like it. smiley
    Yes, you need a space after pinfo to make it start searching.
    I'll add support for +sall to my issue list.
    Logged
    mouser
    First Author
    Administrator
    *****
    Posts: 33,571



    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #12 on: December 16, 2009, 05:26:33 PM »

    a note, you can return the full path of the exe as the icon file and farr should load the appropriate icon from the file.. i think.
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #13 on: December 16, 2009, 06:42:33 PM »

    a note, you can return the full path of the exe as the icon file and farr should load the appropriate icon from the file.. i think.
    That's if the full path can be captured in the first place.  huh
    Not all processes appear to store their paths in a readable form in the WMI repository.  (See here)  And of course, for remote machines, if the process' executable doesn't exist in the same place on the local machine, I can't very well detect its icon, unless I can pull some gyrations with grabbing it from the executable on the remote machine itself.
    Logged
    mouser
    First Author
    Administrator
    *****
    Posts: 33,571



    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #14 on: December 16, 2009, 06:45:49 PM »

    fair enough.. you could add a few generic icons inside your plugin directory and return those, just so the space wasn't blank.
    that actually makes me think i should add some generic icons in with farr that can be used by plugins as placeholders.
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #15 on: December 16, 2009, 07:15:58 PM »

    Yeah, that makes sense.
    The issue I just mentioned above has been fixed (some processes failing to display details due to not all fields being populated).  I'll start a new feature issue for icons.  I can find a generic icon from the OS that will be suitable (I think smiley).
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #16 on: December 16, 2009, 08:53:22 PM »

    OK, I have a suitable icon, but here's the problem:  Not every process that I can get a path to has its own icon.  I'm thinking maybe I should just go with the standard generic icon, unless someone knows how to check for the presence of icons built into executables programmatically...  Any opinions either way?
    Logged
    mouser
    First Author
    Administrator
    *****
    Posts: 33,571



    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #17 on: December 16, 2009, 09:52:25 PM »

    what happens when you give farr an executable path that doesnt have an icon? is it just blank space? maybe i can fix farr to show a better default in that case.
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #18 on: December 17, 2009, 04:21:53 AM »

    Yup.  Although, if I type that executable's path directly into the search field, it shows the icon that Explorer displays for that executable w/out issue.  Perhaps its simply that explorer is intelligent about assigning icons automatically, whereas FARR isn't and usually doesn't have to be.
    Logged
    mouser
    First Author
    Administrator
    *****
    Posts: 33,571



    see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
    « Reply #19 on: December 17, 2009, 11:38:55 AM »

    should be same effect -- send me the plugin where you give farr the exe paths as icon paths and ill investigate why farr might show a blank (mouser@donationcoder.com).
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #20 on: December 17, 2009, 02:15:59 PM »

    should be same effect -- send me the plugin where you give farr the exe paths as icon paths and ill investigate why farr might show a blank (mouser@donationcoder.com).
    Sent.  Good luck!  thumbs up
    Logged
    jpprater
    Supporting Member
    **
    Posts: 88



    see users location on a map View Profile Give some DonationCredits to this forum member
    « Reply #21 on: December 31, 2009, 03:04:17 PM »

    Final Release status!  dance
    Edit:   ohmy Dude, mouser just slipped me a major bugfix!  Latest version is out on the Redmine project, and it includes showing all processes, as well as showing icons for some processes that wouldn't show them previously.   mrgreen  Props to the mouseman!!  beerchug
    « Last Edit: December 31, 2009, 06:16:07 PM by jpprater » Logged
    Pages: [1]   Go Up
      Reply  |  New Topic  |  Print  
     
    Jump to:  
       Forum Home   Thread Marks Chat! Downloads Search Login Register  

    DonationCoder.com | About Us
    DonationCoder.com Forum | Powered by SMF
    [ Page time: 0.045s | Server load: 0.14 ]