[Casper] Battery Capacity?
Thomas Larkin
tlarki at kckps.org
Fri Feb 27 06:20:37 PST 2009
I think this should be a feature request for recon. In terminal if you
run jamf help recon you get a list of all the recon switches you can run
on a machine. There are switches to skip applications and fonts and
unix apps and what not, but there is no switch to run hardware report
only. If you look at a machine in inventory in the JSS it does in fact
list battery capacity.
So, I say make it a feature request to use Recon to run such custom
reports and then say output it to an HTML file or XML, which it looks
like you can already output such things to file but when I played with
the command a few minutes ago i was unable to get it to save to my
desktop. My syntax was probably wrong but it did not kick off any
errors.
As for Dustin's suggestion it will work using system_profiler binary
from the command line. I can never ever get awk to work right for me so
I would either grep it or use sed. I think I was helping an Apple SE
write a script for battery capacity last year for a smaller school but I
can't recall the outcome of it.
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
>>> "Dorey, Dustin" <Dustin.Dorey at district196.org> 02/27/09 7:56 AM >>>
I started working on a script to grab that information but haven’t had
time to get back to it. If you’re really interested as far as I got
was that you can access system profiler via the command line and you can
grep and awk for that information pretty easily that way. I was just
trying to work out how I was going to output that data. Might at least
give you a place to start.
-Dusty-
Dustin Dorey
Technology Support Cluster Specialist
ISD 196 Apple Valley, Eagan, Rosemount
dustin.dorey at district196.org
952|423|7971
From:
casper-bounces at list.jamfsoftware.com
[mailto:casper-bounces at list.jamfsoftware.com] On Behalf Of Brad
Rellinger
Sent: Friday, February 27, 2009 6:37 AM
To: Jamf List Serve
Subject: [Casper] Battery Capacity?
Hello,
2 Questions:
1) In JSS, for each computer, there is a entry called "
Battery Capacity" -- what exactly is this? It shows any where from 98%
- 109%
2) Is there anywhere that it collects "Cycle count" for the installed
battery?
Thanks
----------
Brad Rell div>
Technology Specialist
Anthony Wayne Schools K-12
aw_aca_bre at nwoca.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090227/2dfa54fb/attachment.html
More information about the Casper
mailing list