linux查看rpm包安装/更新/升级时间
rpm -qa|grep 'keyword' #获取软件包名与版本($RPM_NAME)
rpm -qi $RPM_NAME|grep "Install Date" #查看rpm包安装时间(所谓升级其实就是安装一个更高版本的包)
示例
# rpm -qa|grep openstacksdk python2-openstacksdk-0.11.3.45-1.el7.noarch # rpm -qi python2-openstacksdk-0.11.3.45-1.el7.noarch | grep "Install Date" Install Date: Sun 10 Jul 2022 01:46:04 PM CST