2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-23 04:41:08 +00:00

Merge pull request #5017 from robin2008/xcatsnap

(#4973) add journal logs in xcatsnap for xcatd
This commit is contained in:
Yuan Bai
2018-03-27 17:05:55 +08:00
committed by GitHub

View File

@@ -239,7 +239,7 @@ sub snap_it {
"ls $installdir", "/usr/bin/crontab -l",
"find /tftpboot -size -32k", "ls -lR $xcatroot",
"arp -a", "ps -edlf", "ps -aux", "ulimit -a", "df -k",
"cat /etc/issue", "lsxcatd -a", "cat /proc/meminfo", "cat /proc/cpuinfo");
"cat /etc/issue", "lsxcatd -a", "cat /proc/meminfo", "cat /proc/cpuinfo", "journalctl -b --no-pager -u xcatd");
}
foreach my $item (@Commands_array) {
$Command = $item;