Questions tagged [system-profiler]

Since different system profilers exist for different operating systems, the tag should be used in combination with the tag specifying the OS.

System profiler: A system profiler is a program that can provide detailed information about the software installed and hardware attached to a computer.

22 questions
0
votes
1 answer

Need suggestions for system wide profiler for an embedded linux device

I would like to profile my embedded linux device for various actions (e.g. touch input on screen, flip a page in a news reading app etc). But the requirement is that the profiler should generate information for the entire software stack on the…
Ankur Agarwal
  • 23,692
  • 41
  • 137
  • 208
0
votes
0 answers

Get model number of Mac

I'm looking for a way to fetch the model number of a machine via any sort of script or means. I can get the serial or name, but I cannot get the model number. Not the model name, like MacPro3,1, I need the number like: 'A1315'
Keaton Burleson
  • 498
  • 3
  • 16
0
votes
2 answers

Getting basic machine info under OS X

I've written a very short program to collect some log files spit out by a 3rd party application. It zips up the files and emails them to me. I'd also like to collect some information about the machine, and especially its graphics capabilities.…
Maury Markowitz
  • 9,082
  • 11
  • 46
  • 98
0
votes
0 answers

Swift Error while Unwrapping Optional NSDictionary

I am attempting to use the output from the system_profiler tool to gather a record of installed applications on the current machine. The following command outputs XML in a plist format: system_profiler -nospawn SPApplicationsDataType -xml…
Tyler
  • 889
  • 1
  • 11
  • 17
0
votes
0 answers

System_profiler OSX Objective C

I am Looking to retrieve some dataTypes from System_profeiler ,programatically from Objective-c cocoa app , Can Some1 advice me How can I do so ? In C/Obj-C ? All I have found that it is a command tool,but can I get its output to my app ? A simple…
Coldsteel48
  • 3,482
  • 4
  • 26
  • 43
0
votes
1 answer

Parsing an application log text file into an array.

Ok so here is the problem. I am trying to get an array of installed applications and versions. So far what I have discovered is that I can run this command: system_profiler SPApplicationsDataType > log.txt Which will give me a txt file with the…
-1
votes
4 answers

Grep after grep - OSX Shell script

I am trying to find the name of my harddisk using OSX terminal using the system_profiler command. I'm sending the output to a text file. Here is part of the output... Serial-ATA: Intel ICH8-M AHCI: Vendor: Intel Product:…
Adam
  • 473
  • 1
  • 5
  • 15
1
2