rpm必知100问:如何查看软件包的详细信息?

如何查看软件包的详细信息?

使用rpm -qi package_name yum info package_name

  • rpm -qi package_name
rpm -qi package_name
[root@localhost ~]# rpm -qi sysstat
Name        : sysstat
Version     : 11.7.3
Release     : 13.0.1.an8
Architecture: x86_64
Install Date: 2025年03月17日 星期一 09时45分09秒
Group       : Applications/System
Size        : 1289208
License     : GPLv2+
Signature   : RSA/SHA256, 2024年07月23日 星期二 13时34分14秒, Key ID 619140084873f7c5
Source RPM  : sysstat-11.7.3-13.0.1.an8.src.rpm
Build Date  : 2024年07月23日 星期二 11时51分00秒
Build Host  : iZ2ze8vdmdyl66lfybi1hzZ
Relocations : (not relocatable)
Packager    : OpenAnolis Community
Vendor      : OpenAnolis Community
URL         : http://sebastien.godard.pagesperso-orange.fr/
Summary     : Collection of performance monitoring tools for Linux
Description :
The sysstat package contains the sar, sadf, mpstat, iostat, tapestat,
pidstat, cifsiostat and sa tools for Linux.
The sar command collects and reports system activity information.
The information collected by sar can be saved in a file in a binary
format for future inspection. The statistics reported by sar concern
I/O transfer rates, paging activity, process-related activities,
interrupts, network activity, memory and swap space utilization, CPU
utilization, kernel activities and TTY statistics, among others. Both
UP and SMP machines are fully supported.
The sadf command may  be used to display data collected by sar in
various formats (CSV, XML, etc.).
The iostat command reports CPU utilization and I/O statistics for disks.
The tapestat command reports statistics for tapes connected to the system.
The mpstat command reports global and per-processor statistics.
The pidstat command reports statistics for Linux tasks (processes).
The cifsiostat command reports I/O statistics for CIFS file systems.

  • yum info package_name
yum info package_name
[root@localhost ~]# yum info sysstat
上次元数据过期检查:0:09:35 前,执行于 2025年03月18日 星期二 11时18分24秒。
已安装的软件包
名称         : sysstat
版本         : 11.7.3
发布         : 13.0.1.an8
架构         : x86_64
大小         : 1.2 M
源           : sysstat-11.7.3-13.0.1.an8.src.rpm
仓库         : @System
来自仓库     : AppStream
概况         : Collection of performance monitoring tools for Linux
URL          : http://sebastien.godard.pagesperso-orange.fr/
协议         : GPLv2+
描述         : The sysstat package contains the sar, sadf, mpstat, iostat, tapestat,
             : pidstat, cifsiostat and sa tools for Linux.
             : The sar command collects and reports system activity information.
             : The information collected by sar can be saved in a file in a binary
             : format for future inspection. The statistics reported by sar concern
             : I/O transfer rates, paging activity, process-related activities,
             : interrupts, network activity, memory and swap space utilization, CPU
             : utilization, kernel activities and TTY statistics, among others. Both
             : UP and SMP machines are fully supported.
             : The sadf command may  be used to display data collected by sar in
             : various formats (CSV, XML, etc.).
             : The iostat command reports CPU utilization and I/O statistics for disks.
             : The tapestat command reports statistics for tapes connected to the system.
             : The mpstat command reports global and per-processor statistics.
             : The pidstat command reports statistics for Linux tasks (processes).
             : The cifsiostat command reports I/O statistics for CIFS file systems.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值