macOS tools moving to my git
This commit is contained in:
35
idlecheck_tasks
Executable file
35
idlecheck_tasks
Executable file
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
export PATH=$PATH:/usr/bin/local
|
||||
cname=`scutil --get ComputerName`
|
||||
export CNAME=$cname
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo "// idlecheck_tasks"
|
||||
echo ""
|
||||
echo ""
|
||||
echo "pmset -g"
|
||||
echo "----------------------------------------------"
|
||||
/usr/bin/pmset -g
|
||||
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo ""
|
||||
echo "pmset -g sched"
|
||||
echo "----------------------------------------------"
|
||||
/usr/bin/pmset -g sched
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo ""
|
||||
echo "pmset -g assertions"
|
||||
echo "----------------------------------------------"
|
||||
/usr/bin/pmset -g assertions
|
||||
|
||||
#echo ""
|
||||
#echo ""
|
||||
#echo ""
|
||||
#echo "ps auxc -r"
|
||||
#echo "------------------------------------------"
|
||||
#ps auxc -r
|
||||
Reference in New Issue
Block a user