LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2004, 05:15 PM   #1
distrowhore
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
Linux CPU Usage


Hello,

Im relatively new to Linux, ive only been playing around with it for a few weeks. I have Morphix as the distro I mainly use, however I have a few other distors lying around. I am interested in any techniques or programs (possibly built into linux) to just basically run my CPU at very high usage. I have tried Prime95 on Linux and it doesn’t want to work as well as it does on Windows. Does anyone have any recommendations? I just need to get the temperatures of my CPU under a load (I use thermal probes to monitor it). Thanks I appreciate any recommendations or techniques you may have to get your CPU usage very high for testing purposes.
 
Old 05-23-2004, 05:42 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Try prime-net either directly from your distribution (easy way,if available) or from the upstream.
 
Old 05-23-2004, 05:47 PM   #3
distrowhore
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
arent prime-net and prime 95 the same or roughly the same. Ive tried the one built onto Overclockix, however that doesnt operate properly. I just need to get the CPU usage up high to get temps to compare theseheatsinks. What are any other technique or way for Linux? Thanks
 
Old 05-23-2004, 05:54 PM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
ok. You might want to check the cpuburn, thus I have been very successful with the prime-net on torture-testing my cpu(s).
 
Old 05-23-2004, 05:59 PM   #5
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Why not install F@H it will load your CPU and possibly do some good as well

http://forum.folding-community.org/index.php

Pete
 
Old 05-23-2004, 06:01 PM   #6
distrowhore
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Cool, thanks. Do I need Debian distro in order to run this program?
 
Old 05-23-2004, 06:26 PM   #7
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
No. I just happen to run debian and so debian software archive is the most familiar for me.

Morphix is a debian based distribution, so the package should be allready available and installable by just 'apt-get install cpuburn'; if not, either fix your /etc/apt/sources.list to contain more packages or just hit that "download cpuburn" button from the webpage I gave you and install the package (dpkg -i theNameOfThefile.deb).

To get program running in a non-debian based distribution, find out the place "source package:" and pick that one (or alternatively check from the "copyright"-file where the upstream relies and take the package from there [it is exactly the same package as the cpuburn_1.4.orig.tar.gz])
 
Old 05-23-2004, 06:38 PM   #8
distrowhore
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Alright, thanks a bunch.
 
Old 05-23-2004, 06:53 PM   #9
distrowhore
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I just tried it and I am running it off of the CD, it gives me a bunch of crap about the file may be locked or it cant write to it. I imagine its since im running it off of the CD. The box I have running Linux is just a 512MB P4 2.4 12GB HDD 4x CD-ROM drive. When I tried to install Morphix to the hard drive, and I would boot it would give me errors about the hard drive being full even though I just formatted it. I am probably going to shove in a faster CD-ROM drive since I have lots of them unfortunately no larger spare hard drives. Would I be able to just keep running it off a CD drive and then how would I sleect the path to install for the cpuburn so i dont get those problems. Any additional information would help, im advanced with computers and windows but have recently just been working with Linux.
 
Old 05-23-2004, 09:51 PM   #10
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
ok. Three step complete walk-through program for installing software from scratch:
1. Get the source
2. Compile
3. Run.

Step 1:
a) First find yourself a directory having some space 20MB should do fine.
eg.
mkdir source
cd source
b) Fetch the source here
in debian(ish) system command:
Code:
apt-get source cpuburn
should work.
If it works, go to step 2.
If it doesn't, your installation is crippled; get the source and extract it manually.
eg. by using browser in the page I gave earlier or by running
And to extract the source package:
Code:
dpkg-source -x cpuburn_1.4-4.dsc
It worked? Go to step 2.
If this doesn't work, your installation is so crippled that it is not allowed to be called as debian;
let's do this step manually:
Code:
tar xvfz cpuburn_1.4.orig.tar.gz
zcat cpuburn_1.4-4.diff.gz | patch -p0
Step 2:
a) go to cpuburn-1.4 directory
Code:
cd cpuburn-1.4
b) Compile the beast.
Normally if we would like to build debian binary package, we would run
'dpkg-buildpackage', but now we just want to build the executables, so
we run:
Code:
debian/rules build
It worked? Go to step 3.
It didn't? Your debian build environment is broken.
Try just running manually 'make' and see if it works.

Step 3.
Now you sould have binaries burnBX, burnK6, burnK7, burnMMX, burnP5 and burnP6 in your current directory. To run one of them (eg. burnK7), type
Code:
./burnK7
 
Old 05-23-2004, 09:54 PM   #11
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
These are the steps that are thought all the way too complicated for normal home-user to get along with.
 
Old 05-24-2004, 04:56 AM   #12
distrowhore
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Alright, thanks man ill do that today. Sounds pretty damn easy to me, I just am unsure of some stuff since the linux territory is new to me but the rest of the computer territory is well worked ground
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Usage measurement in Linux bassi Linux From Scratch 1 07-20-2005 04:11 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Best Linux Distribution for CPU Usage Mike-BB Linux - Distributions 6 07-25-2004 06:54 PM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration