-
Windows Tips
1. import/export Windows registry through cmd:
REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath]
/L:system Specifies the location of the SYSTEM.DAT file.
/R:user Specifies the location of the USER.DAT file.
filename1 Specifies the file(s) to import into the regist
/C filename2 Specifies the file to create the registry from.
/E filename3 Specifies the file to export the registry to.
regpath Specifies the starting registry key to export from.
(Defaults to exporting the entire registry).
/S (Windows) Silent - no message on completion.
Sample 1: export all registry to a file:
regedit /e c:\test.reg
Sample 2: import registry from a file:
regedit c:\test.reg
2. use Windows Administrative Tools -- Performance
Sample: export Memory and CPU utilization to a text file;
- Performance -> Performance Logs and Alerts -> Counter Logs: right click and select "New Log settings..."
- input name: RecordMemoryProsessorUsage
- General -> Add Counters...
- Add Conters: (Performance object: Processor: % Processor Time _Total) (Memory: Available KBytes) click "Add";
- Log Files: (type: Text File) (End file names with: mmddhhmm);
- Schedule: Manually.
-
相关阅读:
个人推荐网上商店
vs 安装程序制作
this linker was not configured to use sysroots和C compiler cannot create executables的解决办法
将asihttprequest编译后的目标文件打包
cygwin下的gcc4.7.1编译心得
给ubuntu12.04换3.4.6的内核
boost::asio::streambuf相关的操作方法
应用boost库serialize标准库里的map
cygwin下gdb7.4编译
sql server存储过程分页,支持cte
-
原文地址:https://www.cnblogs.com/markjiao/p/1551626.html
Copyright © 2020-2023
润新知