process.open_files() IndexError('list index out of range') process.connections() pconn(fd=6, family=, type=, laddr=addr(ip='169.254.169.1', port=8080), raddr=addr(ip='169.254.169.126', port=37103), status='ESTABLISHED') pconn(fd=4, family=, type=, laddr=addr(ip='0.0.0.0', port=8080), raddr=(), status='LISTEN') process.memory_info() pmem(rss=54865920, vms=242356224, 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='06:11:37') process.threads() pthread(id=2, user_time=4.52, system_time=1.04) pthread(id=4, user_time=0.04, system_time=0.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) 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=1022001152, percent=4.8, used=28459008, free=1022001152, active=40218624, inactive=11509760, buffers=0, cached=23281664, shared=266240, slab=0) list(psutil.process_iter()) psutil.Process(pid=1, name='sh', started='06:11:37') psutil.Process(pid=2, name='datasette', started='06:11:37')