AWS EC2: Restore a volume to the same server with different mount
If you accidentally delete some files in your EC2 , you don’t want to restore the whole volume, you just want to restore some files on it. The easiest...
ASP.Net: ViewState – decode
In , ViewState is used to store the state of your web page controls between post backs. You can see this value by viewing the html source code and...
Supervisord: Docker : INFO reaped unknown pid
You use supervisord to manage your docker startup services, then you see a bunch of errors like this 2023-02-15 13:15:11,983 INFO reaped unknown pid 475 2023-02-15 13:15:15,452 INFO reaped...
Splunk: addinfo – getting start time and end time from your search
Sometimes you need to get the start time and end time of the search query – you do this by using | addinfo command | makeresults count=1 | addinfo...
How Monitoring tools help you detect your potential issues?
You setup a new website, everything looks good. You were advised to setup a probe to monitor your application. You did, days by days the application works great, you...
Application on Azure App Service plan is so slow?
By default, when you deploy an application to Azure App Service plan – your default web location will be under /home/site/wwwroot . /home/ is a persistent storage which means...
Mysql: how big you should keep your growing table?
My advice is if you have a growing fast/busy table, you should keep it below 4GB, if it’s over 4GB, you should find away to archive it. This will...
Splunk:command.mvexpand: output will be truncated at 300 results due to excessive memory usage. Memory threshold of 500MB as configured in limits.conf / [mvexpand] / max_mem_usage_mb has been reached.
I have a query: | curl uri=https:// | table curl_message | eval curl_message="{\"body\":" + curl_message + "}" | spath input=curl_message output=b path=body{} | mvexpand b | eval _raw=b |...
Sitespeed – a script to wait for text
var waiting_text="Basic Data"; var max_waiting_time=30;//seconds for(i=0;i<max_waiting_time;i++) { body_text= await (("body")).getText(); if((waiting_text)) { ("Found required text at the "+i+"th seconds, exiting the waiting "); break; }else{ await (1000); } }...
Git: some folders not committed
When you run git status , you see the screen below Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout...