Re: Getting system info
Re: Getting system info
- Subject: Re: Getting system info
- From: Douglas Davidson <email@hidden>
- Date: Fri, 3 Aug 2001 15:01:38 -0700
On Friday, August 3, 2001, at 01:13 PM, Christian Mike wrote:
Is there any way from within Cocoa to get system information -
specifically
how long the computer has been up?
This isn't really Cocoa-specific--you would probably go to the BSD layer
for this sort of information. In this case there is a kern.boottime
sysctl; try "man 3 sysctl" for more information
Douglas Davidson