×ðÁú¿­Ê±¹ÙÍøµÇ¼

linuxÖеÄutÊÇʲôÒâ˼

linuxÖеÄut´ú±íÓû§Ô˶¯Ê±¼ä£¬¼Í¼ÁËϵͳÉÏÿ¸öÓû§µÄµÇ¼ºÍ×¢Ïúʱ¼äÒÔ¼°ËûÃÇÔÚϵͳÖеÄÔ˶¯Ê±¼ä£¬Ê¹Óá°ut¡±ÏÂÁî¿ÉÒÔÉó²éÄ¿½ñ»òÕßÖ¸¶¨ÈÕÆÚÄÚÒѾ­µÇ¼µ½ÏµÍ³µÄÓû§Áбí»òÕßij¸öÌض¨Óû§µÄÔ˶¯±¨¸æ¡£

±¾½Ì³Ì²Ù×÷ϵͳ£ºLinux5.18.14ϵͳ¡¢Dell G3µçÄÔ¡£

ÔÚLinuxÖУ¬”ut”´ú±íÓû§Ô˶¯Ê±¼ä(user activity time)£¬Ëü¼Í¼ÁËϵͳÉÏÿ¸öÓû§µÄµÇ¼ºÍ×¢Ïúʱ¼äÒÔ¼°ËûÃÇÔÚϵͳÖеÄÔ˶¯Ê±¼ä¡£

`ut`ÏÂÁîÓÃÓÚÉó²éÄ¿½ñ»òÕßÖ¸¶¨ÈÕÆÚÄÚÒѾ­µÇ¼µ½ÏµÍ³µÄÓû§Áбí»òÕßij¸öÌض¨Óû§µÄÔ˶¯±¨¸æ¡£ 

ÒÔÏÂÊÇһЩ³£¼ûµÄÓ÷¨£º

`ut`£ºÏÔʾĿ½ñÕýÔÚϵͳÉÏÔ˶¯µÄËùÓÐÓû§µÄÁбí¡£

`ut username`£ºÏÔʾָ¶¨Óû§ÃûµÄ×î½üÔ˶¯ÇéÐΡ£

`ut -d [YYMMDD]`£ºÓëÈÕÆÚÍŽáʹÓÃÒÔÉó²éÌض¨ÈÕÆÚµÄÓû§Ô˶¯ÇéÐΡ£ÈôÊÇδÌṩÈÕÆÚ£¬ÔòĬÒÔΪ½ñÌì¡£

`utmpdump`£ºÏÔʾ´æ´¢Óû§µÇ¼ÐÅÏ¢µÄ¶þ½øÖÆÎļþÄÚÈÝ¡£ 

µ±ÖÎÀíÔ±ÐèÒªÏàʶ˭ºÎʱµÇ¼µ½ÏµÍ³£¬²¢ÔÚϵͳÖÐÆÆ·ÑÁ˶೤ʱ¼äʱ£¬utÏÂÁîÓÈÆäÓÐÓᣠËüÒ²¿ÉÒÔÓÃÓÚÌìÉú±¨¸æ£¬ÒÔ×ÊÖú¼á³Ö¸ú×ÙºÍÖÎÀíϵͳÉϵÄÓû§Ô˶¯¡£

ÒÔÉϾÍÊÇlinuxÖеÄutÊÇʲôÒâ˼µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ