update how to get process_cache

get current status of key process
stdout ->>print in cmd
fileout ->>file output to .log
get      ->>One interface to return date to other py