process.open_files() IndexError('list index out of range') process.connections() pconn(fd=4, family=, type=, laddr=addr(ip='0.0.0.0', port=8080), raddr=(), status='LISTEN') pconn(fd=6, family=, type=, laddr=addr(ip='169.254.169.1', port=8080), raddr=addr(ip='169.254.169.126', port=8723), status='ESTABLISHED') process.memory_info() pmem(rss=53608448, vms=242552832, 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:09:42') process.threads() pthread(id=2, user_time=10.62, system_time=0.93) pthread(id=4, user_time=0.25, system_time=0.03) 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=1023774720, percent=4.7, used=28905472, free=1023774720, active=39555072, inactive=10399744, buffers=0, cached=21061632, shared=266240, slab=0) list(psutil.process_iter()) psutil.Process(pid=1, name='sh', started='06:09:42') psutil.Process(pid=2, name='datasette', started='06:09:42')