Explorar o código

Add additional PID column heading

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2001 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon %!s(int64=17) %!d(string=hai) anos
pai
achega
62c4c7b9db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins-root/pst3.c

+ 1 - 1
plugins-root/pst3.c

@@ -99,7 +99,7 @@ int main (int argc, char **argv)
 	if ((pDir = opendir(PROC_DIR)) != NULL)
 	{
 		/* Display column headings */
-		printf("S   UID  PPID    VSZ    RSS %%CPU COMMAND ARGS\n");
+		printf("S   UID   PID  PPID    VSZ    RSS %%CPU COMMAND ARGS\n");
 
 		/* Zip through all of the process entries */
 		while ((pDent = readdir(pDir)) != NULL)