You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Hi
I am having problem with my hddtemp program to read the hd temperature on my /dev/hdx as normal user.I could read temperature in root mod but in normal user mod it said that I don't permission .I try changing like chmod 755 /dev/hdx .It change into read exute mod but I still didn't have enought permissions as normal user to use it at all.

Hi thanks for the info ;
I had try it the way you told me telenet localhost 7634 and I could read it
but I don't know how to export it in to superkaramba or other monitor .But when
I open gtk system monitor ,it show the hddtemp /hdb and everything work out ok!
thanks
arkar kyaw win

save it, chmod x it and eventually remove/comment the things you don't want to display
Yes it do the same as hddtemp command line but it does not require root privilege to execute it, it requires that hddtemp is started as deamon though.

I really apperciate for the script.Now that I have the shell script it seem that I could insert my program into some karamba theme .Thanks man , It really mean a lot to me because I just re-compile my kernel to build i2c-chips into modules and I just found out after all that it didn't support the S.M.A.R.T hd heat sensors .Now it seem fine but the script only print out for one harddisk .I have two hd (hda and hdb) ,my linux box is on hdb.When I ran this command "telnet localhost 7634 2>/dev/null|" it sure did print out this line;
rying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
|/dev/hda|ST380011A|33|C||/dev/hdb|Maxtor 6E040L0|26|C|arkar@Ngan_yine:$
temp reading for both hd but when I run the script ,it show only one hd
arkar@Ngan_yine:$ ./hddtemp
Device: /dev/hda
Model: ST380011A
Temperature: 33C
I don't know anything about perl so I don't how to fix this loop or whatever the problem is ;
Can you please help me and fix it again please;

wow! it work !it fit like a glove and it work like there is no tommorrow.Gee thanks a million man ,I am really obsess with this heat reading because I had already fix more than 15 capaciter in my motherboard.I had to replace it twice ,last time I had to replace 10 and before that I had to replace 5 at least .And my cpu over heat so much that I had to take off my case cover off
and cool it off with small fan .That not all 3 weeks ago ,overheating process kill my ageing seagate .I know I need to change my cpu heat seeker and case too ,if I want to install extra fan in
it .And my system power box is right up in my cpu heatseeker so I really have a bad configure case.So I am just waiting for christmax sale to shop around cheap and good.In the mean time I
am really dead serious about heating.
Thanks for the srcipt .it really help,I am a pascal progmmer(student) and I never thought perl could do a lot of thing .I am dumping pascal as soon as course is over.thanks for script!