You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
324 B

import psi
import psi.arch
import psi.process
from datetime import *
#from datetime import timedelta
a = psi.arch.arch_type()
print a.sysname
print a.release
print a.nodename
print a.machine
z = psi.process.Process(1)
print z.start_time.datetime()
print timedelta(seconds = psi.uptime()[0])
print datetime.datetime.now()