Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › PerlMon - CPU-z like program for linux
New Posts  All Forums:Forum Nav:

PerlMon - CPU-z like program for linux - Page 4

post #31 of 376
Wow, I'm really impressed. Good work.
New Rig 2/14/08
(13 items)
 
  
CPUMotherboardGraphicsRAM
e6400 GIGABYTE GA-P35-DS3L Radeon HD3850 512mb 2x1gig G.Skill 6400 
Hard DriveMonitorPower
WD 160gig Acer 22" Ws Sunbeam 550w 
  hide details  
Reply
New Rig 2/14/08
(13 items)
 
  
CPUMotherboardGraphicsRAM
e6400 GIGABYTE GA-P35-DS3L Radeon HD3850 512mb 2x1gig G.Skill 6400 
Hard DriveMonitorPower
WD 160gig Acer 22" Ws Sunbeam 550w 
  hide details  
Reply
post #32 of 376
This is exactly what I tried, the no gui mode (text).
perl perlmon -nogui
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.

None of it works:
perl perlmon -v
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.

perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi
post #33 of 376
Quote:
Originally Posted by stealthman4 View Post
This is exactly what I tried, the no gui mode (text).
perl perlmon -nogui
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.

None of it works:
perl perlmon -v
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.

perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi
are you trying to run it as root? if you are don't
    
CPUMotherboardGraphicsRAM
i5 3570K P8Z77-M XFX 7870 1150/1400 2 x 4g Corsair Vengeance LP 1600MHz 
Hard DriveOptical DriveOSMonitor
Callisto Deluxe 40GB & 1TB Sammy Spinpoint F1 &... Nec ND3540A W7 RTM ACER V243HLbmd 
KeyboardPowerCaseMouse
Microsoft Curve 2000 PC P&C Silencer 750w Antec 300 MX518 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i5 3570K P8Z77-M XFX 7870 1150/1400 2 x 4g Corsair Vengeance LP 1600MHz 
Hard DriveOptical DriveOSMonitor
Callisto Deluxe 40GB & 1TB Sammy Spinpoint F1 &... Nec ND3540A W7 RTM ACER V243HLbmd 
KeyboardPowerCaseMouse
Microsoft Curve 2000 PC P&C Silencer 750w Antec 300 MX518 
  hide details  
Reply
post #34 of 376
Thread Starter 
Quote:
Originally Posted by stealthman4
This is exactly what I tried, the no gui mode (text).
perl perlmon -nogui
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.

None of it works:
perl perlmon -v
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.

perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi
What version of PerlMon did you download though, 0.1.0 or 0.1.1.
If you don't remember, you can open the file "perlmon" and after the license info theres some lines that say use this, use that, and right after that theres a variable that holds the version number.

It looks like Gtk2-Perl isn't installed. There was a bug in version 0.1.0 and 0.1.0-2 where even if you ran it in text mode (where no GTK2 code is required) it would fail and not run if Gtk2 or Gtk2-perl was not installed.

In version 0.1.1, this should be fixed. I tested it on a system without Gtk2-Perl installed, and text mode will now work, it just throws out a warning that Gtk2.pm could not be found at the top of all the program output.
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #35 of 376
I'm still getting

Code:
Can't locate ./settings/Settings.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at HD.pm line 24.
Compilation failed in require at perlmon line 30.
BEGIN failed--compilation aborted at perlmon line 30.
with 1.1.1

ubuntu 32bit

:\\
post #36 of 376
My appologies about the screenshot window Maybe I'll take another soon, but you get the idea.

Program works great with my distro.

post #37 of 376
I finally got it to work...

LL
PRONE
(19 items)
 
Cap't Crunch
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 3930k @ 5Ghz Msi X79A-GD45 Gigabyte Radeon 7950 Patriot Sector 7 
Hard DriveOptical DriveCoolingCooling
2xCorsair Force Series 3 Raid-0 LG DVDR/W Custom Water Loop Swiftech Apogee Drive II waterblock/pump 
CoolingCoolingOSMonitor
Swiftech MCRES-Micro Rev 2 Larkooler 240mm Rad server 2008 RC2 HP 2207HD 
KeyboardPowerCaseMouse
HP Classic wireless PC Power and Cooling Silencer Mk II 950W High P... NZXT Phantom...again lol HP Classic wireless 
Mouse PadAudioOther
MicroCenter Onboard TBA 
CPUMotherboardGraphicsRAM
2500k Maximus V Extreme Radeon 6950HD Avexir 
Hard DriveOptical DriveCoolingOS
Corsair Force 3 LG DVD RW Corsair H100i WIndowd 8.1 
MonitorKeyboardPowerCase
HP 2159M Logitech CX750M Cosair Carbide 540AIR 
MouseMouse Pad
logitech logitech 
  hide details  
Reply
PRONE
(19 items)
 
Cap't Crunch
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 3930k @ 5Ghz Msi X79A-GD45 Gigabyte Radeon 7950 Patriot Sector 7 
Hard DriveOptical DriveCoolingCooling
2xCorsair Force Series 3 Raid-0 LG DVDR/W Custom Water Loop Swiftech Apogee Drive II waterblock/pump 
CoolingCoolingOSMonitor
Swiftech MCRES-Micro Rev 2 Larkooler 240mm Rad server 2008 RC2 HP 2207HD 
KeyboardPowerCaseMouse
HP Classic wireless PC Power and Cooling Silencer Mk II 950W High P... NZXT Phantom...again lol HP Classic wireless 
Mouse PadAudioOther
MicroCenter Onboard TBA 
CPUMotherboardGraphicsRAM
2500k Maximus V Extreme Radeon 6950HD Avexir 
Hard DriveOptical DriveCoolingOS
Corsair Force 3 LG DVD RW Corsair H100i WIndowd 8.1 
MonitorKeyboardPowerCase
HP 2159M Logitech CX750M Cosair Carbide 540AIR 
MouseMouse Pad
logitech logitech 
  hide details  
Reply
post #38 of 376
It's version 0.1.1
[mythtv@mythtv ~]$ cd PerlMon-0.1.1
[mythtv@mythtv PerlMon-0.1.1]$ ls
CHANGELOG GPU.pm images Monitor.pm readme WMDE.pm
CPU.pm gui-mode.pl license OS.pm settings
Distro.pm HD.pm Memory.pm perlmon text-mode.pl
[mythtv@mythtv PerlMon-0.1.1]$ perl perlmon -nogui
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.
[mythtv@mythtv PerlMon-0.1.1]$
post #39 of 376
Quote:
Originally Posted by stealthman4 View Post
It's version 0.1.1
[mythtv@mythtv ~]$ cd PerlMon-0.1.1
[mythtv@mythtv PerlMon-0.1.1]$ ls
CHANGELOG GPU.pm images Monitor.pm readme WMDE.pm
CPU.pm gui-mode.pl license OS.pm settings
Distro.pm HD.pm Memory.pm perlmon text-mode.pl
[mythtv@mythtv PerlMon-0.1.1]$ perl perlmon -nogui
Gtk-WARNING **: cannot open display: at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Gtk2.pm line 63.
[mythtv@mythtv PerlMon-0.1.1]$
Are you sure that you have GTK2?
On my distro you also need gtk2-perl, but then you would get another error. But atleast see if you have these installed.
post #40 of 376
This is what is shows....
[mythtv@mythtv PerlMon-0.1.1]$ yum list gtk2
Loading "installonlyn" plugin
Loading "kmdl" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
gtk2.i386 2.10.13-1.fc6 installed
[mythtv@mythtv PerlMon-0.1.1]$

[mythtv@mythtv PerlMon-0.1.1]$ yum list perl-Gtk2
Loading "installonlyn" plugin
Loading "kmdl" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
perl-Gtk2.i386 1.144-1.fc6 installed
[mythtv@mythtv PerlMon-0.1.1]$

**************
perhaps I need one of these extras?
[mythtv@mythtv PerlMon-0.1.1]$ yum list perl-Gtk2*
Loading "installonlyn" plugin
Loading "kmdl" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
perl-Gtk2.i386 1.144-1.fc6 installed
Available Packages
perl-Gtk2-Ex-CalendarButton.noarch 0.01-4.fc6 extras
perl-Gtk2-Ex-Carp.noarch 0.01-3.fc6 extras
perl-Gtk2-Ex-Dialogs.noarch 0.11-2.fc6 extras
perl-Gtk2-Ex-PodViewer.noarch 0.17-2.fc6 extras
perl-Gtk2-Ex-Simple-List.noarch 0.50-2.fc6 extras
perl-Gtk2-Ex-Utils.noarch 0.09-2.fc6 extras
perl-Gtk2-GladeXML.i386 1.006-1.fc6 extras
perl-Gtk2-Notify.i386 0.03-1.fc6 extras
perl-Gtk2-Sexy.i386 0.02-5.fc6 extras
perl-Gtk2-Spell.i386 1.03-5.fc6 extras
perl-Gtk2-TrayIcon.i386 0.06-1.fc6 extras
[mythtv@mythtv PerlMon-0.1.1]$
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › PerlMon - CPU-z like program for linux