Linux查看当前正在运行的进程
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ ps
PID TTY TIME CMD
2576 pts/0 00:00:00 bash
2695 pts/0 00:00:00 ps
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ ps -aux | grep java
youhaid+ 2722 0.0 0.0 15956 912 pts/0 S+ 23:12 0:00 grep --color=auto java
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ ps -ef | grep java
youhaid+ 2725 2576 0 23:13 pts/0 00:00:00 grep --color=auto java
youhaidong@youhaidong-ThinkPad-Edge-E545:~$