Hi,
I heard a command that can collect all RHEL 5 log in a single compress file before I forget.
Does any body know...What the command is ?
Thanks.
Hi,
I heard a command that can collect all RHEL 5 log in a single compress file before I forget.
Does any body know...What the command is ?
Thanks.
There's probably not a collect_all_log_files_into_single_archive.exe anywhere.
Given that, I don't know exactly what the thing you "heard of" did. But the obvious way to collect all logs:
tar -zcf /path/to/logs.tar.gz /var/log
This will archive the entire /var/log folder.
If that's not what you wanted, please explain exactly what you want.
Hi Corona688
Thanks for your reply.
Finally I remember the RedHat useful command " sosreport " or " sysreport "
That's I want, single command get all information into file.
sosreport not only for logs it will collect all system info like config/rpms/logs
Yes, that I want.
Single command to get all troubleshooting information.