process.open_files() IndexError('list index out of range') process.connections() pconn(fd=6, family=, type=, laddr=addr(ip='192.168.1.1', port=8080), raddr=addr(ip='169.254.1.1', port=52170), status='ESTABLISHED') pconn(fd=4, family=, type=, laddr=addr(ip='0.0.0.0', port=8080), raddr=(), status='LISTEN') process.memory_info() pmem(rss=60743680, vms=395116544, shared=0, text=0, lib=0, data=0, dirty=0) process.cmdline() '/usr/local/bin/python' '/usr/local/bin/datasette' 'serve' '--host' '0.0.0.0' '-i' 'fixtures.db' '--cors' '--inspect-file' 'inspect-data.json' '--metadata' 'metadata.json' '--port' '8080' process.parents() psutil.Process(pid=1, name='sh', started='22:26:52') process.threads() pthread(id=10, user_time=4.35, system_time=0.66) pthread(id=2, user_time=320.65, system_time=30.35) pthread(id=4, user_time=14.61, system_time=3.0) pthread(id=5, user_time=0.0, system_time=0.0) pthread(id=6, user_time=0.0, system_time=0.0) pthread(id=7, user_time=0.0, system_time=0.0) pthread(id=8, user_time=0.0, system_time=0.0) pthread(id=9, user_time=0.01, system_time=0.01) psutil.getloadavg() (0.0, 0.0, 0.0) psutil.cpu_times(True) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) psutil.virtual_memory() svmem(total=1073741824, available=1020362752, percent=5.0, used=32124928, free=1020362752, active=42872832, inactive=10493952, buffers=0, cached=21254144, shared=266240, slab=0) list(psutil.process_iter()) psutil.Process(pid=1, name='sh', started='22:26:52') psutil.Process(pid=2, name='datasette', started='22:26:52')