LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / lib / systemd / | Server Ip : 104.21.78.54 |
Filename | /lib/systemd/rhel-dmesg |
Size | 110 |
Permission | rwxr-xr-x |
Owner | |
Create time | 08-Dec-2022 23:02 |
Last modified | 22-May-2020 10:44 |
Last accessed | 03-Mar-2025 03:47 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/bash
[ -f /var/log/dmesg ] && mv -f /var/log/dmesg /var/log/dmesg.old
dmesg -s 131072 > /var/log/dmesg
[ -f /var/log/dmesg ] && mv -f /var/log/dmesg /var/log/dmesg.old
dmesg -s 131072 > /var/log/dmesg