Server :: Lm_sensors - Read Output?
Jun 5, 2011
how should I read below output of lm_sensors ? Im interested ONLY with temp1 and temp2.I suspect that temp1 presents motherboard chipset temp and temp2 CPU temp. I hope this is like this... but I have no 100% assurance.
Code:
~# /usr/local/bin/sensors
w83697hf-isa-0290
[code]....
View 3 Replies
ADVERTISEMENT
Jan 20, 2009
when the user clicks a button (assume war application) and the action'system.out.println' a message, how can I *remotly* read this message (read the message from a different computer instead of the server)?when I use the eclipse, I can read it from the console but if I'm in adifferent location, how can I see this message remotely?I'm thinking about remote debugging (JPDA), however, it's very difficult to configure in order to make JPDA run. I tried based on tutorial of google search, bug failed.I wonder if remote debugging can actually solve my problem. If not, is there any other to solve
View 1 Replies
View Related
Mar 7, 2010
How can i obtain the pid of a process, by using a function?Like i know if i write x = system("pidof teste"), x is not the pid of the program teste but it is equal to 0.How can i know the output of a command like that, but make it in a a program in C?
View 1 Replies
View Related
Mar 15, 2010
i have wrote a long piece of code above with the "main" which is calling openFile( &fout, filename )filename contains the txt name in a form of "data.txt"i wanna read the data from the file and output it into fout for later use.the data in that file is a vector looking interger group.i have the following code:
int openFile( ofstream * fout, const char * filename)
{
ifstream iFile(filename);
[code]...
View 1 Replies
View Related
Jun 29, 2011
I'm using Ubuntu and I'm programing with eclipse CDT. My goal is to execute a php file and read the output to my c++ program. To do so I thought I should use fork(), dup2() and execl. When in shell, the call "php myscript.php" worked just fine, but when in c++ I tried:
execl("usr/bin/php", "php", "home/geiger/workspace/SemiServer/server_content/myscript.php", NULL);
And it didn't work (the process wasn't terminated and I got no output). I tried different version of this call, like losing the "php" string and/or drop "home/geiger" from the path string, to no better result.
View 1 Replies
View Related
Sep 9, 2010
file1: have DNA sequences and each sequence will begin with > symbolfile2: have protein sequence and each sequence will start with > symbolfile3: BLAST result of file2 and each result will start with query= .my problem is i have to make a report file by combining these three in such way that first sequence from file1,first sequence from 2nd file and first result from file3 should be printed in a report file
View 14 Replies
View Related
Apr 12, 2010
I'm having a slight dilemma on reading data from a text file and outputting it into a table then displaying it. Basically I'm writing a shell script that takes information from text files then outputs the data into a table with 4 headings.he extracting of the data is fine, but creating a table i'm having problems with. I think it is possible to do it using the awk function, but so far i'm having a lot of difficulties.
View 14 Replies
View Related
Nov 15, 2010
Pavillion laptop crashed and I can not find all of my recovery discs. The computer will not allow me to do an internal recovery so I ordered a recovery download on line and burned to a disc. when I put the disc in the graphics came up and in started in Live-mode but then the error mess came: error while loading shared libraries: /usr/lib/libpci.so.3: cannot read file data: input/output error. The site said it was an ISO file but then it had a program it had me run to change it and burn the disc.
View 1 Replies
View Related
Dec 10, 2010
I have the following code:
Code:
#include <stdio.h>
#include <stdlib.h>
int main() {
system("ps -ef | grep myprocessname");
return 0; }
When I run this program it outputs the following list of running processes:
Code:
root 10279 10275 0 13:02 ? 00:00:00 myprocessname myvar1=value1 myvar2=value2
root 10341 10337 1 13:02 ? 00:00:00 myprocessname myvar1=value1 myvar2=value2
What I want to really do is instead of writing the output to screen I want to read the output and parse the various values value1, value2 etc. What is the best way to do this?
View 4 Replies
View Related
Jan 1, 2010
I'm running CentOS 5.4 on an Atom 230-based MSI MS-7418 motherboard. I'd like to monitor this host' CPU temperature as well as the HD's temperature, but can't get lm_sensors to work:Code: # uname -aLinux msi.workgroup 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 21:04:57 EST 2009 i686 i686 i386 GNU/Linux
# cat /etc/issue
CentOS release 5.4 (Final)
Kernel
[code]....
View 4 Replies
View Related
Oct 24, 2010
Trying to find the CPU temperature, I found this lm_sensors is what I need..I do this;
wget http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.2.0.tar.bz2
bzip2 -dv lm_sensors-3.2.0.tar.bz2
tar xvf lm_sensors-3.2.0.tar[code].....
View 9 Replies
View Related
Jun 12, 2011
I managed to get lm-sensors working it has no initialization at bootime:Quote:Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): yCopy prog/init/lm_sensors.init to /etc/init.d/lm_sensorsfor initialization at boot time.You should now start the lm_sensors service to load the requiredkernel modules.I've already copied 'prog/init/lm_sensors.init' to '/etc/init.d/lm_sensors' but it doesn't work. I still have i manutally have to load 'coretemp' to be able to have a temperature output from the command "sensors"
View 5 Replies
View Related
Aug 3, 2010
I have a problem with monitoring CPU temperature on x86_64 OpenSUSE 11.3. It returns the following:
it8720-isa-0290
Adapter: ISA adapter
in0: +1.18 V (min = +0.00 V, max = +4.08 V)
in1: +1.58 V (min = +0.00 V, max = +4.08 V)
[code].....
I use a Core i5 750 on a Gigabyte GA-P55A-UD3 motherboard. I could not find anything useful neither by googling, nor by using the forum search.
View 1 Replies
View Related
Mar 10, 2010
I am operating openSUSE 11.2 x86_64 KDE4.3 after installing sensors then adding
Code:
acpi_enforce_resources=no
to my optional kernel parameters and running
[code]....
View 2 Replies
View Related
Sep 16, 2010
With kernel 2.6.35 I get wrong readings on lm_sensors. They are about 20C off than the real values (e.g. if the CPU is at 50C, lm_sensors will show 70C). If I boot with any other kernel (like 2.6.32) I get the correct values. I'm using the 'coretemp' module on an Acer 7720 laptop. My distro is 64-bit Arch Linux.
View 2 Replies
View Related
Jan 21, 2009
I cannot install lm_sensors-2.5.5-3.i386.rpm nor lm_sensors-2.5.5-6.i386.rpm on RH 7.1.
The files complained by "failed dependencies" are present on my computer.
Why it fail to install?
Please help to fix the problem. code...
View 1 Replies
View Related
Mar 12, 2010
Basically the requirement of the script are :
1. need to run like a daemon which will read an active squid logfile in a refresh pattern of 5 minutes
2. calculate the total number requests based on different domains that the client access
3. calculate the total of number of requests based on different domains as well as the turnaround time of these access is more than 5 sec that the client access
4. calculate percentage of item 3 over item 2
5. report the results in html format as follows:
Domain Name Total req Req > 5 sec % of req > 5 sec
6. able to access the results from web browser.
View 8 Replies
View Related
Nov 12, 2009
lm_sensors failed after configuration by sensors-detect.
server3:~ # rclm_sensors start
Starting up sensors: failed
/etc/sysconfig/lm_sensors
[code]....
View 2 Replies
View Related
Aug 9, 2009
I recently built a cluster with Centos 5.3 and nodes that used different versions of the w83627ehf sensors chip. On some nodes sensors-detect detected the chip:
Found `Winbond W83627DHG Super IO Sensors' Success!(address 0x290, driver `w83627ehf')
But starting lm_sensors returned the error: Starting lm_sensors: No sensors found!
On other nodes sensors-detect did not detect the chip at all: Found unknown chip with ID 0xb073(logical device B has address 0x290, could be sensors)
[Code]....
View 4 Replies
View Related
Jan 1, 2010
I'm running CentOS 5.4 on an Atom 230-based MSI MS-7418 motherboard. I'd like to monitor this host' CPU temperature as well as the HD's temperature, but can't get lm_sensors to work:
Code:
# uname -a
Linux msi.workgroup 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 21:04:57 EST 2009 i686 i686 i386 GNU/Linux
[code]....
View 6 Replies
View Related
May 24, 2010
I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.
View 2 Replies
View Related
May 7, 2009
Until now i haven't had to dabble with bash scripts.
I have a program that reads in data files. These are named datafile01_R, datafile01_G, datafile01_B, they then increment, so datafile02_R etc i have about 600 of these. the program reads in 3 data sets at a time from each run, so files_01 r, g, and b.
The program then does its magic, and outputs about 40 different files, depending on the file, they gone to folders named R, G, B, psa, or tracking.
The program itself has configuration files to say where the files should gone when analyzed, there is also the config files that reads in the data sets.
At the moment i have to run one set of data, then go in and manually change the input file location, and run again. But, doing this, even though a different data set, the new set overwrites the old set in one of the output folders. So i need a way to increment the output filenames after they are written and before the program is run again with the new data set.
View 1 Replies
View Related
Jun 29, 2011
I can install the system, start setting it up, but eventually the system will halt with "Read only" errors, Input/Output errors on the drive the Distro is installed on and crap out. everything is working fine in Windows 7. It is just linux, seemingly. I've checked the hard-drive, memory, etc. I'm at an utter loss as to what is going on!
View 3 Replies
View Related
Mar 15, 2010
I don't know the format of these old floppie disks, ive tried
Code:
PC8-248suse:~ # file -s /dev/fd0
/dev/fd0: ERROR: cannot read `/dev/fd0' (Input/output error)
how i can go about reading this data?
View 9 Replies
View Related
Jul 21, 2009
I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?
View 1 Replies
View Related
Jul 16, 2010
I am fully aware that these following photo's are not all required for a full understanding of my issue, but I will post them regardless. Checklist to see if my computer meets best results possible for the installation. Screenshot.jpg These photos showing here are where I plan on Installing Ubuntu
Screenshot-1.jpg
Screenshot-2.jpg
NOTE: The installation has started, but only to shortly be stopped by my error message.
Screenshot-3.jpg
This is my ERROR!!! message
Screenshot-4.jpg
No matter what I try to click on, the window simply ignores the command, regardless of the amount of times I issue the command.
View 1 Replies
View Related
Jul 14, 2011
I've a popular vbulletin forum (10k max in vbulletin stats 'whos online') runnin in two servers like this:
1) Web server running vBulletin.
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
12 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
Apache/2.2.17
PHP 5.2.16
2) MySQL 5.server
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
16 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
MySQL 5.0.77
Web server connects to MySQL using private LAN.
Web-php server works with xcache as recommended by vBulletin.
Image/avatars and other static files (css, js, etc) are on a CDN
MySQL server uses Memcached for caching common queries.
The problem I'm facing, is from time to time (let's say one or two times a week) the Web server goes into read only mode... then the server has to be rebooted in order to get online normally and be able to work. From the logs I've seen this:
Code:
This is a new server, and in the old server the 'read only mode' issue happened very often too... so I guess it's not a HD issue.. it's just the HD have a heavy I/O usage. What do you think?
I am thinking about this solutions to improve the webserver performance:
1) 75% of the vbulletin users are anonymous users, so I've been thinking about using Cloudflare as a cache for all that traffic, that would reduce the php-webserver process a lot.
2) Using an external email server is a good option I guess... as right now the webservers also handles the email notifications for all the vbulletin users and it is constantly sending email everywhere. So, email will be stopped to gain server performance.
3) Mounting partitions with 'noatime' at /etc/fstab seems to improve I/O performance.
View 3 Replies
View Related
Jun 3, 2010
Is there an app I can put on my website hosting server that will do the following:
1. Allow the user to view a DVD.
2. Pause / stop to view something in more detail.
3. Rewind to view something again.
4. Mark location so they can return to viewing in the same place at a later time.
I belong to a fly fishing club. We have tapes of fly tying sessions dating back to 1992. Since we are registered as an educational charter with the state, I would like to make the available to our web sight viewers for learning.The club owns all these tapes and they were filmed at club sponsored functions. There should be no copyright problems. I am in the process of converting them to digital.
View 1 Replies
View Related
Feb 23, 2011
I have installed sendmail in my VPS machine, while i am sending mail from root to other user, i am able to send the mail. but the other user is not able to read the mail.
it is giving the following error: /var/spool/mail/root: Permission denied
View 1 Replies
View Related
May 10, 2010
I have the following Cron job scheduled on my Postfix mail server: Code: 00 18 * * * /usr/bin/clamscan -r --remove /home/.This is just running a scan on my entire /home/ directory and removing any infected files it finds. My question is since this is being ran at 6pm via Cron, how can I get the results of this job emailed to me via text? Does anyone recommend a command I can add to the end which will dump the results into a file or email and send it to a specific email address? This server is my company Postfix MTA for everyone.
View 14 Replies
View Related