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=40829), status='ESTABLISHED') pconn(fd=4, family=, type=, laddr=addr(ip='0.0.0.0', port=8080), raddr=(), status='LISTEN') process.memory_info() pmem(rss=51388416, vms=242475008, 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='21:51:15') process.threads() pthread(id=2, user_time=15.67, system_time=1.32) pthread(id=4, user_time=0.18, system_time=0.02) 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=1023954944, percent=4.6, used=28717056, free=1023954944, active=39370752, inactive=10403840, buffers=0, cached=21069824, shared=266240, slab=0) list(psutil.process_iter()) psutil.Process(pid=1, name='sh', started='21:51:15') psutil.Process(pid=2, name='datasette', started='21:51:15')