| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Finding out if Mac is starting up |
| From: | Malcolm Smith <indyimac@crystallineconcepts.com> |
| Date: | Thu, 31 Jul 2008 23:09:14 -0700 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <fed2e2560807311834h1bb55424xb02d4b866fe677bc@mail.gmail.com> |
| References: | <fed2e2560807311834h1bb55424xb02d4b866fe677bc@mail.gmail.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
You can use "uptime" to see how long the system has been running.To see if a user just logged in, get their user name (whoami) and then "last username" will display a list of times that they logged in. These are all console commands so you could do them in a shell. There is probably a more elegant method. Cheers, Malcolm Smith On Jul 31, 2008, at 6:34 PM, Dennis Birch wrote: Is there any way in RB (including with a plugin) to learn whether or not a Mac is in the process of grinding away right after starting up or logging into an account? Perhaps a way of polling the system to see how much CPU is being used or is available? _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Signing Realbasic Apps for Windows, Giovanni |
|---|---|
| Next by Date: | Re: Signing Realbasic Apps for Windows, Stan Busk |
| Previous by Thread: | Finding out if Mac is starting up, Dennis Birch |
| Next by Thread: | More RoundRectangle, Dave Shirk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |