Skip to content

Commit

Permalink
improve diagnosis tool by sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Mayer committed Jan 6, 2018
1 parent 07e29e0 commit 98cd1ba
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ - (void)perform

[tmpURL add:@"systeminfo"].contents = makeString(@"%@ \n %@ \n %@", [JMHostInformation machineType], [[NSProcessInfo processInfo] operatingSystemVersionString], [[[NSWorkspace sharedWorkspace] launchedApplications] description]).data;

[tmpURL add:@"sample_SR"].contents = [@[@"/usr/bin/sample", @"SMARTReporter"] runAsTask].data;
[tmpURL add:@"sample_sc"].contents = [@[@"/usr/bin/sample", @"smartctl"] runAsTask].data;

[tmpURL add:@"lsof"].contents = [@[@"/usr/sbin/lsof", @"-c", @"SMART"] runAsTask].data;
[tmpURL add:@"ps"].contents = [@[@"/bin/ps", @"ax"] runAsTask].data;
[tmpURL add:@"loginItems"].contents = [self loginItems].data;
Expand Down

0 comments on commit 98cd1ba

Please sign in to comment.