- 论坛徽章:
- 3
|
各位老师,帮忙看下呀
如下,如何统计5.9当天所有文件的总体大小,如何统计5.9当天所有文件名为log_*.bak文件的总体大小
[root@mierpdb01 rman_backup]# ll -t
total 228345420
-rw-r----- 1 oracle asmadmin 317026816 May 9 02:17 log_MIERPDB_37690_1_pqr54bft.bak
-rw-r----- 1 oracle asmadmin 331447296 May 9 02:15 log_MIERPDB_37689_1_ppr54bd7.bak
-rw-r----- 1 oracle asmadmin 337062912 May 9 02:14 log_MIERPDB_37688_1_por54ba4.bak
-rw-r----- 1 oracle asmadmin 335571968 May 9 02:12 log_MIERPDB_37687_1_pnr54b71.bak
-rw-r----- 1 oracle asmadmin 337539584 May 9 02:11 log_MIERPDB_37686_1_pmr54b40.bak
-rw-r----- 1 oracle asmadmin 325258752 May 9 02:09 log_MIERPDB_37685_1_plr54b1k.bak
-rw-r----- 1 oracle asmadmin 332357632 May 9 02:08 log_MIERPDB_37684_1_pkr54aup.bak
-rw-r----- 1 oracle asmadmin 13025280 May 9 01:24 level2_MIERPDB_37657_1_opr548d1.bak
-rw-r----- 1 oracle asmadmin 2020556800 May 9 01:23 level2_MIERPDB_37656_1_oor547l3.bak
-rw-r----- 1 oracle asmadmin 355619840 May 8 01:57 log_MIERPDB_37654_1_omr51lu6.bak
-rw-r----- 1 oracle asmadmin 15819776 May 8 01:57 log_MIERPDB_37655_1_onr51lvb.bak
-rw-r----- 1 oracle asmadmin 354024448 May 8 01:56 log_MIERPDB_37653_1_olr51ls3.bak
-rw-r----- 1 oracle asmadmin 357840384 May 8 01:55 log_MIERPDB_37652_1_okr51lr8.bak
-rw-r----- 1 oracle asmadmin 354931200 May 8 01:54 log_MIERPDB_37651_1_ojr51lpa.bak
-rw-r----- 1 oracle asmadmin 364519936 May 8 01:54 log_MIERPDB_37650_1_oir51lo5.bak
-rw-r----- 1 oracle asmadmin 354723328 May 8 01:52 log_MIERPDB_37649_1_ohr51lm5.bak
-rw-r----- 1 oracle asmadmin 5806850048 May 8 01:27 level0_MIERPDB_37620_1_nkr51ja7.bak
-rw-r----- 1 oracle asmadmin 98304 May 8 01:27 level0_MIERPDB_37622_1_nmr51k7f.bak
-rw-r----- 1 oracle asmadmin 12746752 May 8 01:27 level0_MIERPDB_37621_1_nlr51k6h.bak
-rw-r----- 1 oracle asmadmin 5440995328 May 8 01:26 level0_MIERPDB_37619_1_njr51ja7.bak
-rw-r----- 1 oracle asmadmin 23659520 May 7 02:16 log_MIERPDB_37618_1_nir4v2on.bak
-rw-r----- 1 oracle asmadmin 333784064 May 7 02:16 log_MIERPDB_37617_1_nhr4v2lo.bak
-rw-r----- 1 oracle asmadmin 328837120 May 7 02:14 log_MIERPDB_37616_1_ngr4v2iu.bak
-rw-r----- 1 oracle asmadmin 330513920 May 7 02:13 log_MIERPDB_37615_1_nfr4v2ga.bak
-rw-r----- 1 oracle asmadmin 338199040 May 7 02:11 log_MIERPDB_37614_1_ner4v2df.bak
-rw-r----- 1 oracle asmadmin 364626944 May 7 02:10 log_MIERPDB_37613_1_ndr4v2ao.bak
-rw-r----- 1 oracle asmadmin 333892096 May 7 02:09 log_MIERPDB_37612_1_ncr4v28d.bak
-rw-r----- 1 oracle asmadmin 333619200 May 7 02:07 log_MIERPDB_37611_1_nbr4v254.bak
-rw-r----- 1 oracle asmadmin 321317888 May 7 02:05 log_MIERPDB_37610_1_nar4v22f.bak
-rw-r----- 1 oracle asmadmin 331558912 May 7 02:04 log_MIERPDB_37609_1_n9r4v1vl.bak
-rw-r----- 1 oracle asmadmin 330614272 May 7 02:02 log_MIERPDB_37608_1_n8r4v1si.bak
-rw-r----- 1 oracle asmadmin 12402688 May 7 01:24 level2_MIERPDB_37584_1_mgr4uvm3.bak
-rw-r----- 1 oracle asmadmin 2083545088 May 7 01:24 level2_MIERPDB_37583_1_mfr4uut8.bak
-rw-r----- 1 oracle asmadmin 113828352 May 6 02:43 log_MIERPDB_37582_1_mer4sftc.bak
-rw-r----- 1 oracle asmadmin 365039616 May 6 02:42 log_MIERPDB_37581_1_mdr4sfqc.bak
-rw-r----- 1 oracle asmadmin 344430080 May 6 02:40 log_MIERPDB_37580_1_mcr4sfnc.bak
-rw-r----- 1 oracle asmadmin 322386944 May 6 02:39 log_MIERPDB_37579_1_mbr4sfl1.bak
-rw-r----- 1 oracle asmadmin 345970688 May 6 02:37 log_MIERPDB_37578_1_mar4sfht.bak
-rw-r----- 1 oracle asmadmin 385275392 May 6 02:36 log_MIERPDB_37577_1_m9r4sfeq.bak
-rw-r----- 1 oracle asmadmin 331052544 May 5 02:05 log_MIERPDB_37422_1_her4pp9o.bak
-rw-r----- 1 oracle asmadmin 318895616 May 5 02:03 log_MIERPDB_37421_1_hdr4pp5h.bak
-rw-r----- 1 oracle asmadmin 322000896 May 5 02:01 log_MIERPDB_37420_1_hcr4pp1f.bak
-rw-r----- 1 oracle asmadmin 308419584 May 5 01:58 log_MIERPDB_37419_1_hbr4pot4.bak
-rw-r----- 1 oracle asmadmin 308901376 May 5 01:56 log_MIERPDB_37418_1_har4popj.bak
-rw-r----- 1 oracle asmadmin 296000512 May 5 01:54 log_MIERPDB_37417_1_h9r4pols.bak
-rw-r----- 1 oracle asmadmin 221742592 May 5 01:52 log_MIERPDB_37416_1_h8r4poif.bak
-rw-r----- 1 oracle asmadmin 11370496 May 5 01:35 level2_MIERPDB_37415_1_h7r4pnhs.bak
-rw-r----- 1 oracle asmadmin 2287525888 May 5 01:34 level2_MIERPDB_37414_1_h6r4pm80.bak
-rw-r----- 1 oracle asmadmin 288326144 May 4 02:30 log_MIERPDB_37299_1_djr4n6c2.bak
-rw-r----- 1 oracle asmadmin 296437760 May 4 02:29 log_MIERPDB_37298_1_dir4n691.bak
-rw-r----- 1 oracle asmadmin 297020416 May 4 02:27 log_MIERPDB_37297_1_dhr4n65k.bak
-rw-r----- 1 oracle asmadmin 272619520 May 4 02:25 log_MIERPDB_37296_1_dgr4n629.bak
-rw-r----- 1 oracle asmadmin 272951296 May 4 02:23 log_MIERPDB_37295_1_dfr4n5vb.bak
-rw-r----- 1 oracle asmadmin 270095360 May 4 02:22 log_MIERPDB_37294_1_der4n5so.bak
-rw-r----- 1 oracle asmadmin 294362624 May 4 02:20 log_MIERPDB_37293_1_ddr4n5o6.bak
-rw-r----- 1 oracle asmadmin 98608128 May 4 02:19 log_MIERPDB_37292_1_dcr4n5o4.bak
-rw-r----- 1 oracle asmadmin 6123331584 May 4 01:45 level0_MIERPDB_37289_1_d9r4n1sp.bak
-rw-r----- 1 oracle asmadmin 10715136 May 4 01:42 level0_MIERPDB_37290_1_dar4n3io.bak
-rw-r----- 1 oracle asmadmin 5300371456 May 4 01:41 level0_MIERPDB_37288_1_d8r4n1se.bak |
|