Friday, June 8, 2012

Killing a NoHup Python process in Ubuntu Linux hosted on VPSVille utilizing TOP and PS AX

  • Okay, need to logout. 
  • Logging out kills the process.
  •  Use nohup python3 scriptfile.py &
  • Yes ampersand at end
  • use ls-l to list files with sizes to see if working
  • kill process, issue command TOP
  • from top, type k
  • then type the process id should be a number
  • Watch out for Memory Error
  • ps ax list the process id also
  • need to issue: kill -s SIGKILL PROCESSID
     

No comments:

Post a Comment