随笔分类 - linux
摘要:问题 运行 yum update 出现以下错误 Errors during downloading metadata for repository 'baseos': Curl error (60): SSL peer certificate or SSH remote key was not OK
阅读全文
摘要:screen Create a new screen.screen -S <screen name> Create a new screen with name.screen -ls List all screens.screen -d <sessionid> Detach a screen.scr
阅读全文
摘要:使用以下命令设置 Backspace 为 erase,可以解决这个问题。 stty erase ^? stty erase ^H
阅读全文
摘要:git config --list List all the settings git can find at /etc/gitconfig, ~/.gitconfig, ~/.config/git/config or .git/config. git config --system --list
阅读全文
摘要:perf 是用来进行软件性能分析的工具。通过它,应用程序可以利用 PMU,tracepoint 和内核中的特殊计数器来进行性能统计。 它不但可以分析指定应用程序的性能问题,也可以用来分析内核的性能问题,当然也可以同时分析应用代码和内核,从而全面理解应用程序中的性能瓶颈。 perf list 使用 p
阅读全文
摘要:临时设置 hugepage 查看是否设置成功
阅读全文
摘要:当给 KVM 虚拟机设置 hugepage 时,需要在虚拟机的配置文件里加上下面一段: 但是,加上这么一段之后,再次启动虚拟机,可能起不来,service libvirtd restart 可能会得到如标题的错误。 这个问题的原因可能是: 1. host 没有设置足够多的 hugepage 2. g
阅读全文
摘要:显示虚拟机 停止虚拟机 启动虚拟机 删除虚拟机 修改虚拟机内存 修改虚拟机配置
阅读全文
摘要:1. 配置 git config --list git config --global http.sslverify false git config --global user.name "Firstname Lastname" git config --global user.email you
阅读全文
摘要:本文说明为什么会出现僵尸进程 (zombie process, defunct),以及如何杀掉僵尸进程 1. 为什么有僵尸进程 僵尸进程出现在父进程没有回收子进程的 PCB 的时候,这个时候子进程已经结束,但是父进程没有回收它,所以保存了一份子进程的 PCB 在父进程的内核空间中。 僵尸进程占用的是
阅读全文

浙公网安备 33010602011771号