filterContext.HttpContext.Trace.Write("(Logging Filter)Action Executing: ")
Trace can be viewed in http://host:[port]/Trace.axd
Before that we need to add
<system.web>
<trace enabled="true"/>
</system.web>
in web.config
Keep Linux Command Running Even After Closing Shell
Normally when you run linux command in shell, commands will stop once your close the terminal.
To keep it running, use nohup. The & will make it run in background.
$ nohup command &
$ disown
If the command will listen on certain port, check if it’s listening
netstat -ap | grep "LISTEN"
tcp 0 0 *:ssh *:* LISTEN -
tcp 0 0 *:9090 *:* LISTEN 22018/php
tcp 0 0 *:9191 *:* LISTEN 22023/php
tcp 0 0 localhost:mysql *:* LISTEN -
tcp6 0 0 [::]:http [::]:* LISTEN -
tcp6 0 0 [::]:ssh [::]:* LISTEN -