小编mat*_*kie的帖子

按符号链接目标列出文件

如何通过过滤符号链接目标名称而不是符号链接名称来获取文件列表(然后对该列表执行某些操作)?例如,从下面的列表中,我只对前四个文件感兴趣(目标包含bar):

foo ->  /tmp/bar
bar ->  /home/me/bartoo
baz ->  /home/me/public/barthree
zoo ->  /usr/share/bar
moo ->  /tmp/foo
roc ->  /tmp/roc
Run Code Online (Sandbox Code Playgroud)

find symlink

24
推荐指数
1
解决办法
1万
查看次数

为什么 htop 仪表显示 >90% 而 table 是 0.0%?

为什么屏幕顶部的进度表htop显示 CPU 使用率始终高于 90%,而下表中的数字显示 CPU 使用率和负载平均为 0.0% 的几乎空闲的系统?

部分 htop 屏幕抓取

top htop

15
推荐指数
2
解决办法
6459
查看次数

了解 ifconfig 统计信息

请帮助我理解ifconfig统计数据,特别是它们是在什么时间段内的?在下面的示例中,两个接口的合并接收字节为 7.7 GiB。是从午夜开始吗?自上次重启以来?自从 ...?

eth1 还显示了大约 50 万个丢弃的数据包,约占同一行中收到的总数的 15%。这对我来说看起来很糟糕,是吗?

[~] # ifconfig
bond0     Link encap:Ethernet  HWaddr 00:08:9B:D3:02:6A
          inet addr:123.123.123.123  Bcast:192.168.255.255  Mask:255.255.255.0
          inet6 addr: fe80::208:9bff:fed3:26a/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:30550094 errors:0 dropped:498787 overruns:0 frame:0
          TX packets:32564187 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8321227191 (7.7 GiB)  TX bytes:16056647508 (14.9 GiB)

eth0      Link encap:Ethernet  HWaddr 00:08:9B:D3:02:6A
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:27193387 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18205770 errors:0 dropped:0 overruns:0 carrier:0 …
Run Code Online (Sandbox Code Playgroud)

networking

5
推荐指数
1
解决办法
9491
查看次数

标签 统计

find ×1

htop ×1

networking ×1

symlink ×1

top ×1