Visit The New, Modern Unix Linux Community

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Thread Tools Search this Thread
Operating Systems Linux Red Hat Does RHEL 5 provide a command to collect RHEL system log in single compress file?
# 1  
Does RHEL 5 provide a command to collect RHEL system log in single compress file?


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 ?

# 2  
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.
# 3  
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. :-)
# 4  
sosreport not only for logs it will collect all system info like config/rpms/logs
# 5  
Yes, that I want.

Single command to get all troubleshooting information. :-)

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #381
Difficulty: Medium
Solaris 9 is registered as UNIX 03 compliant on 32-bit and 64-bit x86 (X86-64) and SPARC systems
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Is it possible to install RHEL 7 on top of RHEL 6?

Hi We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
Discussion started by: magnus29
1 Replies

2. UNIX for Dummies Questions & Answers

Windows->RHEL->RHEL X11 Forwarding?

I know this question might have been asked a lot but couldn't find anything that worked. From a windows machine 'A' I can only SSH into Linux server 'B' from where I can SSH into another Linux server 'C'. I need to be able to run GUI interfaces on server C which run on my Windows machine. I... (3 Replies)
Discussion started by: hr.prasan
3 Replies

3. Red Hat

RHEL 6, Spacewalk 2.3 unable to download RHEL 5 repo data

Hello all, I am having a bit of an issue on my Spacewalk installation. Some amplifying information is that it is Spacewalk 2.3 installed on a RHEL 6 machine and I am attempting to install/update a RHEL 5 channel/repository. I am fairly new to Spacewalk so I am still learning but this is what I... (3 Replies)
Discussion started by: jstone4646
3 Replies

4. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

5. UNIX for Advanced & Expert Users

locked out of RHEL 4 system

Hi, I modified file /etc/pam.d/system-auth, to include "dcredit=-1 lcredit=-1 ucredit=-1" Now no one can login in. I still have an open session...but I cant even su to another account. I restored the file to the original, but still, no one can login in! Any help very appreciated! ... (2 Replies)
Discussion started by: tabini
2 Replies

6. Red Hat

How to Migrate from Single Disk to Many? (RHEL 4.6)

I have a Red Hat Enterprise 4.6 virtual server built on 1 virtual disk running Oracle Applications on VMware ESX 3.5; the performance of the virtual server is not good because of IO bottlenecks. The ESX server is reporting minimal load, it's the virtual server which is struggling with disk IO... (2 Replies)
Discussion started by: home4ktt
2 Replies

7. Solaris

How to mount a Files System where RHEL is installed on a Sun server Machine..

Hi Everyone, I have a machine where RHEL(Red Hat Enterprise Linux) is installed and few of our products are saved on the same. Our products work only on sparc 6 + and i want to basically asve the products on the machine which has RHEL installed on it and mount the drive on the sun server and... (2 Replies)
Discussion started by: sankasu
2 Replies

8. Red Hat

Updating/installing hplip system RHEL 5.2 64bit

I have a RHEL 5.2 server that I need to connect a new HP Laserjet p2035n networked printer. I can not install the latest version of 'hplip' since it generates an error (missing lib....) Does anyone know where I can find a PPD file for CUPS? Or can anyone tell how to remove the double blank... (1 Reply)
Discussion started by: uxlunatick
1 Replies

9. UNIX for Advanced & Expert Users

need sample system o/p RHEL/Debian

Hi, Could somebody sent me sample output of below commands on 1) Debian linux and 2) RHEL3 and 3) any RHEL version less than 3, a) uname -a b) cat /etc/issue c) cat /etc/redhat-release or other equivalent file Thanks in advance - Krishna (0 Replies)
Discussion started by: krishnamurthig
0 Replies

10. Red Hat

RHEL(AS3)-Upd(5):System Cannot boot ....

Hi, After a reboot, One of My Proliant Machine DL380 could not load the O/S. Raid 1+0 was configured. Some Gathered Facts: During Boot from System Rescue, the following message appears "You don't have any linux partitions.Press return to get a shell. The system will reboot... (1 Reply)
Discussion started by: Muhammad Ahmad
1 Replies

Featured Tech Videos