zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    Python 双向链表的实现
    Python 单链表实现
    分享两种 Python 中的单例模式
    HTML 盒子模型
    HTML 行高
    HTML 超链接 文本修饰 背景属性
    HTML 标签分类
    HTML 文字,样式表
    HTML CSS
    HTML 锚点 空链 超链优化写法
  • 原文地址:https://www.cnblogs.com/markjiao/p/1551626.html
Copyright © 2011-2022 走看看