System info for Core 2 Macs |
|
Submitted By Marc Smith (marcsoup) |
DescriptionThis script is based entirely on Reikon's sysinfo script except for a few minor changes and it is fixed for Macs with multiple cores.Usage: type /sysinfo in your chat or status The original link is: http://www.adiumxtras.com/index.php?a=xtras&xtra_id=1285 Reikon's description: "Description Sends basic system information about the computer you're using. Example: My System Info: System Version: Mac OS X 10.4.1 (8B15) Machine Name: iBook Number Of CPUs: 1 CPU Speed: 900 MHz CPU Type: PowerPC 750 (2.3) Memory: 189/384 MB (49%) (|||||-----) iBook HD: 31.99/37.26 GB (86%) (|||||||||-) 17:22 up 2 days, 15:16, 4 users, load averages: 0.13 0.06 0.01 Almost completely rewritten with speed improvements, as well as display and information improvements." CommentsYou can reply to individual comments by clicking the "Reply" link next to each. # by Wizardling on 12/16/08 at 23:27:58Very cool :-) Cheers! If you could add a detailed mode with more info (e.g. top processes, network traffic, etc) that would be even cooler. But please keep the current basic info mode :-)
# by outoforderorder on 12/31/08 at 18:27:11Damn. Got really excited hoping this might work on my MacPro but still nothing..
If there was source maybe I could help make this compatible with the Xeons too? # by outoforderorder on 01/14/09 at 03:37:38Line 64 in 'thebenning.scpt' typecasts what can be a very large number to an int I have over 10gigs of ram, so switching it to cast the value as a number fixed it for me.
# by outoforderorder on 01/14/09 at 03:55:57one other change:
line 20: set memtotal to do shell script "sysctl -n hw.memsize" # by outoforderorder on 01/14/09 at 04:04:55and towards the bottom where you put the HD size:
if totalHD ≥ 1024 then set totalHD to totalHD / 1024 set totalHD to round_truncate(totalHD, 2) set HDstring to HDname & ": " & usedHD & "/" & totalHD & " TB (" & HDpercent & "%) " & HDBar as string else set HDstring to HDname & ": " & usedHD & "/" & totalHD & " GB (" & HDpercent & "%) " & HDBar as string end if # by outoforderorder on 01/14/09 at 04:28:10better:
if totalHD ≥ 1024 then set totalHD to totalHD / 1024 set usedHD to usedHD / 1024 set totalHD to round_truncate(totalHD, 2) set usedHD to round_truncate(usedHD, 2) set HDstring to HDname & ": " & usedHD & "/" & totalHD & " TB (" & HDpercent & "%) " & HDBar as string else set HDstring to HDname & ": " & usedHD & "/" & totalHD & " GB (" & HDpercent & "%) " & HDBar as string end if Post a New CommentYou must be logged in to post comments. |
# by BrilliantWinter on 12/02/08 at 01:45:11
# by marcsoup on 12/08/08 at 19:11:08