Giter Site home page Giter Site logo

42webserv's Introduction

# 서버 개발하면서 자주 사용될 명령어

웹서브 PID 찾기
lsof -i:8080

웹서브 프로세스 죽이기
kill -9 PID

PID 찾고 프로세스 죽이기
lsof -i:8080 | awk 'FNR == 2 {print $2}' | xargs kill -9

TIME_WAIT 상태 찾기
netstat -an | grep TIME_WAIT

siege 테스트 : 10개의 유저가 100번 요청
>> brew install siege
>> sudo sysctl -w net.inet.tcp.msl=100
>> siege -c 10 -r 100 http://localhost:442/
끝나고 다시 원래대로 돌아가기
>> sudo sysctl -w net.inet.tcp.msl=15000

테스터 돌리기
1쪽 터미널
>> ./webserv assets/conf/tester.conf
2쪽 터미널
>> ./tester http://localhost:8080

42webserv's People

Contributors

chanwoong1 avatar get6 avatar seokunee avatar gtd9511 avatar y2in avatar 42kko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.