Recon - Locating Applications

Not applicable

Morning all,

This is more of a query than a problem but hoping someone might have some insight.

Sometimes when I occasionally do a recon on a computer it takes quite a long time Locating Applications.

At the moment I have a laptop in-front of me which has taken in excess of 20 minutes to Locate Applications (Terminal or Recon.app)

Is there anyway to determine why it is taking so long or if it has hung attempting to navigate a folder? I've looked through Console but can't see anything indicating where it is stuck or even where it is through the process.

Any info is appreciated.

Thanks, David

12 REPLIES 12

talkingmoose
Moderator
Moderator

I would imagine that Casper is using the system_profiler command to return
On 9/4/11 9:35 PM, "David Moyle" <dmoyle at plc.wa.edu.au> wrote:
a list of applications. What happens if you run the following command in
the Terminal on the same machine?

system_profiler SPApplicationsDataType

I've had a handful of developer machines hang on this command because they
seem to have literally installed more than it can handle.

--

William Smith
Technical Analyst
Merrill Communications LLC
(651) 632-1492

donmontalvo
Esteemed Contributor III

Would doing so purge the application inventory data we already have? We need that info. Happy to test, but we'll end up enabling it again.
On Sep 7, 2011, at 1:42 PM, Dan DeRusha wrote:

Don

--
https://donmontalvo.com

dderusha
Contributor

Don-
On 9/7/11 2:27 PM, "Don Montalvo" <donmontalvo at gmail.com> wrote:

Not sure.... we have it off, but it seems to collect what apps are at
/Applications.

Maybe run it from terminal and use verbose mode

Sudo jamf recon -verbose

I can still see information on Applications. Just not specifics listed in
the software collection settings.

(Copy and paste)

ExtendScript Toolkit.app

ESTK CS5 3.5.1.59

/Applications/Utilities/Adobe
Utilities-CS5.localized/ExtendScript Toolkit CS5/ExtendScript Toolkit.app

0B

FileMaker Pro.app

11.0.2

/Applications/FileMaker Pro 11/FileMaker Pro.app

0B

FileMaker Pro.app

6.0.4

/Applications/FileMaker Pro 6 Folder/FileMaker Pro.app

0B

Find Script

n/a

/Applications/FileMaker Pro 6 Folder/FileMaker and Apple
Events/Sample Applications/Finding Records/Find Script

0B

Firefox.app

3.6.13

/Applications/Firefox.app

0B

Flush.app

n/a

/Applications/Flush.app

0B

FM Web Publishing.app

11.0v2

/Applications/FileMaker Pro 11/Extensions/Web Support/FM
Web Publishing.app

0B

fmxdbc_listener.bundle

11.2.69

/Applications/FileMaker Pro 11/Extensions/xDBC
Support/fmxdbc_listener.bundle

0B

Font Book.app

2.2.2

/Applications/Font Book.app

0B

Front Row.app

1.1

Dan De Rusha

donmontalvo
Esteemed Contributor III

Takes forever on a Mac that has Adobe CS5 Master Collection (over an hour). On a base system took only a few minutes. I would guess Recon is searching through all the UNIX executables and binaries? Or is it not supposed to if you have those Inventory Preferences disabled?
Smith, William wrote:

Don

--
https://donmontalvo.com

dderusha
Contributor

David-
On 9/7/11 1:37 PM, "Don Montalvo" <donmontalvo at gmail.com> wrote:

Try going to the jss - settings - Inventory collection and uncheck the
Application Collection

See if that helps

Dan De Rusha

sean
Valued Contributor

Is the machine indexed? What happens when you try and use 'locate' in terminal?

Sean

sean
Valued Contributor

Sorry, I should point out, I don't know what method Casper uses to gain information and this may or may not help!

Did you run

system_profiler SPApplicationsDataType

locally?

Sean

sean
Valued Contributor

Oh, and try this from the Applications directory in Terminal. Does it hang anywhere particular?

find . -name "*.app"

Sean

dderusha
Contributor

Locate will tell you to build the database

Dan

sean
Valued Contributor

Unless it has already been done! That is what I was prompting for, has it been done or not.

Sean

dderusha
Contributor

Right, It will tell you to build the database meaning...No it has not been
run

dkucmierz
Contributor

Ours was taking a significant amount of time as well. Doing jamf recon –verbose will show you the progress and what is taking so long.

What was taking our machines so long to recon was collecting package receipts. We aren't doing anything with that data, so we turned it off. Made our recon times about 30 seconds.

--

David Kucmierz
Mesquite ISD Technical Services
972.882.5506