Tag Info

Hot answers tagged


Since you can see SQL Server running in process explorer, try right-clicking on the line referring to it, choosing properties, and choosing the image tab. The Parent may provide you with some insight as to what is starting the process.


You can use the command: pmap -S <pid> to see all the memory statistics, including swap usage. With little shell magic you can wrap it in a bash loop: cd /proc for i in *; do SWAP=`pmap -S $i | grep ^total | awk '{ print $3; }'` [ "xx$SWAP" != "xx" ] && echo "$SWAP bytes $i" done | sort -n Output is in bytes, in a format: ...


For Ubuntu, I think Upstart is what you are looking for. http://askubuntu.com/questions/19320/how-to-enable-or-disable-services This AskUbuntu question has excellent info on getting started with what you are doing. In a nutshell, copy the following to /etc/init/mybinary.conf. description "My Binary" author "Jakub Arnold ...


Basically: No, not the information you're after, not on already running PHP processes. You might get something of use by running strace on one of the running processes (strace -p ), but only in as much as you'll see what system calls it's making, which might allow you to infer further information. But if it's stuck in a PHP-code loop (not making syscalls), ...


Use tools like strace, ltrace to see what a particular hanged script process is doing. Also lsof if it's stuck doing something on a fd (like a blocking select).

Only top voted, non community-wiki answers of a minimum length are eligible