Skip to content

linux

Notes

  • Kill process on port 3000

fuser -k -n tcp 3000

sudo kill -9 `sudo lsof -t -i:3000`

  • Show most consuming process

    top

  • Show memory usage

free -m

  • Show file system

df -h

  • Kill all node process

    Killall node

  • Check if there is node working

netstat -an