speed up journalctl
2016-04-25
97 words
1 min read
Sometime back I noticed that whenever I run my favourite command, viz.
journalctl -xn -f -l
it was taking more time than usual. So, I thought to dig more into it and finally found that the following command:
sudo journalctl --disk-usage
showed that journalctl was using some huge space in tune of about 4GB. So, the solution was simple, vaccum the journal entries and the command to do so is :
sudo journalctl --vacuum-size 90M
Checking journalctl size after that confirms the size is reduced and after that indeed the above journal command takes no time π
Related Articles:
- 2015/11/30 Disk usage by file type
- 2015/09/07 Network Manager post-up script (dispatcher script)
- 2015/08/27 dnsmasq local name resolution with NetworkManager
- 2015/08/17 bash β expand shell variables ( bash bug resolved )
- 2015/07/09 evvsubst β substitute variables in text in shell
![author](/me.jpg)
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.