Skip to content

Commit

Permalink
chmod +x pastebinit
Browse files Browse the repository at this point in the history
Fix cpu report
  • Loading branch information
eloaders committed Dec 30, 2012
1 parent e27f293 commit d63db69
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 73 deletions.
Empty file modified pastebinit
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ SearchComment=False
SearchString=True

[OpenFile]
Active=1
File[1]=".src/Finfosys.form"
File[2]=".src/Finfosys.class:322.46"
File[3]=".src/Global.class:11.61"
Expand All @@ -34,7 +33,8 @@ File[9]=".src/ScreenShot.class:12.65"
File[10]=".src/ScreenShotM.module:7.0"
File[11]=".src/USB_Drives.module:13.0"
File[12]=".src/Asound_Drives.module:33.27"
File[13]=".src/Reportm.module:38.10"
Active=13
File[13]=".src/Reportm.module:270.21"
File[14]=".src/FReport_Gen.form"
File[15]=".src/FReport_Gen.class:28.0"
File[16]=".src/Start_App_Args.form"
Expand Down
83 changes: 12 additions & 71 deletions src/i-nex/.src/Reportm.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,77 +5,18 @@ Public Sub _generate(cpu As Boolean, mobo As Boolean, graphic As Boolean, sound
Dim i As Float
Dim isnd As Float
If cpu = True Then
For i = 0 To Finfosys.ComboBox1.Count - 1
TextInfo("Generate information about Processor" & i)
Wait 0.1
PBV(0.1)
Shell "echo '======================CPU Tab " & Finfosys.ComboBox1.Text & "======================' >>" & save_dir & "" Wait
Wait 0.1
PBV(0.15)
Shell "echo 'Manufacture: " & Finfosys.TextBox28.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.2)
Shell "echo 'Model: " & Finfosys.TextBox29.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.25)
Shell "echo 'CPU Speed: " & Finfosys.TextBox30.Text & "' >>" & save_dir & ""
Wait 0.1
TextInfo("Generate information about Processor" & (i) & "...")
PBV(0.3)
Shell "echo '' >>" & save_dir & ""
Wait 0.1
PBV(0.35)
Shell "echo 'Family: " & Finfosys.TextBox4.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.4)
Shell "echo 'Model: " & Finfosys.TextBox3.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.45)
Shell "echo 'Stepping: " & Finfosys.TextBox2.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.5)
TextInfo("Generate information about Processor" & (i) & "... ...")
Shell "echo 'CPU Cores: " & Finfosys.TextBox1.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.55)
Shell "echo 'Physical Id: " & Finfosys.TextBox5.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.6)
Shell "echo 'Bogomips: " & Finfosys.TextBox6.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.65)
Shell "echo 'Flags: " & Finfosys.TextBox31.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.7)
Shell "echo 'Width: " & Finfosys.TextBox32.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.75)
TextInfo("Generate information about Processor" & (i) & "... ... ...")
Shell "echo '' >>" & save_dir & ""
Wait 0.1
PBV(0.8)
Shell "echo 'L1 Data: " & Finfosys.TextBox33.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.85)
Shell "echo 'L1 Instruction: " & Finfosys.TextBox34.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.87)
Shell "echo 'Level 2: " & Finfosys.TextBox35.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.9)
Shell "echo 'Level 3: " & Finfosys.TextBox36.Text & "' >>" & save_dir & ""
Wait 0.1
PBV(0.93)
Shell "echo '====================CPU Tab End " & Finfosys.ComboBox1.Text & "====================' >>" & save_dir & ""
Wait 0.1
PBV(0.97)
TextInfo("Generate information about Processor" & (i) & "... ... ... Done")
Shell "echo '' >>" & save_dir & ""
Wait 0.1
PBV(1)
Finfosys.ComboBox1.Text = "Processor" & (Finfosys.ComboBox1.Count - 1)
Next
Endif
TextInfo("Generate information about Processor")
PBV(0.3)
Wait 0.1
TextInfo("Generate information about Processor")
PBV(0.5)
Shell "cat /proc/cpuinfo >>" & save_dir & ""
TextInfo("Generate information about Processor")
PBV(0.7)
Wait 0.1
TextInfo("Generate information about Processor")
PBV(0.9)
Endif
If mobo = True Then
Shell "echo '======================Motherboard / Bios=====================' >>" & save_dir & ""
Wait 0.1
Expand Down

0 comments on commit d63db69

Please sign in to comment.