Posted on 12-16-2011 09:16 AM
Hey all,
The help file doesn't show quite enough data here... is there a way to ask the JAMF binary what current policies are running?
I'm thinking along the lines of: sudo jamf policy -showCurrentPolicies Is there any such command?
Thanks, - D
Posted on 12-16-2011 09:42 AM
I don't think there is a way to do it with the binary, but you can
tail the jamf.log file to get that info:
tail /var/logs/jamf.log
Steve
Sent from Somewhere
Posted on 12-16-2011 09:49 AM
Tail /var/log/jamf.log
Posted on 12-16-2011 09:51 AM
Thanks! :-). That's what I get for going from memory at my
age....what were we talking about?
Steve
Sent from Somewhere
Posted on 12-16-2011 09:52 AM
That will show any policies that are currently running.
Steve
Sent from Somewhere
Posted on 12-19-2011 06:56 AM
you can check what is currently running by running the show processlist;
mysql> show processlist; +-------------------------------------------------------------------------------------------+ | Id | User | Host | db | Command | Time | State | Info | +-------------------------------------------------------------------------------------------+ | 6 | jamfsoftware | localhost:49160 | jamfsoftware | Sleep | 278 | | NULL | | 7 | jamfsoftware | localhost:49161 | jamfsoftware | Sleep | 278 | | NULL | | 8 | jamfsoftware | localhost:49162 | jamfsoftware | Sleep | 278 | | NULL | | 9 | jamfsoftware | localhost:49163 | jamfsoftware | Sleep | 6 | | NULL | | 10 | jamfsoftware | localhost:49164 | jamfsoftware | Sleep | 278 | | NULL | | 910 | jamfsoftware | localhost:57723 | jamfsoftware | Sleep | 3 | | NULL | | 1332 | jamfsoftware | localhost:52561 | jamfsoftware | Sleep | 278 | | NULL | | 1333 | jamfsoftware | localhost:52563 | jamfsoftware | Sleep | 75 | | NULL | | 1334 | jamfsoftware | localhost:52564 | jamfsoftware | Sleep | 278 | | NULL | | 1339 | jamfsoftware | localhost:52569 | jamfsoftware | Sleep | 1 | | NULL | | 1341 | root | localhost | NULL | Query | 0 | NULL | show processlist | +-------------------------------------------------------------------------+------------------+ 11 rows in set (0.00 sec)