Linux:ÈçºÎ²é¿´Ò»¸ö½ø³ÌµÄÏêϸµÄÆô¶¯Ê±¼ä
Èç¹û½ø³Ì×ö×òÌìÒÔÇ°£¨°üÀ¨×òÌ죩´´½¨µÄ£¬ÄÇôʹÓÃps -efÃüÁîÊÇSTIMEÁÐÏÔʾµÄ¾ÍÊÇÈÕÆÚ£¬¶ø²»ÊÇÏêϸµÄʱ¼ä¡£
ÍøÂçÉÏÓÐÒ»ÖÖ·½·¨£º¼Ç¼pid£¬µ½/procÕÒÓëÆäͬÃûµÄÎļþ¼Ð£¬²é¿´Õâ¸öÎļþ¼ÐµÄÊÇʱ¼ä¡£Õâ¸ö·½·¨ºÜ´ÏÃ÷£¬²»¹ý²»ÐÒµÄÊÇͨ¹ýstat²é¿´Õâ¸öÎļþ¼Ð£¬Îļþ¼ÐÀïµÄÎļþ¡£ËùÓеÄʱ¼ä¶¼Êǵ±Ç°Ê±¼ä¡££º£¨
¿ÉÐеķ½·¨ÊÇʹÓÃÃüÁ
#ps -A -opid,stime,etime,args,lstart,ppid
½á¹û:
PID STIME ELAPSED COMMAND
1 May13 14-14:33:08 init
2 May13 14-14:33:07 [migration/0]
3 May13 14-14:33:07 [migration/1]
4 May13 14-14:33:07 [migration/2]
5 May13 14-14:33:07 [migration/3]
6 May13 14-14:33:06 [keventd]
7 May13 14-14:33:06 [ksoftirqd/0]
8 May13 14-14:33:06 [ksoftirqd/1]
9 May13 14-14:33:06 [ksoftirqd/2]
10 May13 14-14:33:06 [ksoftirqd/3]
13 May13 14-14:33:06 [bdflush]
11 May13 14-14:33:06 [kswapd]
12 May13 14-14:33:06 [kscand]
14 May13 14-14:33:06 [kupdated]
¡¡
ÆäÖÐELAPSED(etime)¾ÍÊÇÔËÐÐʱ¼ä£¬dd-hh24:mi:ss£¬Äõ±Ç°Ê±¼ä¼õËü¡£
pid ½ø³Ìid
ppid ½ø³Ì¸¸
stime Æô¶¯Ê±¼ä
lstart ¸üÏêϸµÄÆô¶¯Ê±¼ä
etime
args ÔËÐнű¾µÈ
Èç¹ûдһ¸ö½Å±¾Ê±¼ä¾Í¸üºÃÁË¡£
ÍƼöÐÅÏ¢
- linuxÃüÁîѧϰ±Ê¼Ç£¨11£©£ºnlÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨5£©£ºrmÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨4£©£ºmkdirÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨1£©£ºlsÃüÁî
- ½«CentosµÄyumÔ´¸ü»»Îª¹úÄڵİ¢ÀïÔÆÔ´
- ʹÓÃNginxÌí¼Óheader·ÀÖ¹ÍøÒ³±»frame
- linuxϼÓËÙscp´«Êä´óÎļþµÄËÙ¶È
- linuxϵͳÉ϶ÔnginxÈÕÖ¾·Ö¸î´¦Àí
- lnmp/nginxϵͳÕæÕýÓÐЧµÄͼƬ·ÀµÁÁ´ÍêÕûÉèÖÃÏê½â
- Í»ÆÆÊ®Íò²¢·¢µÄNginxµÄÅäÖü°ÓÅ»¯
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- ²éÕÒ²¢É¾³ý.svnĿ¼Îļþ
- redis ÆßÖÖÊý¾ÝÀàÐ͵ÄʹÓó¡¾°
- linux ÏÂÎļþ¸´ÖƵ½windowsÏÂÂÒÂëµÄ½â¾ö°ì·¨
- nginx³öÏÖ502 upstream sent too big he....
- linuxÏÂsudoÅäÖÃÏê½â
- linuxÃüÁîѧϰ±Ê¼Ç£¨15£©£ºtailÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨14£©£ºheadÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨13£©£ºlessÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨12£©£ºmoreÃüÁî
- ¼ÓÃÜËã·¨±È½Ï3DES AES RSA ECC MD5 SHA1µÈ
ÆÀÂÛ