403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/gkrelltop/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/gkrelltop/files/patch-gkrelltop.c
--- gkrelltop.c.orig
+++ gkrelltop.c
@@ -354,6 +354,7 @@
             if(pluginMode == cpu)
                 snprintf(tmp,sizeof(tmp), "%d: %4.1f%c  %6.2d  %.30s%c", 
                     i+1, best[i]->amount, '%', best[i]->pid, best[i]->name, ch);
+#if defined(LINUX)
             else if(pluginMode == mem)
                 snprintf(tmp,sizeof(tmp), "%d: %4.1f%c %6.2dMB %6.2d  %.30s%c", 
                     i+1, best[i]->amount, '%', best[i]->rss/MEG,
@@ -365,6 +366,7 @@
                     (float)(best[i]->io_read - best[i]->previous_io_read)/KIL,
                     (float)(best[i]->io_write - best[i]->previous_io_write)/KIL,
                     best[i]->pid, best[i]->name, ch);
+#endif
 
             strncat(g_tooltip_text,tmp,sizeof(g_tooltip_text)-strlen(g_tooltip_text));
         }

Youez - 2016 - github.com/yon3zu
LinuXploit