CentOS and RedHat Linux
CentOS 是 Community ENTerprise Operating System 的简称,我们有很多人叫它社区企业操作系统,不管你怎么叫它,它都是 Linux操作系统的一个发行版本。CentOS 与 RHEL 有什么区别呢。
2016-04-19
linux - command - iftop
[root@localhost liyang]# wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz [root@localhost liyang]# tar zxvf iftop-0.17.tar.gz [root@localhost liyang]# cd iftop-0.17 [root@localhost liyang]# ./configure [root@localhost liyang]# make && make install
2015-05-26
Linux Process Manage
Linux 下的工作都是依靠进程来执行的,控制了进程就相当于控制了 Linux 系统了。这篇博客将通过 Linux 系统的启动登录来探讨进程管理机制,看这种机制如何支撑和左右进程的命运。
2016-05-14
linux运维
对于 web 服务,不管是上新,还是平时产品运营,节假日活动等,在这之前都需要评估现网压力承受能力,提前进行扩容,并做到防患于未然。所以对网站性能压力测试是必不可少的,这样才能充分了解自己部署的 web 服务 QPS。
vscode linux cmake
目录结构 {代码...} 源码 tool.h {代码...} tool.c {代码...} main.c {代码...} vscode 配置 launch.json {代码...} task.json {代码...} c_cpp_properties.json 此文件主要配置第三方库的提示 ,配置之后最好重启vscode {代码...} 运行 F5 参考 VSCode中C/C++库文件的配置
问:linux shell debug
图中这一段有点不理解,可以的话请详细叙述下这个语法规则和调用顺序,感谢了 图中代码: {代码...}
2019-01-15
Linux Shell FLAC
Embed cue {代码...} Extract cue Remove "CUESHEET=" from the first line in cue file after the extraction. {代码...} Generate cue {代码...} Remove all metadata {代码...} Remove picture without padding remaining {代码...} Import picture {代码...} Split single file to multiple files {代码...}
2020-06-17
Linux Shell MySQL
utf8已被弃用,因为最多支持3字节字符,使用utf8mb4可以支持4字节字符。 COLLATE对于字符类型会影响索引创建、搜索排序、比较。
2020-06-17
DNS records in Linux
NS record - The Name Server record simply specifies the other name servers for the domain, or maps a domain name to that of the primary server for the zone.
2021-03-31
Linux Disk Command
磁盘-分区-格式化-挂载df -h 查看磁盘空间du -h ./ --max-depth=1 查看当前目录下,每个子目录的磁盘空间fdisk -l 查看硬盘(已格式化和未格式化都能看到)fdisk /dev/sda,sdb,sdc (格式化或者重写磁盘分区)分区Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabelBuilding a new D...
2021-02-23
linux ssh key
Port 22Protocol 2HostKey /etc/ssh/ssh_host_rsa_keyHostKey /etc/ssh/ssh_host_dsa_keyKeyRegenerationInterval 3600ServerKeyBits 768SyslogFacility AUTHLogLevel INFOLoginGraceTime 600PermitRootLogin yesPubkeyAuthentication yesAuthorizedKeysFile
2022-07-19
GreatSQL登陆Arch Linux:成功的数据库安装之旅
Arch Linux是一个轻量、灵活、基于x86-64架构的Linux发行版,遵循K.I.S.S.原则。注重代码正确、优雅和极简主义,期待用户能够愿意去理解系统的操作。
2023-12-11
问:是否有用于检测 USB 事件(插入和移除)的 Qt 解决方案?
正如其他一些人几年前在这里问过的那样,我希望能够在 Qt 应用程序中检测何时插入 pendrive/datatraveler 以及何时在我的系统中拔出它(在 Linux Ubuntu 和嵌入式 Linux 中)。
2022-11-08✓ 已解决
一.go安装
一.go语言特性 并发,带垃圾回收的快速编译的语言。 静态类型语言,类型系统没有层级,比面向对象语言更轻量级。 go为多核机器准备的。 二.go安装方式 go源码安装 源码安装需要有gcc编译器。 {代码...} go标准包安装 window安装 export GOROOT=$HOME/go export GOPATH=$HOME/gopath export PATH=$PATH:$GOROOT/bin...
docker 中运行自定义的程序
准备自定义的程序(略) 以golang编译的二进制程序为例编译文件:(因为在docker中要使用linux的镜像,所以程序也要编译为linux下能用的) 参考golang交叉编译 Mac 下编译 Linux 和 Windows 64位可执行程序 {代码...} Linux 下编译 Mac 和 Windows 64位可执行程序 {代码...} Windows 下编译 Mac 和 Linux 64位可执行程序...
进程cpu使用率的计算
process jiffies是内核提供的该进程在DeltaT时间内消耗的jiffies。具体是/proc/<pid>/stat文件的第14-17 token。14-17token分别是utime, stime, cutime, cstime。cutime/cstime分别是该进程spawn的子进程在用户态和内核态消耗的jiffies。 process jiffies = utime + stime + cutime + cstime Jiffies 为Linux核心...
Linux 中如何提取压缩文件 ?
Linux 是一种流行的开源操作系统,它提供了许多工具来管理、压缩和解压缩文件。压缩文件有助于节省存储空间,使数据传输更快。本指南将向您展示如何在 Linux 中提取不同类型的压缩文件。
2025-06-09