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.

  • 相关阅读:
    kafka概述
    Spark网络通信分析
    spark序列化及MapOutputTracker解析
    spark checkpoint详解
    深入理解spark streaming
    spark Listener和metrics实现分析
    Spark SQL catalyst概述和SQL Parser的具体实现
    spark block读写流程分析
    java 分布式实践
    单元测试ppt
  • 原文地址:https://www.cnblogs.com/markjiao/p/1551626.html
Copyright © 2011-2022 走看看