New Posts  All Forums:Forum Nav:

CPU-L For Linux

post #1 of 2
Thread Starter 
Well I've got some free time so I decided there needs to be a CPU-Z equivalent for Linux.

I wrote up an initial version in shell script, which is how I usually do things.
Start with shell and convert to C. Optimize, Implement, Optimize, Implement...

So if a few friendly Linux users wouldn't mind sending me maybe a screenie.
It does require root privileges to read you actual FSB and such.

Just untar and run:
Just outputs once and returns, run it in a terminal and resize the terminal so you can see all the output, you might need better than 800x600
Code:
unzip cpul.zip
chmod 0777 cpul.sh
./cpul.sh
Once you've resized your terminal, run:
Code:
./cpul.sh -refresh 1
That will refresh every second.

If you squint the UI might seem familiar.
Sir-Pwnz-A-Lot
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E6750 Asus P5K-E w/ WiFi-AP GeForce 8600GT 2GB OCZ 800MHz 
Hard DriveOptical DriveOSMonitor
250GB Maxtor DiamondMax None Ubuntu Linux 7.10 Sylvania something like 16" 
KeyboardPowerCaseMouse
Generic USB Wireless KB Logisys 550W Acrylic Logisys UV Acrylic (See-Thru) Logitech Marble USB 
Mouse Pad
N/A 
  hide details  
Reply
Sir-Pwnz-A-Lot
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E6750 Asus P5K-E w/ WiFi-AP GeForce 8600GT 2GB OCZ 800MHz 
Hard DriveOptical DriveOSMonitor
250GB Maxtor DiamondMax None Ubuntu Linux 7.10 Sylvania something like 16" 
KeyboardPowerCaseMouse
Generic USB Wireless KB Logisys 550W Acrylic Logisys UV Acrylic (See-Thru) Logitech Marble USB 
Mouse Pad
N/A 
  hide details  
Reply
post #2 of 2
you should check out perlmon. dangeroushobo made it a while back for pretty much the same reason
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming