How to view service startup times
[Email protected]/]# Ps-ef |grep nginx
Root 14730 1 0 16:45? 00:00:00 Nginx:master process/usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx.conf
Nobody 14731 14730 0 16:45? 00:00:00 Nginx:worker Process
Nobody 14732 14730 0 16:45? 00:00:00 Nginx:worker Process
Root 14734 11720 0 16:45 pts/0 00:00:00 grep nginx
[Email protected]/]# Ps-eo pid,lstart,etime |grep 14730
How to view server startup time
[Email protected]/]# uptime
16:47:11 up Days, 16:57, 1 user, Load average:0.00, 0.00, 0.00
How to view when a profile has been modified
Stat/usr/local/nginx/conf/nginx.conf
File: '/usr/local/nginx/conf/nginx.conf '
size:1614 blocks:8 IO block:4096 Regular file
device:fc01h/64513d inode:66458 links:1
Access: (0644/-rw-r–r–) Uid: (0/root) Gid: (0/root)
access:2015-07-08 15:47:24.000000000 +0800
modify:2015-07-08 15:47:24.000000000 +0800
change:2015-07-08 15:47:24.000000000 +0800
View Linux system, service, configuration file modification time