ubuntu@primrose-med32compute001:~$ sudo fuser -v /var/lib/dpkg/lock
USER PID ACCESS COMMAND
/var/lib/dpkg/lock: root 3316 F.... dpkg
ubuntu@primrose-med32compute001:~$ ps auxww | egrep 'dpkg|apt'
root 3223 0.0 0.1 115388 63232 ? S 12:16 0:11 apt-get install -y python2.7 python-simplejson
root 3316 0.0 0.0 23592 4544 pts/1 Ss+ 12:16 0:00 /usr/bin/dpkg --status-fd 43 --configure --pending
root 3328 0.0 0.0 67640 18524 pts/1 S+ 12:17 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/libssl1.1:amd64.postinst configure 1.1.0g-2ubuntu4.1
root 3334 0.0 0.0 4628 1792 pts/1 S+ 12:17 0:00 /bin/sh /var/lib/dpkg/info/libssl1.1:amd64.postinst configure 1.1.0g-2ubuntu4.1
ubuntu 5371 0.0 0.0 17548 1084 pts/3 S+ 19:02 0:00 grep -E --color=auto dpkg|apt