腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(97)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
如何安装
ioreg
?
ioreg
在我的系统中,我经常运行一个程序iStats,一切都很好。现在,由于某种原因,当我运行iStats时,它会抛出一个无法找到
ioreg
的错误。如果我跑:
ioreg
not found 但是如果我去/usr/sbin,
ioreg
就在那里。没有其他程序好像坏了,我不知道为什么它找不到它。我想重新安装它或使它重新工作。
浏览 3
修改于2017-05-06
得票数 0
回答已采纳
1
回答
ioreg
list multiple dext
当我插入我的USB设备并在终端中输入
ioreg
| grep com.myinc.mydriver时,我看到一个条目: +-o IOUserServer(com.myinc.mydriver ... registered, matched, active, busy 0 (0ms), retain 13 我拔下设备的插头,再做一次
ioreg
,我得到了同样的结果,但用的是reve9。如果我插入我的设备,那么另一个
ioreg
现在显示2个条目(以前的一个和一个新的)。 这是正常的吗?为什么前一个仍然处于活动状态?
浏览 18
修改于2020-10-18
得票数 2
1
回答
是否有可能以更容易解析的格式获得
ioreg
的输出?
我需要在Mac中获得
ioreg
的输出以便进一步处理,但是它使用的树状结构很难解析?有没有什么方法可以把输出转换成XML或者更容易解析的格式(比如system_profiler)?
浏览 0
提问于2009-02-25
得票数 3
回答已采纳
1
回答
需要使用
ioreg
获得USB序列号,通过MacOS中的Python变量获得?
我试着写一个小脚本:os.system("
ioreg
-p IOUSB -l -b | grep 'USB Serial Number'")"USB Serial Number
浏览 4
提问于2020-11-01
得票数 0
回答已采纳
1
回答
如何修复Python应用程序代码中的
ioreg
错误?
当我在iPad上的Pyto上运行我的dash应用程序的代码时,我会收到以下错误消息。其他一切看起来都很好,但我想不出这个错误的解决方案。我已经导入了io,图像文件正在通过一个标准的base 64函数来编码,如下所示。encoded = base64.b64encode(open(image_file, 'rb').read())在回溯中,它似乎只是为图像文件抛出警告消息,但是它对CSV和.
浏览 6
提问于2022-11-15
得票数 1
1
回答
使用
ioreg
-l和awk在mac上显示序列号的最后6个字符
system_profiler返回一个x86PlatformPlugin错误,因此我尝试:
ioreg
-l | grep IOPlatformSerialNumber | awk '{print substr
浏览 1
修改于2015-07-16
得票数 0
回答已采纳
1
回答
Icarus Verilog在编译动态内存模块时崩溃
// rising edge: if
ioreg
=0, free memory, otherwise reallocate memory into buffer of size
ioreg
.always @(posedge(realloc_en)) begin
浏览 3
修改于2016-10-18
得票数 1
回答已采纳
2
回答
检测Mac是否有背光键盘
在命令行中,很容易检测到Mac是否有带有
ioreg
的照明键盘:
ioreg
-c IOResources -d 3 | grep '"KeyboardBacklight" =' | sed 's/^.*
浏览 19
修改于2021-12-19
得票数 12
回答已采纳
2
回答
为什么要使用这个宏?
* #define SET_REGS() st(
ioreg
1 = 0;
ioreg
2 = 0; ) * or * The last macro would not behave as expected in the if
浏览 0
修改于2012-01-19
得票数 2
回答已采纳
2
回答
如何在我的可可应用程序中运行此命令?
这是我的命令:我如何在我的可可应用程序中运行它?(当然是以编程的方式)[server setLaunchPath:@"/bin/sh"]; [server setArguments:[NSArray arrayWithObject:@"
ioreg
initWithData:outputData encoding:NSUTF8StringEncoding] autore
浏览 5
修改于2011-01-08
得票数 0
回答已采纳
1
回答
如何对Bash输出进行排序并将其保存到sql db
我一直试图从这个命令
ioreg
-r -c "AppleSmartBattery"中获取数据,并将每个输入保存到sql中 +-o AppleSmartBattery我试着构建一个"for循环“,我到现在还不知道如何继续for i in ${batstat[@]}; do sed
浏览 10
提问于2021-02-17
得票数 1
1
回答
在Mac上测试Python中的不活动
subprocess import * '''Return idle time in seconds''' #
ioreg
-c IOHIDSystem lines
浏览 1
修改于2010-03-11
得票数 9
回答已采纳
3
回答
如何在bash中更改输出名称
我已经运行了命令在MacOS中。 它给出的输出为IOPlatformSerialNumber。
浏览 30
修改于2020-05-29
得票数 0
回答已采纳
3
回答
百分比精度( bash )
my_ac_adapt=`
ioreg
-w0 -l | grep ExternalConnected | awk '{print $5}'` max_power=`
ioreg
-w0 -l | grep MaxCapacity | awk '{print $5}'`
浏览 3
修改于2014-02-19
得票数 1
回答已采纳
1
回答
无法将屏幕保护程序空闲时间设置为root
# grab current userif [[ `
ioreg
= "00000000-0000-1000-8000-" ]]; then macUUID=`
ioreg
-rd1 -c IOPlatformExpertDevice | grep -i
浏览 5
提问于2015-02-02
得票数 0
回答已采纳
3
回答
来自终端的电池电量
我查过
ioreg
,它只显示我的macbook的电池。
浏览 2
提问于2016-02-10
得票数 4
1
回答
使用Unix命令在java中打印Mac的序列号
ioreg
-l | awk '/IOPlatformSerialNumber/ { print $4;}'String command = "
ioreg
-l | awk '/IOPlatformSerialNumber/ { print $4; }'" Runtime terminal =
浏览 0
修改于2011-04-21
得票数 5
2
回答
HAL -如何在mac上监控音频输出
我输入了命令行:
ioreg
-w0 -l | grep io |更多+-o com_AmbrosiaSW_AudioSupportcom_AmbrosiaSW_AudioSupport”"IOClass“= "com_AmbrosiaSW_AudioSupport” yan-bellavances mac-mini:~ ybellavance$
ioreg
浏览 1
修改于2009-07-17
得票数 5
回答已采纳
4
回答
从字符串中获取最后四个字符
我可以用这个命令抓取序列: serial=$(
ioreg
-l |grep "IOPlatformSerialNumber"|cut -d ""="" -f 2|sed -e s/[^[:alnum:]
浏览 6
修改于2015-04-06
得票数 0
回答已采纳
1
回答
如何获取(线段偏移)每个不同的平面(IODeviceTree,IOService ...)去大便吗?
我想在不使用
ioreg
的情况下阅读analyze a plane (IODeviceTree IOUSB IOService IOACPIPlane),通过在内存中创建一个指针(段偏移量),我的问题是如何在
浏览 0
提问于2018-05-04
得票数 1
第 2 页
第 3 页
第 4 页
第 5 页
点击加载更多
领券