Cleaning up coredumpctl list

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
13
down vote

favorite
2












I'm looking for a way to remove any trace of old coredumps in coredumpctl list. At the moment it lists coredumps beginning at 2014-12-14 - I've updated software so often between then and now that I doubt those old coredumps are going to help me debug any problems now. Unfortunately removing the files from /var/lib/systemd/coredump only made the asterisk in the "PRESENT" column of coredumpctls output disappear.



I couldn't find any way to remove all information about coredumps in the manpages or in the help output of coredumpctl.










share|improve this question

























    up vote
    13
    down vote

    favorite
    2












    I'm looking for a way to remove any trace of old coredumps in coredumpctl list. At the moment it lists coredumps beginning at 2014-12-14 - I've updated software so often between then and now that I doubt those old coredumps are going to help me debug any problems now. Unfortunately removing the files from /var/lib/systemd/coredump only made the asterisk in the "PRESENT" column of coredumpctls output disappear.



    I couldn't find any way to remove all information about coredumps in the manpages or in the help output of coredumpctl.










    share|improve this question























      up vote
      13
      down vote

      favorite
      2









      up vote
      13
      down vote

      favorite
      2






      2





      I'm looking for a way to remove any trace of old coredumps in coredumpctl list. At the moment it lists coredumps beginning at 2014-12-14 - I've updated software so often between then and now that I doubt those old coredumps are going to help me debug any problems now. Unfortunately removing the files from /var/lib/systemd/coredump only made the asterisk in the "PRESENT" column of coredumpctls output disappear.



      I couldn't find any way to remove all information about coredumps in the manpages or in the help output of coredumpctl.










      share|improve this question













      I'm looking for a way to remove any trace of old coredumps in coredumpctl list. At the moment it lists coredumps beginning at 2014-12-14 - I've updated software so often between then and now that I doubt those old coredumps are going to help me debug any problems now. Unfortunately removing the files from /var/lib/systemd/coredump only made the asterisk in the "PRESENT" column of coredumpctls output disappear.



      I couldn't find any way to remove all information about coredumps in the manpages or in the help output of coredumpctl.







      systemd core-dump






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 5 '15 at 20:33









      Wieland

      3,8061527




      3,8061527




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          7
          down vote













          It seems the metadata is kept in the systemd journal, so it is gone after



          rm /var/log/journal/*/*
          killall -9 systemd-journald


          The downside is that all other syslog is gone as well.



          Maybe the cleaner method would be the one given in How to clear journalctl



          journalctl --vacuum-time=2d





          share|improve this answer





























            up vote
            0
            down vote













            First you may prune the journal discarding entries older than a day:



            journalctl --vacuum-time=1d


            Since "coredumpctl list" lists the dumpfiles recorded by the journal, you may manually delete the dump files from /var/lib/systemd/coredump that are not listed.



            coredumpctl list


            Browse the dump files, compare the files with the results from the command and delete the files not listed.






            share|improve this answer










            New contributor




            megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f220420%2fcleaning-up-coredumpctl-list%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              7
              down vote













              It seems the metadata is kept in the systemd journal, so it is gone after



              rm /var/log/journal/*/*
              killall -9 systemd-journald


              The downside is that all other syslog is gone as well.



              Maybe the cleaner method would be the one given in How to clear journalctl



              journalctl --vacuum-time=2d





              share|improve this answer


























                up vote
                7
                down vote













                It seems the metadata is kept in the systemd journal, so it is gone after



                rm /var/log/journal/*/*
                killall -9 systemd-journald


                The downside is that all other syslog is gone as well.



                Maybe the cleaner method would be the one given in How to clear journalctl



                journalctl --vacuum-time=2d





                share|improve this answer
























                  up vote
                  7
                  down vote










                  up vote
                  7
                  down vote









                  It seems the metadata is kept in the systemd journal, so it is gone after



                  rm /var/log/journal/*/*
                  killall -9 systemd-journald


                  The downside is that all other syslog is gone as well.



                  Maybe the cleaner method would be the one given in How to clear journalctl



                  journalctl --vacuum-time=2d





                  share|improve this answer














                  It seems the metadata is kept in the systemd journal, so it is gone after



                  rm /var/log/journal/*/*
                  killall -9 systemd-journald


                  The downside is that all other syslog is gone as well.



                  Maybe the cleaner method would be the one given in How to clear journalctl



                  journalctl --vacuum-time=2d






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 19 '16 at 8:19

























                  answered Jan 19 '16 at 8:11









                  Bernhard M.

                  9114




                  9114






















                      up vote
                      0
                      down vote













                      First you may prune the journal discarding entries older than a day:



                      journalctl --vacuum-time=1d


                      Since "coredumpctl list" lists the dumpfiles recorded by the journal, you may manually delete the dump files from /var/lib/systemd/coredump that are not listed.



                      coredumpctl list


                      Browse the dump files, compare the files with the results from the command and delete the files not listed.






                      share|improve this answer










                      New contributor




                      megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.





















                        up vote
                        0
                        down vote













                        First you may prune the journal discarding entries older than a day:



                        journalctl --vacuum-time=1d


                        Since "coredumpctl list" lists the dumpfiles recorded by the journal, you may manually delete the dump files from /var/lib/systemd/coredump that are not listed.



                        coredumpctl list


                        Browse the dump files, compare the files with the results from the command and delete the files not listed.






                        share|improve this answer










                        New contributor




                        megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.



















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          First you may prune the journal discarding entries older than a day:



                          journalctl --vacuum-time=1d


                          Since "coredumpctl list" lists the dumpfiles recorded by the journal, you may manually delete the dump files from /var/lib/systemd/coredump that are not listed.



                          coredumpctl list


                          Browse the dump files, compare the files with the results from the command and delete the files not listed.






                          share|improve this answer










                          New contributor




                          megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          First you may prune the journal discarding entries older than a day:



                          journalctl --vacuum-time=1d


                          Since "coredumpctl list" lists the dumpfiles recorded by the journal, you may manually delete the dump files from /var/lib/systemd/coredump that are not listed.



                          coredumpctl list


                          Browse the dump files, compare the files with the results from the command and delete the files not listed.







                          share|improve this answer










                          New contributor




                          megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer








                          edited 23 hours ago





















                          New contributor




                          megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 23 hours ago









                          megalith

                          11




                          11




                          New contributor




                          megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          megalith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f220420%2fcleaning-up-coredumpctl-list%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              Displaying single band from multi-band raster using QGIS

                              How many registers does an x86_64 CPU actually have?