Services:
1. Classification of linux services
1. RPM services: including independent services and xinetd services
/etc/init.d Startup script location
/etc/xinetd.config xineted configuration files
/etc/xinetd.d/: based on xinetd services Startup script
/var/lib/ : The data generated by the service is placed here
/var /log/: log
2, the source code service
is placed in the usr/local/ directory
3, chkconfig --list View the self-starting status of the
service chkconfig service name on Set the service's self-start
4, view the connection
netstat -ltun
-------------------------------------- -------------------------------------------------- ----------------------------------
Process
1 , Process View
1, Introduction: A process refers to an executing one Program or command, each process is a running entity and has its own address space
2, view all processes in the system
ps aux
tty
3, top command
The three main parameters
load average load percentage 1 minute, 5 minutes, 15 minutes
cpu(s): 87.53%id CPU idle ratio
mem: 2024k free free memory
4, view the process tree
pstree
linux services and processes
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327001392&siteId=291194637
Recommended
Ranking