Red Hat or CentOS CMD


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Red Hat or CentOS CMD
# 8  
Old 08-11-2011
Disclaimer: It has been approximately 7 years since I used Linux regularly. However, I would be surprised if any of what follows is no longer applicable.

You should be aware that dmesg simply prints out the contents of a kernel log buffer. It is a ring buffer and it's not very large. New messages overwrite older ones once the buffer has been filled. If your kernel is feeling chatty, you could very well miss messages if you depend on dmesg.

dmesg can be convenient to check the latest kernel messages, but I would not consider it a comprehensive reporting tool in and of itself. For that you need to look elsewhere.

For example, soon after booting a linux machine, dmesg will print out all the startup messages spat out by the kernel during its initialization and hardware detection routines. Try dmesg a day later (or a minute later if the kernel has encountered some issue) and it's possible that the boot messages are now gone (they should still be available in a log file, even if they've been overwritten in the kernel buffer read by dmesg).

Regards,
Alister
# 9  
Old 08-11-2011
alister thanks for your informative answer.

dmesg seems not to be what I was hoping it was. I guess RHEL just doesn't have this functionality. I have been doing a lot more Red Hat stuff lately and a lot of stuff seemed easier to do then on the Solaris server I normally work on. I just thought if Solaris can do it surly RHEL can do it too. I guess not.

Anyway I never asked how to get the faults or errors from the hardware I am using, only can RHEL access the info and if so how. The RHEL server is on a Sun Blade so there are two ways to get to the info. One way is thought the Lights out manager and the other is console port.

fpmurphy I looked into the lm-sensors program but I don't like installing 3rd party stuff and prefer native OS tools if possible. Thanks for helping me though.

Anyway thanks for everyones input.
# 10  
Old 08-12-2011
lm-sensors should be available from the Red Hat repositories, and is as much 3rd party stuff as bash, Perl, Apache, or NFS. Each of these tools is made by different people, and at most 1% of those is employed by Red Hat. Not even the kernel is made by Red Hat, they're contributing to it, but the main work they do is package all this software together and glue it together.
# 11  
Old 08-12-2011
Yes I know lm_sensors is in the repositories I checked. I also saw that I have some files to configure to get it to work. That would take more work then I am willing to put into it at this time. I will just use the Lights out Manager for now.

I understand that most of the Linux stuff is made by other people other then Red Hat. If the package/software is not part of the standard build I have to get special permission from security to install it. I'm mainly a UNIX admin and I don't want to add any programs that may not be needed and that I will have to secure later.

Thanks for your help. Maybe I can be of help to you guys at a later time.
# 12  
Old 08-12-2011
The reason that Solaris can give you that information is that the hardware and the software are being provided by the same vendor. Linux runs on commodity equipment, which has many different parts. It would be foolish to assume that the same integration exists, but using the tools from your manufacturer will allow you to do the same things, as they should provide you with the integration tools to check hardware, etc.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

2. Linux

Red Hat cluster

hi... I'm new to clustering concept, there was a issue in redhat clustering as "unable to load cluster.xml no such file or directory".. this issue restrict me from starting the cluster services and too execution of clustat command .. myself using vmware work station for the cluster setup with... (4 Replies)
Discussion started by: sriniv666
4 Replies

3. Red Hat

Red-hat

Hello, How do I see what IP addresses are connected to my machine? thanks (2 Replies)
Discussion started by: sonomao
2 Replies

4. Red Hat

Red Hat E 3

I'm am working with a Red Hat Enterprise 3 server. This is a dedicated server that is supposedly dedicated to one domain, but I have been tasked with trying to figure out if there are files on this system that are being accessed by other IP's. Does anyone know if how I would go about finding... (0 Replies)
Discussion started by: chrisPlusPlus
0 Replies

5. Shell Programming and Scripting

telnet shell script on red hat 9 cmd line only

i would like to make a shell script (red hat 9 cmd line only) to telnet to my local isp's webmail server on port 25 and send it commands such as helo :) help would be much appreciated, and i found no posts similar that answered my question... the closest i've gotten to an answer from about 8... (3 Replies)
Discussion started by: kypeswith
3 Replies

6. Linux

red hat ee 2.6.9-42

hello. I would be greatfull if someone could tell me how will i see what dns server and gateway my red hat server uses. I tryied to find out by typing ifconfig command but i got : -bash: ifconfig: command not found , although man ifonconfig gives output with info about using that command. Is... (3 Replies)
Discussion started by: tonijel
3 Replies

7. UNIX for Dummies Questions & Answers

Red Hat 9 help

please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
Discussion started by: shobhit143
0 Replies

8. Linux

Red Hat?

I have a Red Hat upgrade disk. I installed it and it corrupted my entire hard drive! I had gotten the disks out of a Dummy's book at my local library. Trying to install 'Red Hat', has cost me $100.00 in damages. (The cool part is my friend gave me that $100.00 part) Ah...A 120gig Hard Drive. Just... (3 Replies)
Discussion started by: hdk_mkr
3 Replies

9. UNIX for Dummies Questions & Answers

Red Hat 7.2.....

I just installed red hat 7.2 on my laptop. it's dual booted with xp and red hat. when i boot in to linux it boots up to the screen to ask me my name and pass....i put in root and my password. after this it goes to a blue screen and sits there. the after about 2 minutes it comes up with a fatal... (1 Reply)
Discussion started by: muzscman
1 Replies
Login or Register to Ask a Question