Sorry for the blunder, //this scanf("%d",p); // should be scanf("%d",&p);
FILE *fp; int p; printf('Enter pid: '); scanf("%d",p); char pid[MAX]=sprintf("ps -eo pid,pcpu,pmem | awk '{if ($1==%d) print...
ps -eo pid,pcpu,pmem | awk '{if ($1==<pid_here>) print "PID\tCPU\tMEM\n" $1 "\t" $2 "\t" $3}' #example ps -eo pid,pcpu,pmem | awk '{if...
The php.conf may or may not be present! Some admins usually put the directives relating to php in the httpd.conf itself! You can find php.ini in /etc/
So, where are you from clocking?
$data = preg_replace("/([^\d]+)\\n/", "$1 ", $data);
specify the format for each record (or each line)
http://tomcat.apache.org/faq/memory.html#adjust
Use fscanf, $handle = fopen("users.txt", "r"); while ($userinfo = fscanf($handle, "%s\t%s\t%s\n")) { list ($name, $profession,...
Set a system level proxy!
The best way to create sub-menus is using <UL> (unordered list)
http://ws.apache.org/wsif/wsif_samples/index.html
Programming errors are a fact of life, but pulling your hair out while tracking down these errors should not be. More robust development languages...
Kernel is quite a complex subject! What information are you looking for??
What information do you want to extract??
Objects in Java are referred using reference types, and there is no direct way to copy the contents of an object into a new object. The...
Thank you friend!
Recently, an obscure detail in the way PHP processes strings came to my attention. This is processed by code that checks for simple lists (like...
IFrame (from inline frame) is an HTML element which makes it possible to embed another HTML document inside the main document. The size of the...
It's a MS Office process, read more about it here http://www.liutilities.com/products/wintaskspro/processlibrary/ctfmon/
Separate names with a comma.