Cosmetic changes in GPU tab
This commit is contained in:
parent
ee0af95dfd
commit
97564bd566
69
Makefile
69
Makefile
|
@ -65,11 +65,11 @@ dependency_build ?= git \
|
|||
|
||||
make:
|
||||
@printf "\033[1;31mCompile edid-decode as inex-decode \033[0m$1\n"
|
||||
$(CC) -o inex-edid edid-decode.c $(CFLAGS) $(additional_confflags)
|
||||
$(CC) -o inex-cpuid cpu.c -static $(CC_OPTS_LIBCPUID) $(additional_confflags)
|
||||
$(CC) -o inex-usage free.c -static $(CC_OPTS_LIBPROCPS) $(additional_confflags)
|
||||
$(CC) -o inex-cpusage cpusage.c $(additional_confflags)
|
||||
$(CC) -o inex-glinfo glinfo.c -O2 $(libx11) $(libgl) $(libxext) $(additional_confflags)
|
||||
$(CC) -o i-nex-edid edid-decode.c $(CFLAGS) $(additional_confflags)
|
||||
$(CC) -o i-nex-cpuid cpu.c -static $(CC_OPTS_LIBCPUID) $(additional_confflags)
|
||||
$(CC) -o i-nex-usage free.c -static $(CC_OPTS_LIBPROCPS) $(additional_confflags)
|
||||
$(CC) -o i-nex-cpusage cpusage.c $(additional_confflags)
|
||||
$(CC) -o i-nex-glinfo glinfo.c -O2 $(libx11) $(libgl) $(libxext) $(additional_confflags)
|
||||
@printf "\033[1;31mCompile src/i-nex stage 1 \033[0m$1\n"
|
||||
$(GBC) $(GBCOPTS) src/i-nex
|
||||
@printf "\033[1;31mCompile src/i-nex stage 2 \033[0m$1\n"
|
||||
|
@ -93,19 +93,19 @@ self:
|
|||
mkdir -p inex/usr/share/i-nex/pastebinit/
|
||||
mkdir -p inex/usr/share/i-nex/pastebinit/pastebin.d/
|
||||
chmod +x i-nex
|
||||
chmod +x inex-edid
|
||||
chmod +x inex-cpuid
|
||||
chmod +x inex-usage
|
||||
chmod +x inex-cpusage
|
||||
chmod +x inex-glinfo
|
||||
chmod +x i-nex-edid
|
||||
chmod +x i-nex-cpuid
|
||||
chmod +x i-nex-usage
|
||||
chmod +x i-nex-cpusage
|
||||
chmod +x i-nex-glinfo
|
||||
chmod +x debian/check_kernel
|
||||
chmod +x debian/i-nex-lspci
|
||||
$(INSTALL) 0755 i-nex inex$(bindir)
|
||||
$(INSTALL) 0755 inex-edid inex$(bindir)
|
||||
$(INSTALL) 0755 inex-cpuid inex$(bindir)
|
||||
$(INSTALL) 0755 inex-usage inex$(bindir)
|
||||
$(INSTALL) 0755 inex-cpusage inex$(bindir)
|
||||
$(INSTALL) 0755 inex-glinfo inex$(bindir)
|
||||
$(INSTALL) 0755 i-nex-edid inex$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpuid inex$(bindir)
|
||||
$(INSTALL) 0755 i-nex-usage inex$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpusage inex$(bindir)
|
||||
$(INSTALL) 0755 i-nex-glinfo inex$(bindir)
|
||||
$(INSTALL) 0755 src/i-nex/i-nex.gambas inex$(bindir)
|
||||
$(INSTALL) 0755 pixmaps/pixmaps/i-nex.xpm inex/usr/share/pixmaps/
|
||||
$(INSTALL) 0755 debian/i-nex.desktop inex/usr/share/applications/
|
||||
|
@ -161,11 +161,11 @@ self:
|
|||
|
||||
clean:
|
||||
|
||||
$(RM_COM) $(RMFILE_OPT) inex-edid
|
||||
$(RM_COM) $(RMFILE_OPT) inex-cpuid
|
||||
$(RM_COM) $(RMFILE_OPT) inex-usage
|
||||
$(RM_COM) $(RMFILE_OPT) inex-cpusage
|
||||
$(RM_COM) $(RMFILE_OPT) inex-glinfo
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-edid
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-cpuid
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-usage
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-cpusage
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-glinfo
|
||||
$(RM_COM) $(RMDIR_OPT) `find . -name ".gambas"`
|
||||
$(RM_COM) $(RMDIR_OPT) `find . -name "*.gambas"`
|
||||
$(RM_COM) $(RMDIR_OPT) `find . -name ".directory"`
|
||||
|
@ -195,18 +195,19 @@ install:
|
|||
mkdir -p $(DESTDIR)/usr/share/i-nex/pastebinit/
|
||||
mkdir -p $(DESTDIR)/usr/share/i-nex/pastebinit/pastebin.d/
|
||||
chmod +x i-nex
|
||||
chmod +x inex-edid
|
||||
chmod +x inex-cpuid
|
||||
chmod +x inex-usage
|
||||
chmod +x inex-cpusage
|
||||
chmod +x inex-glinfo
|
||||
chmod +x i-nex-edid
|
||||
chmod +x i-nex-cpuid
|
||||
chmod +x i-nex-usage
|
||||
chmod +x i-nex-cpusage
|
||||
chmod +x i-nex-glinfo
|
||||
chmod +x debian/check_kernel
|
||||
chmod +x debian/i-nex-lspci
|
||||
$(INSTALL) 0755 i-nex $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 inex-edid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 inex-cpuid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 inex-usage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 inex-cpusage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-edid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpuid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-usage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpusage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-glinfo $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 src/i-nex/i-nex.gambas $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 debian/i-nex.desktop $(DESTDIR)/usr/share/applications/
|
||||
$(INSTALL) 0755 debian/check_kernel $(DESTDIR)/usr/bin/
|
||||
|
@ -224,11 +225,11 @@ install:
|
|||
uninstall:
|
||||
|
||||
rm $(DESTDIR)$(bindir)/i-nex
|
||||
rm $(DESTDIR)$(bindir)/inex-edid
|
||||
rm $(DESTDIR)$(bindir)/inex-cpuid
|
||||
rm $(DESTDIR)$(bindir)/inex-usage
|
||||
rm $(DESTDIR)$(bindir)/inex-cpusage
|
||||
rm $(DESTDIR)$(bindir)/inex-glinfo
|
||||
rm $(DESTDIR)$(bindir)/i-nex-edid
|
||||
rm $(DESTDIR)$(bindir)/i-nex-cpuid
|
||||
rm $(DESTDIR)$(bindir)/i-nex-usage
|
||||
rm $(DESTDIR)$(bindir)/i-nex-cpusage
|
||||
rm $(DESTDIR)$(bindir)/i-nex-glinfo
|
||||
rm $(DESTDIR)$(bindir)/i-nex.gambas
|
||||
rm $(DESTDIR)/usr/share/pixmaps/i-nex.xpm
|
||||
rm $(DESTDIR)/usr/share/applications/i-nex.desktop
|
||||
|
|
|
@ -7,5 +7,4 @@ pastebinit usr/share/i-nex/pastebinit
|
|||
pastebinit.xml usr/share/i-nex/pastebinit
|
||||
README usr/share/i-nex/pastebinit
|
||||
release.conf usr/share/i-nex/pastebinit
|
||||
inex-edid usr/bin
|
||||
i-nex usr/bin
|
|
@ -1,8 +1,8 @@
|
|||
debian/manpages/check_kernel.1
|
||||
debian/manpages/i-nex-lspci.1
|
||||
debian/manpages/i-nex.1
|
||||
debian/manpages/i-nex-cpuid.1
|
||||
debian/manpages/i-nex-cpusage.1
|
||||
debian/manpages/i-nex-edid.1
|
||||
debian/manpages/i-nex.gambas.1
|
||||
debian/manpages/inex-edid.1
|
||||
debian/manpages/inex-cpuid.1
|
||||
debian/manpages/inex-cpusage.1
|
||||
|
||||
debian/manpages/i-nex-lspci.1
|
||||
debian/manpages/i-nex-usage.1
|
|
@ -1,5 +1,4 @@
|
|||
activate /usr/share/menu
|
||||
activate /usr/share/applications
|
||||
activate /usr/share/man
|
||||
activate /usr/share/mime/packages
|
||||
activate /usr/share/icons/hicolor
|
||||
activate /usr/share/menu
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.TH inex\-cpuid "1"
|
||||
.TH i\-nex\-cpuid "1"
|
||||
.SH NAME
|
||||
\fBinex\-cpuid\fP \- Print CPU Info from CPUID Instruction and show in JSON Format.
|
||||
.SH SYNOPSIS
|
||||
usage: \- inex\-cpuid
|
||||
usage: \- i\-nex\-cpuid
|
|
@ -1,5 +1,5 @@
|
|||
.TH inex\-cpusage "1"
|
||||
.TH i\-nex\-cpusage "1"
|
||||
.SH NAME
|
||||
\fBinex\-cpusage\fP \- Print CPU Usage per second.
|
||||
.SH SYNOPSIS
|
||||
usage: \- inex\-cpusage
|
||||
usage: \- i\-nex\-cpusage
|
|
@ -1,5 +1,5 @@
|
|||
.TH inex\-edid "1"
|
||||
.TH i\-nex\-edid "1"
|
||||
.SH NAME
|
||||
\fBinex\-edid\fP \- Decodes to text the binary EDID information from monitors.
|
||||
.SH SYNOPSIS
|
||||
usage: \- inex\-edid /sys/devices/.../drm/card*/card*/edid
|
||||
usage: \- i\-nex\-edid /sys/devices/.../drm/card*/card*/edid
|
|
@ -1,5 +1,5 @@
|
|||
.TH inex\-usage "1"
|
||||
.TH i\-nex\-usage "1"
|
||||
.SH NAME
|
||||
\fBinex\-usage\fP \- Print Total Ram, Used ram, Total Swap, Used Swap, Number of processes.
|
||||
.SH SYNOPSIS
|
||||
usage: \- inex\-usage
|
||||
usage: \- i\-nex\-usage
|
|
@ -10,7 +10,7 @@ override_dh_installman:
|
|||
dh_installman debian/manpages/i-nex-lspci.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex.gambas.1 -p i-nex
|
||||
dh_installman debian/manpages/inex-edid.1 -p i-nex
|
||||
dh_installman debian/manpages/inex-cpuid.1 -p i-nex
|
||||
dh_installman debian/manpages/inex-usage.1 -p i-nex
|
||||
dh_installman debian/manpages/inex-cpusage.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-edid.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-cpuid.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-usage.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-cpusage.1 -p i-nex
|
19
glinfo.c
19
glinfo.c
|
@ -26,6 +26,13 @@ int main()
|
|||
|
||||
GLXFBConfig *fbConfigs;
|
||||
int numReturned;
|
||||
int glxVersionMajor;
|
||||
int glxVersionMinor;
|
||||
const char *serverVendor = glXQueryServerString(dpy, 0, GLX_VENDOR);
|
||||
const char *serverVersion = glXQueryServerString(dpy, 0, GLX_VERSION);
|
||||
const char *clientVendor = glXGetClientString(dpy, GLX_VENDOR);
|
||||
const char *clientVersion = glXGetClientString(dpy, GLX_VERSION);
|
||||
|
||||
fbConfigs = glXChooseFBConfig(dpy, DefaultScreen(dpy), attribs, &numReturned );
|
||||
|
||||
XVisualInfo *vInfo = glXGetVisualFromFBConfig(dpy, fbConfigs[0]);
|
||||
|
@ -40,7 +47,17 @@ int main()
|
|||
printf("{\n");
|
||||
printf(" \"GL_VENDOR\": \"%s\",\n", glGetString(GL_VENDOR));
|
||||
printf(" \"GL_RENDERER\": \"%s\",\n", glGetString(GL_RENDERER));
|
||||
printf(" \"GL_VERSION\": \"%s\"\n", glGetString(GL_VERSION));
|
||||
printf(" \"GL_VERSION\": \"%s\",\n", glGetString(GL_VERSION));
|
||||
printf(" \"SERVER_GLX_VENDOR\": \"%s\",\n", serverVendor);
|
||||
printf(" \"SERVER_GLX_VERSION\": \"%s\",\n", serverVersion);
|
||||
printf(" \"CLIENT_GLX_VENDOR\": \"%s\",\n", clientVendor);
|
||||
printf(" \"CLIENT_GLX_VERSION\": \"%s\",\n", clientVersion);
|
||||
if (! glXQueryVersion( dpy, & glxVersionMajor, & glxVersionMinor )) {
|
||||
fprintf(stderr, "Error: glXQueryVersion failed\n");
|
||||
exit(1);
|
||||
} else {
|
||||
printf(" \"GLX_VERSION\": \"%u.%u\"\n", glxVersionMajor, glxVersionMinor);
|
||||
}
|
||||
printf("}\n");
|
||||
exit( EXIT_SUCCESS );
|
||||
}
|
|
@ -8,11 +8,11 @@ bindir="/usr/bin/"
|
|||
mkdir -p /usr/share/i-nex/pastebinit/
|
||||
mkdir -p /usr/share/i-nex/pastebinit/pastebin.d/
|
||||
install -m 0755 usr/bin/i-nex $bindir
|
||||
install -m 0755 usr/bin/inex-edid $bindir
|
||||
install -m 0755 usr/bin/inex-cpuid $bindir
|
||||
install -m 0755 usr/bin/inex-usage $bindir
|
||||
install -m 0755 usr/bin/inex-cpusage $bindir
|
||||
install -m 0755 usr/bin/inex-glinfo $bindir
|
||||
install -m 0755 usr/bin/i-nex-edid $bindir
|
||||
install -m 0755 usr/bin/i-nex-cpuid $bindir
|
||||
install -m 0755 usr/bin/i-nex-usage $bindir
|
||||
install -m 0755 usr/bin/i-nex-cpusage $bindir
|
||||
install -m 0755 usr/bin/i-nex-glinfo $bindir
|
||||
install -m 0755 usr/bin/i-nex.gambas $bindir
|
||||
install -m 0755 usr/share/pixmaps/i-nex.xpm /usr/share/pixmaps/
|
||||
install -m 0755 usr/share/applications/i-nex.desktop /usr/share/applications/
|
||||
|
|
|
@ -25,7 +25,7 @@ SearchString=True
|
|||
|
||||
[OpenFile]
|
||||
File[1]=".src/Finfosys.form"
|
||||
File[2]=".src/Global.class:199.7"
|
||||
File[2]=".src/Global.class:194.72"
|
||||
File[3]=".src/About.form"
|
||||
File[4]=".src/About.class:19.0"
|
||||
File[5]=".src/battery.module:136.82"
|
||||
|
@ -49,12 +49,12 @@ File[22]="Data/report-ng.sh:5.3"
|
|||
File[23]=".src/Distribution_Detect.module:13.1"
|
||||
File[24]=".src/FFlags.module:2.19"
|
||||
Active=25
|
||||
File[25]=".src/Finfosys.class:448.34"
|
||||
File[25]=".src/Finfosys.class:441.40"
|
||||
File[26]=".src/FDF.form"
|
||||
File[27]=".src/FDF.class:26.6"
|
||||
File[28]=".src/FNET_R_T.form"
|
||||
File[29]=".src/FNET_R_T.class:75.2"
|
||||
File[30]=".src/FGraphic.module:2.19"
|
||||
File[30]=".src/FGraphic.module:50.21"
|
||||
File[31]="logo/fb.png"
|
||||
File[32]=".src/FCPU.module:2.19"
|
||||
File[33]=".src/FUdisks.form"
|
||||
|
@ -80,7 +80,7 @@ File[52]=".src/Reports/MDRIVES_REPORT.module:12.40"
|
|||
File[53]=".src/FInputDate.form"
|
||||
File[54]=".src/MInit.module:25.23"
|
||||
File[55]=".src/FEDID.form"
|
||||
File[56]=".src/FEDID.class:83.25"
|
||||
File[56]=".src/FEDID.class:23.9"
|
||||
File[57]=".src/Logger.class:2.19"
|
||||
File[58]=".src/Formatter.module:2.19"
|
||||
File[59]=".src/FDirDialog.class:2.19"
|
||||
|
@ -89,7 +89,7 @@ File[61]=".src/FInputDate.class:2.19"
|
|||
File[62]=".src/FDIMM.form"
|
||||
File[63]=".src/FDIMM.class:72.16"
|
||||
File[64]=".src/Reports/FCPUID_REPORT.module:2.0"
|
||||
File[65]=".src/MCPUSAGE.module:9.18"
|
||||
File[65]=".src/MCPUSAGE.module:20.31"
|
||||
Count=65
|
||||
|
||||
[Watches]
|
||||
|
|
|
@ -32,7 +32,7 @@ Public Sub Form_Open()
|
|||
|
||||
Logs("Execute edid", Logger.Info)
|
||||
|
||||
data = Shell "xrandr --verbose | inex-edid" For Input
|
||||
data = Shell "xrandr --verbose | i-nex-edid" For Input
|
||||
|
||||
While Not Eof(data)
|
||||
Line Input #data, sLine
|
||||
|
|
|
@ -41,14 +41,14 @@ Public Sub _check()
|
|||
Try status = File.Load("/sys/class/drm/" & Finfosys.ComboBox8.Text & "/status")
|
||||
Try enabled = File.Load("/sys/class/drm/" & Finfosys.ComboBox8.Text & "/enabled")
|
||||
Try dpms = File.Load("/sys/class/drm/" & Finfosys.ComboBox8.Text & "/dpms")
|
||||
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'ASCII string' | cut -d ':' -f 2" Wait To monitor_name
|
||||
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'voltage level'" Wait To voltage_level
|
||||
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Manufacturer:' | cut -d ':' -f 2" Wait To manufacturer
|
||||
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Serial number:' | cut -d ':' -f 2" Wait To serial_number
|
||||
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Gamma:' | cut -d ':' -f 2" Wait To Gamma
|
||||
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Maximum image size:' | cut -d ':' -f 2" Wait To Maximum_image_size
|
||||
Shell "/usr/bin/i-nex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'ASCII string' | cut -d ':' -f 2" Wait To monitor_name
|
||||
Shell "/usr/bin/i-nex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'voltage level'" Wait To voltage_level
|
||||
Shell "/usr/bin/i-nex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Manufacturer:' | cut -d ':' -f 2" Wait To manufacturer
|
||||
Shell "/usr/bin/i-nex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Serial number:' | cut -d ':' -f 2" Wait To serial_number
|
||||
Shell "/usr/bin/i-nex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Gamma:' | cut -d ':' -f 2" Wait To Gamma
|
||||
Shell "/usr/bin/i-nex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Maximum image size:' | cut -d ':' -f 2" Wait To Maximum_image_size
|
||||
If IsNull(monitor_name) Then
|
||||
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Monitor name:' | cut -d ':' -f 2" Wait To monitor_name
|
||||
Shell "/usr/bin/i-nex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Monitor name:' | cut -d ':' -f 2" Wait To monitor_name
|
||||
Endif
|
||||
Endif
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ Public Sub Form_Open()
|
|||
Endif
|
||||
|
||||
Logs("Check whereis inex-cpuid and get JSON Data", Logger.Info)
|
||||
Exec [ChkPrm.ChkExecDir("inex-cpuid")] Wait To BUFFER
|
||||
Exec [ChkPrm.ChkExecDir("i-nex-cpuid")] Wait To BUFFER
|
||||
Logs("Decode JSON Data", Logger.Info)
|
||||
DATAT = JSON.Decode(BUFFER)
|
||||
Logs("Add Values CPUID", Logger.Info)
|
||||
|
@ -435,13 +435,23 @@ Public Sub grafika()
|
|||
Label105.Text = "OpenGL Vendor: " & Replace(opengl_vendor_string, "\n", "")
|
||||
Label106.Text = "OpenGL Renderer: " & Replace(opengl_renderer_string, "\n", "")
|
||||
Label107.Text = "OpenGL Version: " & Replace(opengl_version_string, "\n", "")
|
||||
Try Label220.Text = "Server glx vendor: "
|
||||
Try Label221.Text = "Server glx version: "
|
||||
Try Label222.Text = "Client glx vendor: "
|
||||
Try Label224.Text = "Client glx version: "
|
||||
Try Label225.Text = "GLX version: "
|
||||
|
||||
Else
|
||||
Try Exec ["/usr/bin/inex-glinfo"] Wait To opengl_vendor_string
|
||||
Try Exec ["/usr/bin/i-nex-glinfo"] Wait To opengl_vendor_string
|
||||
Try GLX_GFX = JSON.Decode(opengl_vendor_string)
|
||||
Try Label105.Text = "OpenGL Vendor: " & GLX_GFX["GL_VENDOR"]
|
||||
Try Label106.Text = "OpenGL Renderer: " & GLX_GFX["GL_RENDERER"]
|
||||
Try Label107.Text = "OpenGL Version: " & GLX_GFX["GL_VERSION"]
|
||||
Try Label220.Text = "Server glx vendor: " & GLX_GFX["SERVER_GLX_VENDOR"]
|
||||
Try Label221.Text = "Server glx version: " & GLX_GFX["SERVER_GLX_VERSION"]
|
||||
Try Label222.Text = "Client glx vendor: " & GLX_GFX["CLIENT_GLX_VENDOR"]
|
||||
Try Label224.Text = "Client glx version: " & GLX_GFX["CLIENT_GLX_VERSION"]
|
||||
Try Label225.Text = "GLX version: " & GLX_GFX["GLX_VERSION"]
|
||||
Endif
|
||||
|
||||
Shell "" & ChkPrm.ChkExecDir("lspci") & " -v -s `lspci | awk '/VGA/{print $1}'` | grep 'Kernel driver in use:' | cut -d ':' -f 2" Wait To Kernel_driver_in_use
|
||||
|
@ -591,7 +601,7 @@ Public Sub dospam_uptime()
|
|||
Dim USAGE_BUFFER As String
|
||||
Dim USAGE As Collection
|
||||
Shell "users | tr ' ' '\n' | wc -l" Wait To Users
|
||||
Exec [ChkPrm.ChkExecDir("inex-usage")] Wait To USAGE_BUFFER
|
||||
Exec [ChkPrm.ChkExecDir("i-nex-usage")] Wait To USAGE_BUFFER
|
||||
USAGE = JSON.Decode(USAGE_BUFFER)
|
||||
|
||||
Label85.Text = "Total: " &
|
||||
|
|
|
@ -618,129 +618,61 @@
|
|||
Text = "GPU"
|
||||
Picture = Picture["AppIcons/Finfosys/xorg.png"]
|
||||
{ PictureBox1 PictureBox
|
||||
Move(350,7,112,112)
|
||||
Move(350,63,112,112)
|
||||
Stretch = True
|
||||
}
|
||||
{ Label105 Label
|
||||
Move(7,224,455,21)
|
||||
Move(7,56,329,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label107 Label
|
||||
Move(7,266,455,21)
|
||||
Move(7,98,329,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label108 Label
|
||||
Move(7,350,455,21)
|
||||
Move(7,259,455,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label106 Label
|
||||
Move(7,245,455,21)
|
||||
Move(7,77,329,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label109 Label
|
||||
Move(7,371,455,21)
|
||||
Move(7,280,455,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Alignment = Align.Center
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ TextBox1 TextBox
|
||||
Move(7,196,455,28)
|
||||
Move(7,7,455,28)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Text = "TextBox1"
|
||||
Alignment = Align.Left
|
||||
Border = False
|
||||
}
|
||||
{ Label65 Label
|
||||
Move(7,7,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label65"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label66 Label
|
||||
Move(7,28,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label66"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label67 Label
|
||||
Move(7,49,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label67"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label100 Label
|
||||
Move(7,91,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label100"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label101 Label
|
||||
Move(7,112,329,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label101"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label102 Label
|
||||
Move(7,133,455,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label102"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label154 Label
|
||||
Move(7,154,455,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label154")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label155 Label
|
||||
Move(7,70,168,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label155")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label156 Label
|
||||
Move(7,175,455,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label156")
|
||||
Border = Border.Raised
|
||||
ReadOnly = True
|
||||
}
|
||||
{ Label136 Label
|
||||
Move(7,287,455,21)
|
||||
Move(7,196,455,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label136")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label64 Label
|
||||
Move(7,308,455,21)
|
||||
Move(7,217,455,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
|
@ -748,7 +680,7 @@
|
|||
Border = Border.Raised
|
||||
}
|
||||
{ Label146 Label
|
||||
Move(7,329,455,21)
|
||||
Move(7,238,455,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
|
@ -756,7 +688,134 @@
|
|||
Border = Border.Raised
|
||||
}
|
||||
{ Separator10 Separator
|
||||
Move(336,0,14,133)
|
||||
Move(336,42,14,147)
|
||||
}
|
||||
{ Label220 Label
|
||||
Move(7,161,161,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label220")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label221 Label
|
||||
Move(7,140,161,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label221")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label222 Label
|
||||
Move(7,119,329,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label222")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label224 Label
|
||||
Move(168,140,168,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label224")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label225 Label
|
||||
Move(168,161,168,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label225")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Separator13 Separator
|
||||
Move(0,301,469,21)
|
||||
}
|
||||
{ Label156 Label
|
||||
Move(175,385,287,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label156")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label154 Label
|
||||
Move(175,364,287,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label154")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label102 Label
|
||||
Move(175,343,287,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label102"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label101 Label
|
||||
Move(7,322,455,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label101"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label100 Label
|
||||
Move(7,385,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label100"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label155 Label
|
||||
Move(7,427,168,21)
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = ("Label155")
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label67 Label
|
||||
Move(7,364,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label67"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label66 Label
|
||||
Move(7,406,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label66"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Label65 Label
|
||||
Move(7,343,168,21)
|
||||
#Translate = False
|
||||
Font = Font["Bold,8"]
|
||||
Padding = 3
|
||||
Text = "Label65"
|
||||
Border = Border.Raised
|
||||
}
|
||||
{ Separator14 Separator
|
||||
Move(0,182,469,14)
|
||||
}
|
||||
{ Separator15 Separator
|
||||
Move(0,35,469,21)
|
||||
}
|
||||
{ Label226 Label
|
||||
Move(196,301,70,21)
|
||||
#Translate = False
|
||||
Text = "EDID"
|
||||
Alignment = Align.Center
|
||||
Transparent = True
|
||||
}
|
||||
{ Label227 Label
|
||||
Move(196,35,77,21)
|
||||
Font = Font["Bold,8"]
|
||||
Text = ("GPU")
|
||||
Alignment = Align.Center
|
||||
Transparent = True
|
||||
}
|
||||
Index = 2
|
||||
Text = "Mobo"
|
||||
|
|
|
@ -18,7 +18,7 @@ Public CPUusage As Process
|
|||
Private CPUusageOutput As String
|
||||
Public Sub GetUSAGE()
|
||||
|
||||
CPUusage = Exec ["/usr/bin/inex-cpusage"] For Input Output As "CPUusage"
|
||||
CPUusage = Exec ["/usr/bin/i-nex-cpusage"] For Input Output As "CPUusage"
|
||||
|
||||
End
|
||||
|
||||
|
|
Loading…
Reference in New Issue