Most people familiar with Linux have used the top command line utility to see what process is taking the most CPU or memory. There’s a similar utility called htop that is much easier to use for normal tasks. The first great thing about htop... Read More | Share it now!
Category: linux
关于大内存页面 transparent_hugepage
Transparent Huge Pages (THP) are enabled by default in RHEL 6 for all applications. The kernel attempts to allocate hugepages whenever possible and any Linux process will receive 2MB pages if the mmap region is 2MB naturally aligned. The main kernel... Read More | Share it now!
在 Vim 中优雅地查找和替换
总有人问我 Vim 中能不能查找,当然能!而且是超级强的查找! 这篇文章来详细介绍 Vim 中查找相关的设置和使用方法。... Read More | Share it now!
apk add python not working
It will install python3 automatically with pip. python (version 2) has been decommissioned from latest packages. ... Read More | Share it now!
How to upload a file to Google Drive from the command line
I’ve been looking at several linux projects here recently, such as LibreNMS, and you’ll need to be sure you are backing them up. I wanted to quickly backup a compressed copy of my LibreNMS install and so I went looking for a super easy way to... Read More | Share it now!
Get video media information
Give mediainfo a try. On the command line type mediainfo input.mkv. For more detailed video information mediainfo --fullscan input.mkv. ... Read More | Share it now!
How to check if a variable is set in Bash?
where ${var+x} is a parameter expansion which evaluates to nothing if var is unset, and substitutes the string x otherwise. To check for non-null/non-zero string variable, i.e. if set, use It’s the opposite of -z. I find myself... Read More | Share it now!
差异两个rpms? – linux
尝试使用pkgdiff来查看RPM包之间的差异: 如果比较SRC.RPM,那么该工具也将提取并比较内部tarball(除非定义了-skip-subarchives选项). ... Read More | Share it now!
Linux 之 shell 比较运算符
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA... Read More | Share it now!