Hi there,
OK, some more interesting things to note:
1- when my machine gets in this funny state, all I have to do is re-
login and it is ok again (ie i dont need a full reboot)
2- I tested my own script from cron (like it runs daily at 03:00am),
but then running it during the day numerous times and nothing bad
happens
3- then I put my script back to run at 03:00am and that ran fine this
morning as well, BUT:
now my machine is in the "odd state" again. Which leads me to believe
this is something completely different. Ie something else is running
daily (after 03:00am) which puts my mac mini in this state. I am
thinking perhaps it is iBackup, a bit of software i recently
installed... I will turn it off tonight and see if tomorrow my
machine is screwed again.
Now that it is in this state, I've run your script, and this is the
result:
262145 kHIDSuccess loginwindow kHIDSuccess
524289 kHIDSuccess Dock kHIDSuccess
786433 kHIDSuccess SystemUIServer kHIDSuccess
917505 kHIDSuccess Finder kHIDSuccess
1048577 kHIDSuccess iTunesHelper kHIDSuccess
1179649 kHIDSuccess DropCopy kHIDSuccess
1310721 kHIDSuccess droplet kHIDSuccess
1441793 kHIDSuccess iBackup kHIDSuccess
1572865 kHIDSuccess UniversalAccess kHIDSuccess
1703937 kHIDSuccess EyeTV Helper kHIDSuccess
1835009 kHIDSuccess Quicksilver kHIDSuccess
1966081 kHIDSuccess miraRCD kHIDSuccess
2097153 kHIDSuccess miraUSBDriver kHIDSuccess
65142785 kHIDSuccess System Events kHIDSuccess
206962689 kHIDSuccess EyeTV kHIDSuccess
3885105153 kHIDSuccess
3885105153 kHIDSuccess
3885105153 kHIDSuccess
3885105153 kHIDSuccess
3885105153 kHIDSuccess
3885105153 kHIDSuccess
<this latter one repeats over and over and over>
/Cheers,
Jelte
On 9 Apr 2007, at 17:35, Chris_Nandor via RT wrote:
Show quoted text>
> #!/usr/bin/perl -w
>
> use Mac::Errors '$MacError';
> use Mac::Processes;
>
> my $psn = 0;
> while ( 1 ) {
> my @results;
> $psn = Mac::Processes::GetNextProcess($psn);
> push @results, $psn, $MacError;
> if (! defined $psn) {
> print "$MacError\n";
> last;
> }
> my $psi = Mac::Processes::GetProcessInformation($psn);
> push @results, $psi->processName, $MacError if $psi;
> print "@results\n";
> }
>