This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- graphite.ph 2015-09-06 12:59:52.062146603 -0500 | |
+++ /usr/share/collectl/graphite.ph 2015-09-08 23:00:11.935957179 -0500 | |
@@ -173,6 +173,7 @@ | |
sendData('ctxint.int', 'intrpts/sec', $intrpt/$intSecs); | |
sendData('ctxint.proc', 'pcreates/sec', $proc/$intSecs); | |
sendData('ctxint.runq', 'runqSize', $loadQue); | |
+ sendData('ctxint.run', 'runSize', $loadRun); | |
# these are the ONLY fraction, noting they will print to 2 decimal places | |
sendData('cpuload.avg1', 'loadAvg1', $loadAvg1, 2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sed -E 's/<\/{0,1}string>//g' |