$ ps -efly | egrep '(dpkg|apt)'
S root 6295 6217 0 80 0 3956 13939 - 22:36 pts/0 00:00:00 sudo apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring
S root 6296 6295 0 80 0 51600 21868 - 22:36 pts/0 00:00:00 apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring
S root 6301 6296 0 80 0 860 1127 - 22:36 pts/0 00:00:00 /bin/sh -c /usr/sbin/dpkg-preconfigure --apt || true
S root 6302 6301 0 80 0 17356 15352 - 22:36 pts/0 00:00:00 /usr/bin/perl -w /usr/sbin/dpkg-preconfigure --apt
Z root 6308 6302 0 80 0 0 0 - 22:36 pts/0 00:00:00 [dpkg-preconfigu] <defunct>
S ubuntu 6599 6559 0 80 0 972 3236 pipe_w 23:05 pts/1 00:00:00 grep -E --color=auto (dpkg|apt)