virt-top 命令查看kvm虚拟机的资源使用情况
1.openssl x509 -noout -text -in file2. grep -oP 过滤字符串中的指定内容3.setfacl 设置文件权限4.nmcli 配置网络5.iftop 查看网络流量6.nmap 扫描网络、监视主机7.基础命令:find/grep/sed/awk/du/df/ps8.lsof 查看进程打开文件9.grub2-mkconfig 生成 grub.cfg 配置10.find/cpio/gzip/tar 打包文件系统 11.rpm -q[a|f|i|R|l|c][--last]查询选项12.btrfs filesystem resize 修改文件分区大小13.docker/docker-compose 命令使用14.kill 命令重启 php-fpm15.nslookup 域名或IP地址 [DNS服务器]16.ansible 使用17.git 命令: 工作区与暂存区18.yum与软件包
19.virt-top 命令查看kvm虚拟机的资源使用情况
命令介绍
virt-top : a 'top'-like utility for virtualization
SUMMARY
virt-top [-options]
OPTIONS
-1 Start by displaying pCPUs (default: tasks)
-2 Start by displaying network interfaces
-3 Start by displaying block devices
-b Batch mode
-c uri Connect to libvirt URI
--connect uri Connect to libvirt URI
--csv file Log statistics to CSV file
--no-csv-cpu Disable CPU stats in CSV
--no-csv-mem Disable memory stats in CSV
--no-csv-block Disable block device stats in CSV
--no-csv-net Disable net stats in CSV
-d delay Delay time interval (seconds)
--debug file Send debug messages to file
--end-time time Exit at given time
--hist-cpu secs Historical CPU delay
--init-file file Set name of init file
--no-init-file Do not read init file
-n iterations Number of iterations to run
-o sort Set sort order (cpu|mem|time|id|name|netrx|nettx|blockrdrq|blockwrrq)
-s Secure ("kiosk") mode
--script Run from a script (no user interface)
--stream dump output to stdout (no userinterface)
--block-in-bytes show block device load in bytes rather than reqs
--version Display version number and exit
-help Display this list of options
--help Display this list of options
本文作者:武平宁
本文链接:https://www.cnblogs.com/dewan/p/17958851
版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步