mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
(#4973) add journal logs in xcatsnap for xcatd
This commit is contained in:
parent
d8969d7189
commit
d6a45d9398
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user