In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Premise: first of all, make sure that there is a go environment on windows, and the guaranteed go env command can view the correct information. If you need to modify the environment variable gopath in the case of "golang gopath entry is relative;must be absolute path:", you can remove the semicolon from the gopath path (this is required for win7 and win10).
1. First install Graphviz (official website windows version download address: http://www.graphviz.org/Download_windows.php)
two。 Configure the environment variable and configure the bin path to PATH.
3. Execute go tool pprof http://ip:port/debug/pprof/profile in dos
Monitor the running of the golang program within 30 seconds, and then generate a file
Enter the web command and the browser will automatically open the saved file (if the port does not monitor changes to the program, the file will not be generated)
Note: prompt "don't find profile" after the web command that the file cannot be found and path needs to be configured.
A figure like this.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.