웹서버가 작동중인지 확인하는 방법? 부탁드립니다.

armdry3의 이미지

리눅스에서 다른 웹사이트10군데 정도의 웹사이트가 제대로 작동중인지
확인하는 걸 만드는데 리눅스 프로그램은 대학에서 잠시 공부한게 전부여서
지금 막막합니다. 일본이라 책 구하기도 힘들고...
먼저 씨로 할지 펄로 만들어야할지, 스크립트로 만들수 있는지.
사이트에서 다시 아이디, 비번을 입력해서 제대로 페이지가 나오면
서버가 살이있다고 봅니다. 이때는 로그파일에 날짜와 서버명을 적고,
페이지가 나오지 않으면 메일을 보내야 되는 겁니다.
어디를 보고 공부해야할지, 비슷한 소스는 어디에서 구할 수 있는지
정말 맨땅에 헤딩이라는 걸 느낍니다. 많은 조언 부탁드립니다.

elflord의 이미지

웹서버가 작동중인지 확인한다는 말자체가 좀 애매한듯 느껴집니다.

정말로 단순히 웹서버가 살아있는지의 확인이라면 그건 쉘스크립트만으로도
어느정도 쉽게 구현될거라고 생각되고요.

armdry3님의 질문을 보니 사이트에서 로그인, 비번을 입력해서 제대로
페이지가 나와야 살아있다고 판단하신다고 했는데 이건 웹서버 문제가 아니라
해당 웹서버의 위에서 어떠한 웹프로그램이 제대로 움직이고 있는지를
확인하는 문제네요.

이경우는 해당 웹프로그램이 어떤 랭귀지로 만들어 졌는지 (PHP,JSP,CGI,
기타 등등) 그리고 DB는 무엇을 쓰고 있는지... 에 따라서 상당히 달라지는
문제가 아닐까 생각됩니다.


===== ===== ===== ===== =====
그럼 이만 총총...[竹]
http://elflord.egloos.com

kookooo의 이미지

간단한 Linkcheck 라면..
http://www.inter7.com/linkcheck.html
를 사용하셔도 될 듯 하네요

    Features

  • Understands HTML 3.0
  • Understands Frames
  • Understands JavaScript
  • Fast and lean, written in C. Source code is free
  • Can check a whole web site
  • Can be restricted to subdirectory checks
  • Estimates download times for each page and flags slow pages
  • Validates and reports temporarily moved pages and checks the new location
  • Reports server types
  • Reports html files last modification time
  • Validates mailto hrefs for valid DNS MX record on the internet
  • Validates ftp/file hrefs by getting actual file via ftp protocol
  • Reports news:, telnet:, wais:, gopher, powwow: urls<
  • Automatically walks the entire web site tree
[/]

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.