Browse
Jamf Nation Community
Products
Community & Events
Groups
Tech Thoughts
Jamf Nation Rewards
Help
Sign In
07-13-2021
biggievan
New Contributor
Joined:
September 2012
User Statistics
2
Posts
0
Solutions
0
Kudos given
0
Kudos received
Jamf Nation Community
About biggievan
User Activity
Posts
Replies
No posts to display.
Re: Extension Attribute Reporting - Screensaver Idle Time
09-20-2012
!/bin/bash user=last -1 | awk '{print $1}' idleTime=defaults read /Library/Managed Preferences/$user/complete | grep -A6 'com.apple.screensaver.ByHost' | grep value | awk '{print $3}' | cut -f1 -d';' echo "$idleTime"
Re: Extension Attribute - show PCI slot usage?
09-20-2012
How about slots used? #!/bin/bash PCIused=system_profiler SPPCIDataType | grep -A0 Slot | awk '{print $2}' echo "$PCIused"
About
CCA