It's very simple, just add -s parameter:
curl -s http://domain.com
Sunday, May 28, 2017
AEM curl command to get JMX status of replication queue - pending items
Syntax is the following:
curl -u admin:admin -X GET http://IP:PORT/system/console/jmx/com.adobe.granite.replication%3Aid%3D%22publishagentname%22%2Ctype%3Dagent
It gets all fields, to parse it, you can use the bellow
curl -u admin:admin -X GET http://IP:PORT/system/console/jmx/com.adobe.granite.replication%3Aid%3D%22publishagentname%22%2Ctype%3Dagent | grep "QueueNumEntries" | cut -d ">" -f5 | cut -d "<" -f1'
curl -u admin:admin -X GET http://IP:PORT/system/console/jmx/com.adobe.granite.replication%3Aid%3D%22publishagentname%22%2Ctype%3Dagent
It gets all fields, to parse it, you can use the bellow
curl -u admin:admin -X GET http://IP:PORT/system/console/jmx/com.adobe.granite.replication%3Aid%3D%22publishagentname%22%2Ctype%3Dagent | grep "QueueNumEntries" | cut -d ">" -f5 | cut -d "<" -f1'
Saturday, May 27, 2017
Linux - check every few seconds if file size grows using Watch command
Complete syntax:
watch -n 5 ls -lh filename
Output (error.log is the filename):
watch -n 5 ls -lh filename
Output (error.log is the filename):
Monday, May 8, 2017
Office 365 - Check O365 quota via outlook.office.com
From under Settings->Options->General->My Account as described in below picture:
Subscribe to:
Posts (Atom)