Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.
Câu hỏi
Người đọc siêu người dùng ePezhman muốn biết cách bạn tìm hiểu Windows đang làm gì tại một thời điểm cụ thể:
With Windows 7/8/10, is there a way to find out if the computer was running at a particular or given time? For example, was the computer running or turned off last night around 10:00 p.m.?
Làm cách nào để bạn biết Windows đang làm gì tại một thời điểm nhất định?
Câu trả lời
Người đóng góp của SuperUser Monomeeth có câu trả lời cho chúng tôi:
You can use the Windows Event Viewer to do this. To start the Event Viewer in Windows 7:
- Click the Start Button
- Click on Control Panel
- Click on System and Security (or Maintenance)
- Click on Administrative Tools
- Double-click the Event Viewer
In Windows 8 and 10, you can open the Event Viewer with the Windows Key+X+V keyboard shortcut. You can also open it via the Run dialog using the Windows Key+R keyboard shortcut, typing eventvwr, then clicking OK.
Once you have the Event Viewer open, follow these steps:
1. In the left pane go to Windows Logs > System
2. In the right pane you will see a list of events that occurred while Windows was running
3. Click on the Event ID label to sort data by the Event ID column
4. It is possible that your event log will be extremely long, so you will need to create a filter
5. From the Actions pane on the right-hand side, click on “Filter current log”
6. Type 6005, 6006 in the unlabelled field (see the screenshot below):
7. Click OK
Please note that it may take a few moments for the Event Viewer to show the filtered logs.
In Summary
- Event ID 6005 means “The event log service was started” (i.e. start up time).
- Event ID 6006 means “The event log service was stopped” (i.e. shut down time).
- If you want, you could also add Event ID 6013 to your filter. This displays the system’s uptime after booting.
Finally, if this is something you want to check regularly, you can create a custom view to show this filtered log. Custom views are located at the top left of the left pane of the Windows Event Viewer. By adding it there, you can choose to select it whenever you want to view the log.
Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.