We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
# 让服务永久启动,不会因xshell关闭而关闭,完成后记得回车,不要按ctrl + c不然会终止进程。 nohup node server.js &
# 查看3033端口的信息 lsof -i:3033
输出
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME node 30594 root 10u IPv6 28189403 0t0 TCP *:pdb (LISTEN)
#后面跟pid kill -9 30594
# 显示现行终端机下的所有程序,包括其他用户的程序。 ps -a # 显示所有程序 ps -A
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.启动永久命令
2.查看指定端口号信息(pid)
# 查看3033端口的信息 lsof -i:3033
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME node 30594 root 10u IPv6 28189403 0t0 TCP *:pdb (LISTEN)
3.杀进程kill
查看目前进程
The text was updated successfully, but these errors were encountered: