????? ??????? Logevent.exe ??? ??? ??????? ?? ??? ????

?????? ????????? ?????? ?????????
???? ???????: 131008 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??????? Logevent.exe ???? ??? ??????? ????? ???? ??? ?????? ?? ??? ???????? ?? ??? ????? ???????. ???? ??? ???????? ????? ????? ????????? ??????? ?? ????? ????? "?" ??????? ?????? ?????? ?????? "?" ?????? ??????. ?? ???? ??? ??? ????? ??????? ?????? ???? ??????? ???????? ????? ???????? ????????? ?? ??????? ?? ????? ???????.

??? "???? ??????? Windows NT 4. 0?" ???? ?? ?????? LOGEVENT ???? ??????? ??? Windows NT ??? ??????? ??? ??????? ???? ?? ????. ???? ??? ?????? ???? ??? ?????? ??????? ????????? ?? ????? ??????? ??????? ????? ?? ??????? ?????? ?????? ?????? ?? ????? AT. ???? ?????? ??? ????? ??????? ?? ??? ??????? ?? ????? ????????? ?????? ??? ???????? ??????? ??????? ???? ????? ? ??? ??? ??? ???????.

??????? ????

Windows NT 3.51

????? Logevent.exe ????? ??? ?????? %SystemRoot%\system32.

????? LOGEVENT ????? ??????? ?????? ??????. ????? LOGEVENT ???? ??? ?????? ?????? ????? ???????? ?? ???????. ???? ????? ??????? ??????:
   \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog
   \Application\CommandLog
				

?? ???? ?????? ????? ??????? ??? ???????:
   EventMessageFile
   TypesSupported
				

????? ???? ??????? ???????? ?????? LOGEVENT CommandLog ???? ????? ??? ????? ?? "???? ???????".

?? ???? ???? ????? Logevent.exe:
LOGEVENT xxxxx string1 string2 string3 string4 string5

??? ??? xxxxx ???? ????? ???? ???? ?????? (???????? ??????) ? string1 ???? string5 ????? ??????? 1 ??? 5

??? ?? ????? LOGEVENT ???? ??? ?????? ???? ??? ????? ????? ???????? ?? ??????? (??? ?? ???? ?????). ??? ?? ?????? ???? ??? ?????? ????? ??????? ????? ?????? ?? ???? ????? ????????? ???????:
 [e:\ntbin]logevent
   Usage: LogEvent xxxx string1 string2 string3 string4 string5
   Where xxxx = numeric ID and stringX is "multiple word string" | single_word
				

??? ????? ????? ??????? 5 ???? ??? ?? ???? ??? ????? ????? ??????? ???? ??? ????? ???????? ???? ??????? ??? ('') ?????? ????????? ???????? ?? ????? ?????. ???? ????? ????? ?????? ??? ??????? ???? ??? ??????? ??????? ?? ??? ????. ????? ??? ????? "???? ?????" ???? ?????? ???????? ???? ????????? ????? ? ???? ????? ???? ????? ?? ??? ??? ?????.

??? ???? ??????? ???? ??????? LOGEVENT ?? ??? ???? ????? ????? ??? ??????? ?????? ??? ??? "??????? ???????" ?? ????? ?????? ??????:
   LOGEVENT 9876 "program failure in batch file" %0
      (to report failure of program execution from a batch file)
				

   LOGEVENT 1234 "Program CAPTURE.EXE" "ran successfully to completion"
      (from the batch file after successful execution of the program)
				

   LOGEVENT 2222 "Program failed for user" %USERNAME% "with a path of" %PATH%
      (from a batch file showing use of environment variables)
				

???? ??? ??? ??????? LOGEVENT ?? "?????? ??????". ??? ?? ????? PerfMon ?????? ?????????, ??? ?????? ?? ???? ???? ??? ????????? ????? ?? ??? ???????. ??? ????? ?? ???? ??????? ?????? ?? PerfMon ?????? ???? ??????? ???? ?? ??????? ?????? ????? ??? ?? ??? "????? ?????" ?? ??? ????? ???????. ??? ???? ????????? ??? ??? ?????? ??????? ?? ???? ??????? ???? ?? ????? ?????? ??????? ???? ???? ????? (??? ????? ?? ??? ???? ????? ?????? ????? ??? ?????????).

??? ??? ???? NVAlert ???? SNA ??????? ?????? ??? ????????? ??? NetView (??? ????? ????????? ????????) ?? ?? ??????? ?? ???? ?????? ??? ??????? "???? ?????" ?????? ???? ??????? ????? ????? ?? ?????. ???????? LOGEVENT ?? ?????? ?????? ????. ??? ???? ??????? ?? PerfMon ? ????? ??????? ???? ???? ?? ?????? ?? ?? ???? ?? ????? ?????? ??? ?????? ??? ????? ???????:
   LOGEVENT 2001 "Alert generated from Perfmon" "disk usage on D: exceeded 70%%"
				

??? ??? ??????? ??? ??????? ???? ?? ???:
   Date:      4/13/95      Event ID:  2001
   Time:      9:16:40 AM   Source:    CommandLog
   User:      N/A          Type:      Information
   Computer:  SPYMASTER    Category:  None
				

   Description:
   The description for Event ID ( 2001 ) in Source ( CommandLog ) could not
   be found. It contains the following insertion string(s): Alert generated
   from  Perfmon, disk usage on D: exceeded 70%.
				

???? ????? ??????? ???? ??? ??????? ????? ?? ?? ????? ???????? ??????? ?? ??? PerfMon. ???????? ???? ?? ??????? ?? PerfMon ?????? ?? ??? ????????? ????? PerfMon ????. ??? ???? ???? ???????? ???? ?? ??????? ?? PerfMon ????? ??? ??????? ??? ??????? ??? ??? ??? ????? ???? ??? ? "(??????? ? ?????? ?????? ??????) ??, (?????) ?? ????? ????? (NT 3.5 ? NT 3.51 ??? ???????). ?? ??? ?????? ??? ?? ???? ????? ??????? 1-4 ?? ? "?? ?? ???????. ??? ???? ??????:
   LOGEVENT 2001 "Alert generated from Perfmon" "disk usage on D: exceeded 70%%"
				

???? ????? stings 2 ????? LOGEVENT ?? ????? ?? ?????? ???? ????????? ?? ?????? ?????? ??????? ??????. ???? ??????? (?) ?? ????? ????? (??? ?? NT 3.51). ??????? NT 3.1 ?? NT 3.5 ?????? ? "??????.

??? ????? ?? ??? ??????? "? ???? ???? ??????? ?? ?? ????? ???? ?????? ??? ?? ID ??????? ???". " ????? ??? ??? ?? ???? ??? ??? ??? ????? ?? ????? ??? ??????? ??? ?? Logevent.exe ??? ???? ????? ?????? ?? ?? "?????? ?????" ???????? ?? ??? ???????. ???? ??? ??? ???????? Logevent.exe EventMessageFile ?? ???????. ??? ????? ?? ???? ??? ????? ?????? ???? ????? ??? ?? ??????? ??? Logevent.exe ?? ????? ??? ??? ????? ???.

??? "?????? ?????" ????? ????? ??? ??? ???? ???????? ?? ??????? ?????? ??? ??????? (??? ????? NV). ?????? ?? ??? ?????? %% ????? ?? ??? % ???? ?? ??? ??????? (??? ????? ???? ??? ????? % ?? ?????? ????? ???????).

???????? ??? ???? ???? ??? ????? ??? ??????? ?? ??? ????????, ???? ?? ????? ??? ????? ???? ??? ?? ????? ?????? "??? ?????????" ???. ???? ?????? ????? (?? ??????) ?????? ??????? ??? ??? ?? ????? ???????? ??? ?????? ????????.

Windows NT 4.0

?????? ???? "??? ???????" ???? ??????? ???? ???? ??? ?? ???? ??????? ?????? ??? ????????? ????????? ???? ??? ???????. ??? ????? ??????? ???????? ??? ??????? ?????? LOGEVENT ????? ??????.

?? ???? ???? Logevent.exe:
   LOGEVENT [-m \\MACHINENAME] [-s SIWEF] [-c CategoryNumber] "Event Text"
   Severity is one of (S)uccess, (I)nformation, (W)arning, (E)rror or
   (F)ailure.
				

???????

???? ???????: 131008 - ????? ??? ??????: 10/????/1427 - ??????: 1.2
????? ???
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
????? ??????: 
kbmt kbinfo kbnetwork KB131008 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????131008

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com