• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    磁盘空间

    Scheduled Pinned Locked Moved Ubuntu
    12 Posts 2 Posters 523 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jugg @大法师
      last edited by

      @大法师 bb520ac8-1b44-49c7-9f74-6cc3c385bfc3-image.png

      18G 还有10个G呢

      1 Reply Last reply Reply Quote 0
      • J
        jugg @大法师
        last edited by

        @大法师
        怎么产生的 怎么会这么大

        大法师大 1 Reply Last reply Reply Quote 0
        • 大法师大
          大法师 @jugg
          last edited by 大法师

          @jugg
          sudo 切到root权限,查看下具体的目录文件大小,完整的log文件发一个,我看下

          jack@cool-pi.com

          J 2 Replies Last reply Reply Quote 0
          • J
            jugg @大法师
            last edited by

            @大法师
            192.168.0.165_2023-05-24_16-54-33.log

            1 Reply Last reply Reply Quote 0
            • J
              jugg @大法师
              last edited by

              @大法师 系统0306的

              大法师大 1 Reply Last reply Reply Quote 0
              • 大法师大
                大法师 @jugg
                last edited by

                @jugg

                du -sh /var/log/*
                

                jack@cool-pi.com

                J 1 Reply Last reply Reply Quote 0
                • J
                  jugg @大法师
                  last edited by

                  @大法师
                  5236b306-b1aa-4605-8e2c-c9f31f6174f0-image.png

                  大法师大 1 Reply Last reply Reply Quote 0
                  • 大法师大
                    大法师 @jugg
                    last edited by 大法师

                    @jugg

                    tail -n 1000 kern.log 查看是哪些驱动打印的输出

                    echo > syslog
                    echo > kern.log
                    

                    1 可以更新内核,有修复关闭一些debug log输出。
                    2 如果产品化使用,可以重新配置系统日志等级

                    jack@cool-pi.com

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jugg @大法师
                      last edited by

                      @大法师
                      我删了syslog 和 kerelog
                      但是还是用了10G
                      实际我只用1G不到
                      还有9G哪里占用了?
                      848870d5-abd3-468c-afaf-b178b92f4108-image.png

                      大法师大 1 Reply Last reply Reply Quote 0
                      • 大法师大
                        大法师 @jugg
                        last edited by

                        @jugg
                        刷机占用多少,安装包预装以及使用过程apt 相关安装都会占用空间,还有系统/var/log/journal也会持续增长。具体可以逐个分析每个目录大小

                        cd /
                        du -sh * --exclude="proc"
                        

                        jack@cool-pi.com

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post