我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在Windows上的Go中返回正在处理的打开文件

What is the best way to get the number of files open by a process in Go on Windows? I'm trying to avoid using a wrapper around Handle since it cannot be redistributed. On Linux/Mac, one could use the os/exec package to call the lsof command, but there doesn't seem to be a native lsof equivalent in Windows.

近期文章

  • Golang。 在全局变量/上下文中缓存活动用户。 是个好主意?
  • 如何使用beego的本地化?
  • 如何在Go中创建可嵌入的C-API库?
  • Golang oci8存储过程查询产生错误
  • Golang / Gin-gonic:将POST标头强制转换为JSON
  • couchbase golang json原子增量
  • 为什么这样的go代码输出如此?
  • 使用GoClipse时无法跳过
  • 按名称GCS列出存储桶内容
  • 如何从带有revel的会话中删除值
  • 从任务队列解组机体响应
  • 在Go中使用App Engine在GCS上发布Json
  • CGO和日志记录
  • Go是否具有内置软件包来创建DNS服务器? [关闭]
  • 继续进行IntelliJ:缺少SDK /环境变量
  • 与苹果推送通知服务器的tls连接不起作用
  • 从外部网络连接到Websocket服务器
  • Golang选择触发器
  • Golang:runtime.GC保证
  • API密钥用法和检查示例?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华