所以 ssh 有选项HostKeyAlgorithms
。示例用法:
ssh -o "HostKeyAlgorithms ssh-rsa" user@hostname
Run Code Online (Sandbox Code Playgroud)
我试图让客户端使用服务器ecdsa
密钥进行连接,但我找不到正确的字符串。
我可以使用什么命令来获取可用的列表HostKeyAlgorithms
?
我编译并运行了这些命令,但它们的内容对我来说有点神秘。
从过程intel-gpu-overlay
:读类似15R, 16B, 41ms waits
。什么是R
,什么是B
,等待时间表示什么?
它有 CPU:152%(我猜这和我从上面得到的一样)。渲染:32%,比特流:6%,blt:6%。什么样的代码会导致这些值成为瓶颈,当它们发生时系统的行为是什么?
以下是 intel-gpu-top 的示例:
Run Code Online (Sandbox Code Playgroud)render busy: 23%: ????? render space: 12/16384 task percent busy GAM: 29%: ?????? vert fetch: 1380772913 (5386667/sec) CS: 23%: ????? prim fetch: 350972637 (1368891/sec) GAFS: 9%: ?? VS invocations: 1375586768 (5385212/sec) TSG: 8%: ?? GS invocations: 0 (0/sec) VFE: 7%: ?? GS prims: 0 (0/sec) SVG: 3%: ? CL invocations: 677098924 (2648400/sec) VS: 3%: ? CL prims: 682224019 (2663834/sec) URBM: 2%: ? …
到目前为止我的配置是:
[Path]
PathExists=/tmp/foo.path
[Install]
WantedBy=multi.user.target
Run Code Online (Sandbox Code Playgroud)
[Unit]
Description=Matt Test
BindsTo=foo.path
[Service]
ExecStart=/bin/sh /home/mpekar/bin/foo.sh
PIDFile=/run/foo.pid
Run Code Online (Sandbox Code Playgroud)
这在启动时工作正常,但在删除 /tmp/foo.path 时 foo.service 不会被终止。有什么方法可以让 systemd 做到这一点,还是它不是适合这项工作的工具?
假设我有一个文件“foo_whatever.ttf” 是否有命令行工具可以从文件中获取实际字体名称?
下面的链接确实包含答案,但我没有在搜索结果中打开它,特别是“/fonts name”。回顾过去,我本可以使用更一般的搜索。这方面的模组政策是什么?
这实际上是我找到的链接,它使我找到了正确的答案(在那里我了解了其余的fc-
命令:
我猜 lspci 将是执行此操作的工具,但我似乎找不到任何识别输出。有没有办法从命令行知道机器上是否存在 Thunderbolt 端口?
我有一台我知道有一个 Thunderbolt 端口的计算机,lspci 显示了这个:
00:00.0 Host bridge: Intel Corporation Device 3ec2 (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Device a379 (rev 10)
00:14.0 USB controller: Intel Corporation Device a36d (rev 10)
00:14.2 RAM memory: Intel Corporation Device a36f (rev 10)
00:15.0 Serial bus controller [0c80]: Intel …
Run Code Online (Sandbox Code Playgroud) 假设我有一张具有以下属性的卡片:
index: 1
name: <alsa_card.pci-0000_00_1f.3>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7240000 irq 129"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
output:analog-stereo: Analog Stereo Output (priority …
Run Code Online (Sandbox Code Playgroud)