Skip to content

Ubuntu 18.04上的蓝牙连接问题

以前的博客当中有提到Ubuntu 16.04上用蓝牙耳机的事。现在系统升级到18.04后,发现每次计算机休眠再唤醒后,蓝牙耳机都无法连接。查看系统日志,发现有如下错误信息:

Read more

迁移DB2开发者版container

前一段因为项目需求,在一个CentOS 7.4上用docker方式搭建了一个免费的DB2 developer edition,版本为v11.1.2fp2a_3。过一段时间后需要在另外一个机器上再安装一个,然后就发现原来的安装包无论如何无法正常安装了,一直报docker下载相关的错误。

Read more

删除container的挂载点

今天需要把一个正在运行的container的挂载点删除(只删除挂载点,而不删除host机器上的实际目录)。启动container时是使用-v挂载上去的。 结果找了半天,发现除了重建container之外,官方没有提供任何方式来删除挂载点。

Read more

寻找Linux上等待CPU的进程

前几天碰到一个(面试)问题:
在Linux上,你如何找到哪些进程处于等待CPU的状态?
第一个想到的工具是PS。但看了一下PS的手册,它的状态栏中’R’可以表示正在运行,或者已经准备好了但正在等待运行。

Read more

几个面试问题的回顾

上周面试时碰到了几个问题,感觉有些陌生。回来后查了下资料,以备后用。
what does the plus sign mean in an entry in the passwd file?

Read more

[转]Monitoring and Tuning the Linux Networking Stack: Receiving Data

最近在网上看到了一篇详细介绍Linux系统上接收网络数据包过程的博客(英文的),觉得很不错,特地分享一下。如果你想做Linux的网络性能优化,这是一篇很好的参考文章。 The networking stack is complex and there is no one size fits all solution. If the performance and health of your networking is critical to you or your business, you will have no choice but to invest a considerable…

Read more

ZFS on ubuntu

Ubuntu 从16.04 (AMD64架构上)开始正式支持ZFS作为数据文件系统(非root)。但是需要另外安装。过程非常简单: sudo apt install zfs zfsutils-linux 验证是否ZFS是否已经安装并加载: $ lsmod | grep zfs zfs 2801664 11 zunicode 331776 1 zfs zcommon 57344 1 zfs znvpair 90112 2 zfs,zcommon spl 102400 3 zfs,zcommon,znvpair zavl 16384 1 zfs 作为一个非常NB的文件系统,ZFS主要的特性有: 快照 写时复制(copy-on-write…

Read more

Linux perf 示例

转自:http://www.brendangregg.com/perf.html 回到老家,发现这个也被墙了,先转过来做个备份吧 These are some examples of using the perf Linux profiler, which has also been called Performance Counters for Linux (PCL), Linux perf events (LPE), or perf_events. Like Vince Weaver, I’ll call it perf_events so that you can search…

Read more
Sidebar