Linux-查看操作命令属于哪个软件包

CentOS:利用yum provides命令

sar命令所属的软件包为sysstat-10.1.5-19.el7.x86_64

[root@db01 ~13:02:13]# yum provides sar
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
sysstat-10.1.5-19.el7.x86_64 : Collection of performance monitoring tools for Linux
Repo : base
Matched from:
Filename : /usr/bin/sar

sysstat-10.1.5-20.el7_9.x86_64 : Collection of performance monitoring tools for Linux
Repo : updates
Matched from:
Filename : /usr/bin/sar

sysstat-10.1.5-19.el7.x86_64 : Collection of performance monitoring tools for Linux
Repo : @base
Matched from:
Filename : /usr/bin/sar

Ubuntu:利用apt-cache search命令

netstat命令所属的软件包为net-tools

root@Ubuntu1604:~# apt-cache search netstat

net-tools - NET-3 networking toolkit

gnome-nettool - GNOME 的网络信息工具

bwm-ng - small and simple console-based bandwidth monitor

libparse-netstat-perl - module to parse the output of the "netstat" command

netstat-nat - tool that display NAT connections

nicstat - print network traffic statistics

unhide - Forensic tool to find hidden processes and ports

whichman - Fault tolerant search utilities: whichman, ftff, ftwhich
posted @   Linux运维-Friend  阅读(390)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
点击右上角即可分享
微信分享提示