GNU/Linux >> Linux の 問題 >  >> Cent OS

Oracle Linux で Yum チャネルのサイズを確認する方法

質問 :yum チャネル リポジトリのサイズと、チャネルがローカルの yum リポジトリに同期するデータの量を確認するにはどうすればよいですか?

リポジトリの実際のサイズを確認するには、「yum repolist -v」 」または「yum repoinfo」 " 指図。

1. 最新のOL7 yumチャネルのサイズを確認する例

# yum repoinfo ol7_latest

Loaded plugins: langpacks, ulninfo
Repo-id : ol7_latest/x86_64
Repo-name : Oracle Linux 7Server Latest (x86_64)
Repo-status : enabled
Repo-updated : Fri Jan 25 22:56:45 2019
Repo-pkgs : 8,857
Repo-size : 10 G
Repo-baseurl : http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/
Repo-expire : 21,600 second(s) (last: Mon Jan 28 09:34:04 2019)
Repo-excluded: 2,947
Repo-filename: /etc/yum.repos.d/public-yum-ol7.repo

2. ULN に登録された OL6 システムの有効なすべての yum チャネルのサイズを確認する例:

# uln-channel --list
ol6_x86_64_UEKR4
ol6_x86_64_latest
# yum repolist -v
Loading "rhnplugin" plugin
Loading "ulninfo" plugin
Loading "refresh-packagekit" plugin
Loading "security" plugin
Config time: 0.035
This system is receiving updates from ULN.
Looking for repo options for [main]
Looking for repo options for [ol6_x86_64_latest]
Repo 'ol6_x86_64_latest' setting option 'enabled' = '1'
Repo 'ol6_x86_64_latest' setting option 'gpgcheck' = '1'
Repo 'ol6_x86_64_latest' setting option 'timeout' = '120'
Looking for repo options for [ol6_x86_64_UEKR4]
Repo 'ol6_x86_64_UEKR4' setting option 'enabled' = '1'
Repo 'ol6_x86_64_UEKR4' setting option 'gpgcheck' = '1'
Repo 'ol6_x86_64_UEKR4' setting option 'timeout' = '120'
Yum Version: 3.2.29
Setting up Package Sacks
pkgsack time: 0.040
Repo-id : ol6_x86_64_UEKR4
Repo-name : Unbreakable Enterprise Kernel Release 4 for Oracle Linux 6 (x86_64)
Repo-updated : Fri Feb 1 05:03:04 2019
Repo-pkgs : 109
Repo-size : 1.2 G . ####
Repo-baseurl : https://linux-update.oracle.com/XMLRPC/GET-REQ/ol6_x86_64_UEKR4
Repo-expire : 21,600 second(s) (last: Sat Feb 2 11:20:25 2019)
Repo-excluded: 33

Repo-id : ol6_x86_64_latest
Repo-name : Oracle Linux 6 Latest (x86_64)
Repo-updated : Thu Jan 31 22:38:28 2019
Repo-pkgs : 8,890
Repo-size : 15 G ###
Repo-baseurl : https://linux-update.oracle.com/XMLRPC/GET-REQ/ol6_x86_64_latest
Repo-expire : 21,600 second(s) (last: Sat Feb 2 11:20:41 2019)
Repo-excluded: 2,558

repolist: 8,999


Cent OS
  1. LinuxコマンドラインでRAMサイズをGbで確認する方法

  2. Oracle Enterprise Linux で Oracle Public Repository に接続するように YUM を構成する方法

  3. Linux で MTU サイズを変更する方法

  1. OSとLinuxのバージョンを確認する方法

  2. Linuxのソケットバッファサイズを見つける方法

  3. Linuxでファイルの物理サイズを取得するには?

  1. YUMを使用してOracleLinux/ Fedora / RHEL/CentOSにOracleVirtualBoxをインストールする方法

  2. LinuxでMySQLのバージョンを確認する方法

  3. CentOS/RHEL で yum チャネルのサイズを確認する方法