일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 아틀라시안
- 스크립트
- DATABASE
- 노드
- PostgreSQL
- Atlassian
- Linux
- python
- node
- 리눅스
- 하모니카
- 윈도우
- 설치
- install
- 파이썬
- script
- java
- javascript
- 데이터베이스
- DB
- postgres
- Windows
- 설정
- 우분투
- 자바스크립트
- 3.0
- hamonikr
- ubuntu
- JS
- 자바
Archives
- Today
- Total
목록좀비 (1)
LukeHan 의 잡다한 기술 블로그
좀비 프로세스 만들기
테스트를 위해 좀비 프로세스가 필요한 상황이였다. 코드 fine name : zombie.c #include #include #include #include #include int main(void) { pid_t pid; int status; if ((pid = fork()) < 0) { perror("fork"); exit(1); } /* Child */ if (pid == 0) exit(0); /* Parent * Gives you time to observe the zombie using ps(1) ... */ sleep(100); /* ... and after that, parent wait(2)s its child's * exit status, and prints a relevant messa..
OS/Linux
2020. 12. 14. 20:00