Psaux is a command to view all current processes in the system. ; Tools/raw materials; VMwareLinux computer; Methods/steps;
1. Open the VMware virtual machine, open the terminal command line, and switch to the root user through the "su" command. ;
2. Enter "psaux" and press enter to display all processes under linux. ;
3. You can also display all processes by typing ps-le, which is displayed according to priority.
Linux, which process calls port 8090?
One method is lsof-i: port number.
Another method is netstat-tunlp|grep port number.
Which process started the linux viewing process?
1. View files opened by the process (method 1):
1) pidoff program name (get the PID of the program name you want to know) or PS-aux | grep program name (get the PID of the program name you want to know) Find out the PID of the process 2) CD/proc/$ PID/FD (you will see the file descriptor).
3)ls-l gets the actual file pointed by the file descriptor, that is, the file opened by the current process. 2. View the file opened by the process (Method 2):
1) The method of obtaining the PID of the process you want to know is the same as above. 2) lsof-c program name or lsof-p$PID.
In linux, how to check the service name corresponding to the process?
1。 Check the port number netstat-ANP # netstat-ANP | grepsylogupd000 occupied by the process. 0。 0。 0:5 140。
0。 0。 0:*3 1483/syslogd
2。
Check the process lsof # lsof-I: 514 commandpiduserfdtypedevicedenonamenet d4027root6pv48560tcp *: shell (listen) syslogd31483root8uipv 428081UDP *: syslog.
How does linux view the file path of process execution?
After the process runs under linux, the process information is stored in the /proc/ process id directory. Process id view command ps-ef|grep process name, vi/proc/ process id/environ search PWD field is the directory where the process runs.