socket监听,可以查看所选进程的socket收发数据 SocketSniff allows you to watch the Windows Sockets (WinSock) activity of the selected process. For each created socket, the following information is displayed: socket handle, socket type, local and remote addresses, loc
1、linxu挂起队列监听
nohup php artisan queue:listen --timeout=90 --tries=1 >> /dev/null 2>&1 &
2、发现问题(日志)
In Process.php line 429:
The process has been sinaled with signal "1".
3、查询资料(linux信号中断)
标志
信号值
默认处理动作
发出信号的原因
SIGHUP
1
A
终端挂起或者
1、在Windows下用CMD netstat命令可以获得当前进程监听端口号的信息,如netstat -ano可以看到IP、port、状态和监听的PID。那么可以执行CMD这个进程得到监听的端口号信息,C#代码如下:
代码如下://进程id
int pid = ProcInfo.ProcessID;
//存放进程使用的端口号链表
List ports = new List();