달력

5

« 2024/5 »

  • 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
  • 31
2009. 4. 15. 09:34

POI Style Enjoy/etc2009. 4. 15. 09:34

담아온곳 : http://sinope.tistory.com/tag/poi

=============================================

본문서는 자유롭게 배포/복사 할수 있지만

이문서의 저자에 대한 언급을 삭제하시면 안됩니다

저자 : GoodBug (unicorn@jakartaproject.com)

최초 : http://www.jakartaproject.com 

=============================================


Jakarta POI



IX. Cell을 좀더 유연하게!


1. Date타입 셀 만들기

소스

HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("new sheet");


HSSFRow row = sheet.createRow((short)0);


//처음셀은 style없이 그냥 new Date()로 입력

HSSFCell cell = row.createCell((short)0);
cell.setCellValue(new Date());


//두번째 셀은 "m/d/yy h:mm"으로 포맷하여 날짜를 입력

HSSFCellStyle cellStyle = wb.createCellStyle();
cellStyle.setDataFormat(HSSFDataFormat.getBuiltinFormat("m/d/yy h:mm"));
cell = row.createCell((short)1);
cell.setCellValue(new Date());
cell.setCellStyle(cellStyle);


FileOutputStream fileOut = new FileOutputStream("workbook.xls");
wb.write(fileOut);
fileOut.close();


결과






HSSFDateFormat이 지원하는 날짜 포맷

cellStyle.setDataFormat(HSSFDataFormat.getBuiltinFormat("m/d/yy h:mm")); 에서 다음과 같이 포맷을 정할 수 있다 (현재시간은 2005년 3월 14일 0시 52분 17초.. 헛 화이트데이 --;)




2. Cell의 Align속성

소스

HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("new sheet");
HSSFRow row = sheet.createRow((short) 2);


//HSSFCellStyle의 여러가지 align속성
createCell(wb, row, (short) 0, HSSFCellStyle.ALIGN_CENTER);
createCell(wb, row, (short) 1, HSSFCellStyle.ALIGN_CENTER_SELECTION);
createCell(wb, row, (short) 2, HSSFCellStyle.ALIGN_FILL);
createCell(wb, row, (short) 3, HSSFCellStyle.ALIGN_GENERAL);
createCell(wb, row, (short) 4, HSSFCellStyle.ALIGN_JUSTIFY);
createCell(wb, row, (short) 5, HSSFCellStyle.ALIGN_LEFT);
createCell(wb, row, (short) 6, HSSFCellStyle.ALIGN_RIGHT);

FileOutputStream fileOut = new FileOutputStream("workbook.xls");
wb.write(fileOut);
fileOut.close();


 

public void createCell(HSSFWorkbook wb, HSSFRow row, short column, short align)
{
    HSSFCell cell = row.createCell(column);
    cell.setCellValue("Align It");
    HSSFCellStyle cellStyle = wb.createCellStyle();
    cellStyle.setAlignment(align);
    cell.setCellStyle(cellStyle);
}


결과








3. Cell의 Border 속성

소스

HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("new sheet");

HSSFRow row = sheet.createRow((short) 1);
HSSFCell cell = row.createCell((short) 1);
cell.setCellValue(4);

// Cell의 Border 속성
HSSFCellStyle style = wb.createCellStyle();
style.setBorderBottom(HSSFCellStyle.BORDER_THIN);
style.setBottomBorderColor(HSSFColor.BLACK.index);
style.setBorderLeft(HSSFCellStyle.BORDER_THIN);
style.setLeftBorderColor(HSSFColor.GREEN.index);
style.setBorderRight(HSSFCellStyle.BORDER_THIN);
style.setRightBorderColor(HSSFColor.BLUE.index);
style.setBorderTop(HSSFCellStyle.BORDER_MEDIUM_DASHED);
style.setTopBorderColor(HSSFColor.BLACK.index);
cell.setCellStyle(style);

FileOutputStream fileOut = new FileOutputStream("workbook.xls");
wb.write(fileOut);
fileOut.close();


결과








HSSFCellStyle

HSSFCellStyle에는 다음과 같은 static 멤버변수가 존재합니다

ALIGN_CENTER center horizontal alignment
ALIGN_CENTER_SELECTION center-selection? horizontal alignment
ALIGN_FILL fill? horizontal alignment
ALIGN_GENERAL general (normal) horizontal alignment
ALIGN_JUSTIFY justified horizontal alignment
ALIGN_LEFT left-justified horizontal alignment
ALIGN_RIGHT right-justified horizontal alignment
ALT_BARS Wide dots
BIG_SPOTS Large spots
BORDER_DASH_DOT dash-dot border
BORDER_DASH_DOT_DOT dash-dot-dot border
BORDER_DASHED dash border
BORDER_DOTTED hair-line border
BORDER_DOUBLE double-line border
BORDER_HAIR dot border
BORDER_MEDIUM Medium border
BORDER_MEDIUM_DASH_DOT medium dash-dot border
BORDER_MEDIUM_DASH_DOT_DOT medium dash-dot-dot border
BORDER_MEDIUM_DASHED Medium dashed border
BORDER_NONE No border
BORDER_SLANTED_DASH_DOT slanted dash-dot border
BORDER_THICK Thick border
BORDER_THIN Thin border
BRICKS Brick-like layout
DIAMONDS Diamonds
FINE_DOTS Small fine dots
NO_FILL No background
SOLID_FOREGROUND Solidly filled
SPARSE_DOTS Sparse dots
SQUARES Squares
THICK_BACKWARD_DIAG Thick backward facing diagonals
THICK_FORWARD_DIAG Thick forward facing diagonals
THICK_HORZ_BANDS Thick horizontal bands
THICK_VERT_BANDS Thick vertical bands
THIN_BACKWARD_DIAG Thin backward diagonal
THIN_FORWARD_DIAG Thin forward diagonal
THIN_HORZ_BANDS Thin horizontal bands
THIN_VERT_BANDS Thin vertical bands
VERTICAL_BOTTOM bottom-aligned vertical alignment
VERTICAL_CENTER center-aligned vertical alignment
VERTICAL_JUSTIFY vertically justified vertical alignment
VERTICAL_TOP top-aligned vertical alignment


4. Cell의 색갈 채우기

소스

HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("new sheet");

HSSFRow row = sheet.createRow((short) 1);


HSSFCellStyle style = wb.createCellStyle();
// 아쿠아색을 배경으로 하고

style.setFillBackgroundColor(HSSFColor.AQUA.index);

//채움 스타일은 큰 점으로 한다
style.setFillPattern(HSSFCellStyle.BIG_SPOTS);
HSSFCell cell = row.createCell((short) 1);
cell.setCellValue("X");
cell.setCellStyle(style);


style = wb.createCellStyle();

// 오렌지색으로 전경으로 하고
style.setFillForegroundColor(HSSFColor.ORANGE.index);

// 채움 스타일은 SOLID_FOREGROUND로 한다
style.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);
cell = row.createCell((short) 2);
cell.setCellValue("X");
cell.setCellStyle(style);


FileOutputStream fileOut = new FileOutputStream("workbook.xls");
wb.write(fileOut);
fileOut.close();


결과







HSSFColor 정리!





5. Cell 병합

소스

HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("new sheet");

HSSFRow row = sheet.createRow((short) 1);
HSSFCell cell = row.createCell((short) 1);

cell.setCellValue("This is a test of merging");

sheet.addMergedRegion(new Region(1,(short)1,1,(short)2));


FileOutputStream fileOut = new FileOutputStream("workbook.xls");
wb.write(fileOut);
fileOut.close();


결과








Region

특정셀을 합칠 때는 HSSFSheet의 addMergedRegion(Region region)와

합칠 셀의 영역을 나타내는 Region을 사용한다.

Region region = new (int 시작ROW, short 시작COL, int 종료ROW, short 종료COL);



6. Cell에 폰트 설정하기

소스

HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("new sheet");

HSSFRow row = sheet.createRow((short) 1);


// 폰트 높이는 24, 폰트 종류는 Courier New, 이탈릭체로 설정한다
HSSFFont font = wb.createFont();
font.setFontHeightInPoints((short)24);
font.setFontName("Courier New");
font.setItalic(true);
font.setStrikeout(true);


// 설정한 폰트를 스타일에 적용한다
HSSFCellStyle style = wb.createCellStyle();
style.setFont(font);


// Cell에 스타일을 적용한다
HSSFCell cell = row.createCell((short) 1);
cell.setCellValue("This is a test of fonts");
cell.setCellStyle(style);


FileOutputStream fileOut = new FileOutputStream("workbook.xls");
wb.write(fileOut);
fileOut.close();


결과








=============================================

본문서는 자유롭게 배포/복사 할수 있지만

이문서의 저자에 대한 언급을 삭제하시면 안됩니다

저자 : GoodBug (unicorn@jakartaproject.com)

최초 : http://www.jakartaproject.com 

=============================================

:
Posted by 라면스프
2009. 4. 13. 22:06

[SHELL] 쉘 제어구조..^^(if구문) Enjoy/etc2009. 4. 13. 22:06


출처 : http://bear.sage.kr/28

[SHELL] 쉘 제어구조..^^(if구문)

기본적으로 셀 명령을 쓸줄 아는것으로 하고 넘어 가겠습니다..^^

제어 구조를 이야기 해보죠..^^

if는 참인지 거짓인지 판단할때 사용한다.
참이라면 then 부분을 실행하고 그렇지 않다면 else 부분을 실행한다.
---------------------------------------------------------
if .....
then
....
else
....
fi
---------------------------------------------------------
문자열비교
[ string ] : string이 빈 문자열이 아니라면 참
[ string1 = string2 ] : 두 문자열이 같다면 참
[ string1 != string2 ] : 두 문자열이 다르면 참
[ -n string ] : 문자열이 null(빈 문자열) 이 아니라면 참
[ -z string ] : 문자열이 null(빈 문자열) 이라면 참

산술비교
[ expr1 -eq expr2 ] : 두 표현식 값이 같다면 참 ( EQual )
[ expr1 -ne expr2 ] : 두 표현식 갑이 같지 않다면 참 ( Not Equal )
[ expr1 -gt expr2 ] : expr1 > expr2 이면 참 ( Greater Then )
[ expr1 -ge expr2 ] : expr1 >= expr2 이면 참 ( Greater Equal )
[ expr1 -lt expr2 ] : expr1 < expr2 이면 참 ( Less Then )
[ expr1 -le expr2 ] : expr1 <= expr2 이면 참 ( Less Equal )
[ ! expr ] : expr 이 참이면 거짓, 거짓이면 참
[ expr1 -a expr2 ] : expr1 AND expr2 의 결과 ( 둘다 참이면 참 )
[ expr1 -o expr2 ] : expr1 OR expr2 의 결과 ( 둘중 하나만 참이면 참 )

파일조건

[ -b FILE ] : FILE 이 블럭 디바이스 이면 참
[ -c FILE ] : FILE 이 문자 디바이스 이면 참.
[ -d FILE ] : FILE 이 디렉토리이면 참
[ -e FILE ] : FILE 이 존재하면 참
[ -f FILE ] : FILE 이 존재하고 정규파일이면 참
[ -g FILE ] : FILE 이 set-group-id 파일이면 참
[ -h FILE ] : FILE 이 심볼릭 링크이면 참
[ -L FILE ] : FILE 이 심볼릭 링크이면 참
[ -k FILE ] : FILE 이 Sticky bit 가 셋팅되어 있으면 참
[ -p FILE ] : True if file is a named pipe.
[ -r FILE ] : 현재 사용자가 읽을 수 있는 파일이면 참
[ -s FILE ] : 파일이 비어있지 않으면 참
[ -S FILE ] : 소켓 디바이스이면 참
[ -t FD ] : FD 가 열려진 터미널이면 참
[ -u FILE ] : FILE 이 set-user-id 파일이면 참
[ -w FILE ] : 현재 사용자가 쓸 수 있는 파일(writable file) 이면 참
[ -x FILE ] : 현재사용자가 실행할 수 있는 파일(Executable file) 이면 참
[ -O FILE ] : FILE 의 소유자가 현재 사용자이면 참
[ -G FILE ] : FILE 의 그룹이 현재 사용자의 그룹과 같으면 참
[ FILE1 -nt FILE2 ] : FILE1이 FILE2 보다 새로운 파일이면 ( 최근파일이면 ) 참
[ FILE1 -ot FILE2 ] : FILE1이 FILE2 보다 오래된 파일이면 참
[ FILE1 -ef FILE2 ] : FILE1 이 FILE2의 하드링크 파일이면 참

정수 비교
-eq 같다면 참($a -eq $b)

-ne 다르다면 참($a -ne $b)

-gt 더 크다면 참($a -gt $b)

-ge 더 크거나 같다면 참($a -ge $b)

-lt 더 작다면 참($a -lt $b)

-le 더 작거나 같다면 참($a -le $b)

문자열 비교

= 같다면 참($a = $b)

!= 다르다면 참($a != $b)

\< 아스키 코드 순서에서 더 작다면 참($a \< $b)

주의 : "<" 는 이스케이프 시켜야 됩니다.

\> 아스키 코드 순서에서 더 크다면 참 ($a \> $b)

주의 : ">" 은 이스케이프 시켜야 됩니다.

비교 연산자를 쓰는 어플리케이션 예제 참고 예 3-90

-z 문자열이 "널"이면 참. 즉, 길이가 0

-n 문자열이 "널"이 아니면 참.
---------------------------------------------------------
이와 같은 조건들이 있다 이것에서 자신이 원하는것을 찾아서 쓰면 된다..^^

우리가 자주 rc.local 파일에 mysql데몬 실행이나 firewall 파일을 올리는 경우가 있다.
이때 쓰면 좀더 멋있게 만들수가 있다.

--------------------------------------------------------
if [ -f /usr/local/mysql/bin/safe_mysqld ] then
/usr/local/mysql/bin/safe_mysqld &
fi

--------------------------------------------------------
이와 같이 하면 좀더 이쁘게 보일수 있죠..^^
해석은 파일이 존재하면 참이 되어 MySQL을 실행 시키라는 거죠..^^

--------------------------------------------------------
if 문은 조건을 판단하여 주어진 문장을 수행합니다.

1. 형식 1 ( 단일 if 문 )
형식 :
if [ 조건 ]
then
문장1
문장2
fi

2. 형식 2 ( if~else 문 )
형식 :
if [ 조건 ]
then
문장1
문장2
else
문장3
문장4
fi

3. 형식 3 ( if~elif 문 )
형식 :
if [ 조건 ]
then
문장1
문장2
elif
문장3
문장4
else
문장5
문장6
fi
---------------------------------------------------------
문자의 구조 입니다.이런 형태로 if문은 구성이 됩니다.

:
Posted by 라면스프
검색엔진 및 유용한 사이트가 잘 정리 되어 있어 담아 왔습니다.

출처 : http://blog.naver.com/hojong1974/150033990144


구글 등록

https://www.google.com/webmasters/tools/siteoverview

 

야후등록

https://siteexplorer.search.yahoo.com/submit

 

MSN

http://search.msn.com/docs/submit.aspx

 

네이버

http://blogsearch.naver.com/

 

올블로그

http://www.allblog.net/

 

블로그코리아

http://www.blogkorea.net/

이올린

http://eolin.com/

블로그플러스

http://blogplus.net/


콜콜넷

http://www.colcol.net/


블로그모아

http://www.blogmoa.co.kr/main.html


브레인

http://www.brainn.co.kr/news.jsp


블로그와이드 시즌1  - http://extv.co.kr/blogwide/
블로그와이드 시즌2 - http://www.blogwide.kr/


알에스에스판

http://www.rsspan.kr/


커리어블로그

http://careerblog.scout.co.kr/


쇼핑저널 버즈

http://www.ebuzz.co.kr/


오픈블로그

http://kr.openblog.com/


뉴스2.0

http://www.news2.co.kr/


프리로그

http://freelog.net/


넘즈넷

http://numz.net/


블러그나와

http://www.blognawa.com/


믹시

http://www.mixsh.com/

 

온20

http://on20.net/


블로그스페이스

http://blogspace.paran.com/


K모바일뉴스

http://kmobile.co.kr/index.asp


블로그스포츠

http://blogsports.sportsseoul.com/

 

프로토스타일

http://protostyle.sportstoto.co.kr/


알토랑

http://www.rtorang.com/


다음블로그뉴스

http://bloggernews.media.daum.net/


위드블로거

http://www.withblogger.com/

 

노블로그

http://www.knowblog.or.kr/

 

프레스블로그

http://www.pressblog.co.kr/


온타운넷

http://www.ontown.net/


나루

http://www.naaroo.com/

 

 

 

블로그 방문자를 3배 x 2 늘리는 방법

야후 홈페이지 등록: https://kr.suggest.yahoo.com/guide/guide_normal.php
네이버 홈페이지 등록: http://submit.naver.com/basic_req/main.php
다음 홈페이지 등록: http://help.search.daum.net/help/register.html
엠파스 홈페이지 등록: http://add.empas.com/regi2.html
네이트 홈페이지 등록: http://reghome.nate.com/comReg/common_01.asp
하나포스 홈페이지 등록: http://adsearch.hanafos.com/ad/searchad_gsite_01.asp
파란 홈페이지 등록: http://add.paran.com/normal_info.php
천리안 홈페이지 등록: http://dir.chol.com/service/request/reqregister.php
드림위즈 홈페이지 등록: http://request.dreamwiz.com/BIN/register.cgi?cmd=t&sub=20

:
Posted by 라면스프
2009. 3. 5. 11:21

WGA 알림 무용지물로 만들기 Enjoy/etc2009. 3. 5. 11:21

원본 : http://support.microsoft.com/kb/921914#top

출처 : http://www.soondesign.co.kr/408

WGA 알림 무용지물로 만들기

  1. 관리자 퍼미션을 가진 계정으로 컴퓨터에 로그온 합니다.
    컴퓨터에 존재하는 WGA 알림 버전이 파일럿 버전인지 확인합니다. 파일럿 버전의 버전 포맷은 1.5.0532.x입니다. 이 경우, 527-532 버전만 제거할 수 있습니다. 예를 들면, 1.5.0527.0부터 1.5.0532.2까지의 버전을 제거할 수 있습니다. WGA 알림 버전을 확인하려면 다음 단계를 따르세요.
  2. a. 시작을 누르고, 제어판으로 갑니다.
    프로그램 추가제거를 더블클릭 한후 업데이트 표시에 체크를 합니다.
    b. Windows Genuine Advantage Notifications를 누르고, 지원정보를 보려면 여기를 클릭하시오를 클릭합니다.
    c. 지원정보 대화상자에서, 버전을 확인하고 닫기 단추를 누릅니다.
  3. 다음 파일들을 확장자를 .old로 바꿉니다.
    1. %Windir%\system32\WgaLogon.dll 파일을%Windir%\system32\WgaLogon.old 로 바꿉니다.
    2. %Windir%\system32\WgaTray.exe 파일을 %Windir%\system32\WgaTray.old 로 바꿉니다.
  4. 이름바꾸기가 실패할 경우 메모리에 상주한 WgaTray.exe때문인데 작업관리자에서 프로세스 끝내기로 종료 후 이름을 바꾸면 됩니다.


  5. 컴퓨터를 재시작합니다.
수동으로 WGA 알림을 제거하기

  1. 관리자 퍼미션을 가진 계정으로 컴퓨터에 로그온 합니다.
    컴퓨터에 존재하는 WGA 알림 버전이 파일럿 버전인지 확인합니다. 파일럿 버전의 버전 포맷은 1.5.0532.x입니다. 이 경우, 527-532 버전만 제거할 수 있습니다. 예를 들면, 1.5.0527.0부터 1.5.0532.2까지의 버전을 제거할 수 있습니다. WGA 알림 버전을 확인하려면 다음 단계를 따르세요.
  2. 시작을 누르고, 제어판으로 갑니다.
    프로그램 추가제거를 더블클릭 한후 업데이트 표시에 체크를 합니다.
    Windows Genuine Advantage Notifications를 누르고, 지원정보를 보려면 여기를 클릭하시오를 클릭합니다.
    지원정보 대화상자에서, 버전을 확인하고 닫기 단추를 누릅니다.
  3. 다음 파일들을 확장자를 .old로 바꿉니다.
    1. %Windir%\system32\WgaLogon.dll 파일을%Windir%\system32\WgaLogon.old 로 바꿉니다.
    2. %Windir%\system32\WgaTray.exe 파일을 %Windir%\system32\WgaTray.old 로 바꿉니다.
  4. 이름바꾸기가 실패할 경우 메모리에 상주한 WgaTray.exe때문인데 작업관리자에서 프로세스 끝내기로 종료 후 이름을 바꾸면 됩니다.


  5. 컴퓨터를 재시작합니다.
  6. Regsvr32.를 이용하여 LegitCheckControl.dll를 등록해제합니다. 이를 위해서 다음 단계를 따르세요.
    가. 시작을 누르고, 실행을 누릅니다. cmd를 입력하고 확인을 누릅니다.
    나. 명령프롬프트가 뜨면 다음을 입력하고 엔터를 누릅니다.
    Regsvr32 %Windir%\system32\LegitCheckControl.dll /u
  7. 컴퓨터를 재시작합니다.
  8. 시작을 누르고, 실행을 누릅니다. cmd를 입력하고 확인을 누릅니다.
  9. 명령프롬프트가 뜨면 아래 파일들을 del 명령을 이용하여 제거합니다. 각각의 명령 후에 엔터를 과감히 치세요!
    • Del %Windir%\system32\wgalogon.old
    • Del %Windir%\system32\WgaTray.old
    • Del %Windir%\system32\LegitCheckControl.dll
  10. 명령 프롬프트에서 regedit 를 입력합니다.
  11. 다음의 레지스트리 서브키로 위치한 다음 오른쪽 클릭을 누릅니다. 삭제를 눌러 키를 삭제합니다.
    1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT
      \
      CurrentVersion\Winlogon\Notify\WgaLogon
    2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT
      \CurrentVersion\Uninstall\WgaNotify
:
Posted by 라면스프

JDK 1.4 한글 도움말(javastudy) : http://www.javastudy.co.kr/api/api1.4/

JDK 1.4 한글 API(forcert) : http://www.forcert.com/programming/api/j2se/1.4.0k/index.html

servlet api : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html - 2.3

                          http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/index.html - 2.4

jsp2.0 api : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jspapi/index.html - 2.0

 

J2EE 한글 도움말 : http://forcert.com/programming/api/j2ee/1.3.0k/

 

J2EE 1.4 튜토리얼 : http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

JSTL 1.1 : http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html

Spring API : http://www.springframework.org/docs/api/index.html

Hibernate API : http://www.hibernate.org/hib_docs/api/

자바 패키지별 예제(영문) : http://sangchin.byus.net/FlashHelp/Almanac.htm

 

==================================================================================

자바 싸이트

-----------------------------------------------------------------------------------

자바스터디 : http://www.javastudy.co.kr/  (강좌 정리)
자바누리 : http://www.javanuri.com/
자바랜드 : http://www.javaland.co.kr/
소설같은 자바 : http://www.jabook.org/    (책 한권)
자바서비스넷 : http://www.javaservice.net/ (중고급 정보)
김상욱의 개발자side : http://50001.com/  (소스 등)
종스클럽닷컴: http://www.jongsclub.com/
JLAB : http://www.jlab.net/
OKJSP : http://www.okjsp.pe.kr/
제이스톰 : www.jstorm.pe.kr/

생각하는 자바 (강좌 Good) : http://java.pukyung.co.kr/

자바 튜토리알(영어) : http://java.sun.com/docs/books/tutorial/index.html

스윙 컴포넌트 예제(영어) : http://java.sun.com/docs/books/tutorial/uiswing/components/components.html

MS SQL2000 JDBC 드라이버 다운로드 : http://www.microsoft.com/korea/download/server.asp

자카르타 프로젝트 한글화 : http://jakarta.apache-korea.org/

자바지기 : http://wiki.javajigi.net/

자바지기 eclipse 강좌 : http://wiki.javajigi.net/display/IDE/Eclipse

자바지기 struts 강좌 : http://wiki.javajigi.net/display/FRAMEWORK/Home

이클립시안 : http://eclipsians.net/

자바 카페 : http://www.javacafe.or.kr/

자바 API 예제(영어) : http://javaalmanac.com/egs/

Sun Korea Developer Network : http://kr.sun.com/developers/

IBM Java 입문서 : http://www-128.ibm.com/developerworks/kr/java/newto/

 

==================================================================================

JSP 싸이트

-----------------------------------------------------------------------------------

JSP 스쿨 : http://www.jspschool.com/ (정리 잘됨, 자료실 Good)

OKJSP : http://www.okjsp.pe.kr/ (종류별로 정리잘된 싸이트)

JSP스터디 : http://www.jspstudy.co.kr/ (오른쪽 메뉴중 lecture list 강좌보면 좋다)

AboutJSP : http://aboutjsp.com/ (강좌, 팁, QnA 등)

자북 (소설같은 JSP) : http://www.jabook.org/ (책 소설같은 JSP의 1부, 2부 있음)

까오기 : http://www.kkaok.pe.kr/ (여러 유영한 팁들)

더블 아이큐 : http://www.doubleiq.pe.kr/ (정리된 강좌와 QnA 등 )

김호 JSP : http://www.kimho.pe.kr/jsp/index.html

 

==================================================================================

J2EE 싸이트

-----------------------------------------------------------------------------------

J2EE 스터디 : http://www.j2eestudy.co.kr/

웹로직 관련 문서 등 있는 싸이트 : http://www.itadvisor.co.kr/

 

===================================================================================

아파치 (자카르타) 프로젝트 다운로드 싸이트

-----------------------------------------------------------------------------------

apache (메인 페이지) : http://www.apache.org/

jakarta 페이지 : http://jakarta.apache.org/

 

ant(빌드 도구) : http://ant.apache.org/bindownload.cgi

james (메일) : http://james.apache.org/download.html

james(메일) 직접 다운 : http://ftp.kaist.ac.kr/pub/Apache/james/james-2.2.0.zip

tomcat(톰캣 웹컨테이너) : http://tomcat.apache.org/

 

===================================================================================

SUN SDN 다운로드 싸이트

-----------------------------------------------------------------------------------

javamail (자바 메일) : http://java.sun.com/products/javamail/

jaf (Java Activate Framework) : http://java.sun.com/products/javabeans/jaf/index.jsp

 

 

===================================================================================

홈페이지 관련 싸이트

-----------------------------------------------------------------------------------

태그매니아 : http://www.tagmania.net/

야자바 HTML : http://www.yajava.com/shop/mart7/inc.php?inc=content_main/html

태그조아 : http://www.tag.zoa.to/

ib96 동영상 무료 회원 HTML 강좌 : http://htm.ib96.com/study/index.php

김덕현 : http://my.dreamwiz.com/kim0057/

송파나루터 : http://www.studyho.com/

트리오 : http://trio.co.kr/

송현건 : http://home.introcom.net/~gosoo99/

스타트 홈페이지 : http://www.starthomepage.com/index.jsp

태그야 놀자 : http://www.tagyanolja.com/

컴으로 허자허자(다음카페) : http://cafe.daum.net/herjaherja

태그 연습장(컴으로 허자허자) : http://www.herjaherja.com/bonus/tag.htm

태그 연습장(샐리디카) : http://myhome.naver.com/sallynice/blog/sallyedit.htm

 

========================================================================================

자바스크립트 관련 싸이트

-----------------------------------------------------------------------------------

자바스크립트 정리 Good : http://koxo.com/lang/js/

자바스크립트 인터넷 강의 : http://javascript.ubedu.com/

CGI & JavaScript : http://www.cginjs.com/

JS Guide : http://jsguide.net/ver2/

이용석의 자바스크립트 : http://user.chollian.net/~spacekan/

블루 비 : http://www.blueb.co.kr/

자바방 : http://javabang.net/

학꺼니 홈 : http://user.chollian.net/~chk012/frame.html

까오기(왼쪽 developer 메뉴의 javascript 클릭) : http://www.kkaok.pe.kr/

해피스크립트 : http://www.happyscript.com/

자스코 (유료싸이트) : http://www.jasko.co.kr/

영문 싸이트 : http://www.devguru.com/Technologies/ecmascript/quickref/javascript_index.html

자바스크립트 정리(영어 사이트) : http://www.javascripttoolbox.com/bestpractices/

 

========================================================================================

개발자 참고 싸이트

-----------------------------------------------------------------------------------

웹 개발자 가이드 : http://www.mozilla.or.kr/docs/web-developer/standard/

MSDN 링크 : http://msdn.microsoft.com/library/default.asp

 

=======================================================================================

온라인 해킹/바이러스 진단 및 치료 프로그램(국민은행 제공, 하우리 백신) : http://update.inca.co.kr/kookmin/livecall/kook_livecall.html

=======================================================================================

 

======================================================================================

기타 관련 다운로드 싸이트(JDK, MySQL, 톰캣 등)

======================================================================================

JDK 1.4.x     자바 Development Kit               http://java.sun.com

 

톰캣 : http://tomcat.apache.org/

---------------------------------------------------------------------------------------

MySQL        MySQL 데이터베이스      http://mysql.com

한국 MySQL : http://mysqlkorea.co.kr/

MySQL Connector/J (JDBC Driver for MySQL)   http://dev.mysql.com/downloads/connector/

 

MySQL-Front : http://www.mysqlfront.de/download.html

SQLyog(MySQL툴) 다운 : http://www.webyog.com/sqlyog/thanks.php

---------------------------------------------------------------------------------------

오라클 9i 링크 : http://www.oracle.com/technology/software/products/oracle9i/index.html

오라클 다운 :

http://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk1.zip

http://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk2.zip

http://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk3.zip

 

 

==================================================================================

All In One Eclipse 이클립스 다운로드

----------------------------------------------------------------------------------

일본어 : http://aioec.sourceforge.jp/cgi-bin/wiki.cgi

영어 : http://aioec.sourceforge.jp/cgi-bin/wiki.cgi?page=english%5Ftop

 

 

==================================================================================

이클립스 eclipse 3.1.1 다운로드 정리

 

WTP 다운 : http://www.eclipse.org/webtools/

 

이클립스 플러그인 순위 : http://eclipse-plugins.info/eclipse/ratings_overview.jsp

 

한국의 미러 싸이트 : http://eclipse.areum.biz/downloads/

 

워크샾 에디터 플러그인 다운로드 (이클립스 JSP 에디터)

 : http://workshopstudio.bea.com/downloadNitroX.do

 

이클립스 스트럿츠 테스트 플러그인 : http://strutstestcase.sourceforge.net/

 

이클립스 DB 관련 플러그인(quantum) : http://sourceforge.net/projects/quantum/

 

(톰캣에서 개발시 유용한 플러그인)

톰캣 플러그인 : http://www.sysdeo.com/sysdeo/eclipse/tomcatplugin

 직접 다운 : http://www.sysdeo.com/sysdeo/content/download/393/4930/file/tomcatPluginV31.zip

tomcatPluginV31.zip 다운 받아서 압축 해제해서

C:\eclipse\plugins 에 복사

 

==================================================================================

자카르타 Ant 한글 싸이트 : http://ant.apache-korea.org/

자카르타 Ant 다운로드 : http://ant.apache.org/bindownload.cgi

다운로드 리스트 : http://archive.apache.org/dist/ant/binaries/

ant 1.5.4 다운 로드 : http://archive.apache.org/dist/ant/binaries/apache-ant-1.5.4-bin.zip

ant 1.6.5 다운 로드 : http://ftp.apache-kr.org/ant/binaries/apache-ant-1.6.5-bin.zip

 

----------------------------------------------------------------------------------------

 

자바스크립트 에디터 : http://sourceforge.net/projects/jseditor
                              http://heanet.dl.sourceforge.net/sourceforge/jseditor/net.sf.wdte.js_0.0.9b.zip

CSS 에디터 : http://www.vasanthdharmaraj.com/Software.aspx?=csseditor

JSEclipse : http://www.interaktonline.com/downloads/eclipse/100/JSEclipse_1.2.1.zip

AnyEdit : http://andrei.gmxhome.de/anyedit/links.html

 

---------------------------------------------------------------------------------------

(스트럿츠)

1. 스트럿츠 다운

http://archive.apache.org/dist/struts/

2. 스트럿츠 직접 다운로드

    http://ftp.apache-kr.org/struts/binaries/struts-1.2.7.zip

    http://mirror.apache.or.kr/jakarta/struts/binaries/jakarta-struts-1.1.zip

(ANT 다운 로드)

http://www.apache.org/dist/ant/

 

---------------------------------------------------------------------------------------

(스트럿츠 참고 싸이트)

자바 프레임워크(네이버 스트럿츠 카페) : http://cafe.naver.com/deve.cafe

 

=======================================================================================

MyClipse 동영상 자료 : http://www.myeclipseide.com/images/tutorials/webprojectdemo.htm

 

=======================================================================================

우키의 블로그 : http://www.jaewook.net/

한글패치 : http://lang.playxp.com/

웹마 : http://www.mdiwebma.com/

jwBrowser : http://samba.ssyy.net/

구글 : http://www.google.co.kr

심파일 : http://simfile.chol.com/

이클립스 : http://www.eclipse.org/

ie toy, ad-free : http://loser.miniwini.com/tt/

자료 : http://baechul.com/cgi/technote/main.cgi?board=pds

브피피닷넷 : http://vbpp.net/

자료 소스 : http://semtle.cuk.ac.kr/bbs/list.php?id=pds

웹빌드 : http://www.webbuild.co.kr

넷탑 : http://www.nettop.pe.kr

파워빌더 유저 가이드 : http://www.pbuser.com/main.html

미친감자 : http://mazinga.egloos.com/

EditPlus 자바 컴파일 설정 : http://www.javacafe.or.kr/lecture/cafeLecture/tool/EditPlusSetting/EditPlusSetting.htm

구글 툴바 : http://toolbar.google.com/T3/intl/ko/index_ie.php

 

==================================================================================

PDA 싸이트

-----------------------------------------------------------------------------------

투데이스피피시 : http://www.todaysppc.com
PDA 프로그램 모음 싸이트 : http://www.fingertool.com/

포인트피디에이 : http://www.pointpda.com

코리아닷컴 피디에이 : http://pda.korea.com/

정리 잘된 싸이트 : http://www.114pda.com/

무료 PDA 소프트웨어(영어) : http://www.freewareppc.com

클리앙 : http://www.clien.net/

PDA용 GPS : http://www.freenavi.co.kr/

PDA용 GPS : http://shop.free-gps.com/

RW6100 드라이버 다운로드 : http://h50177.www5.hp.com/support/FA294PA/drivers/os_2045.html

RW6100 메뉴얼 : http://h50201.www5.hp.com/manual/index.asp

MissPDA : http://www.misspda.com/

아이핸디고(외국의 아방고와 비슷한 한국판 사이트) : http://www.ihandygo.com/

마이폴더 PDA 자료실 : http://pda.myfolder.net/

 

PDA용 뉴스 싸이트 정리 : http://clip.bakion.com/

PPC용 프로그램 개발(영어) : http://www.codeppc.com/

 

==================================================================================

XML 싸이트

-----------------------------------------------------------------------------------

안항준의 XML : http://my.netian.com/~aphise/

XML 스터디 : http://www.xmlstudy.co.kr/

김종민의 XML : http://xml.80port.net/

자바지기 : http://www.javajigi.net/

XML Developer Group : http://xml.geonji.co.kr/

Rapsodie's XML Resource : http://user.chollian.net/~rapsodie/main.html

용어사전과 XML : http://trio.co.kr/

HowXML : http://www.howxml.com/

군산대학교 XML 연구실 : http://xmlab.kunsan.ac.kr/

XML 강좌 링크 : http://www.howon.ac.kr/~ktlim/lecture/xml/xml-index.htm

코리아 인터넷 XML 강좌 : http://korea.internet.com/channel/index.asp?cid=193

XML 홈페이지 만들기 강의 자료 : http://muse.inchon.ac.kr/jschae/internet_xml.html

XML 강의 자료 : http://kuic.kyonggi.ac.kr/~ejlee/xml/#course-note

XML 강의 : http://hyejeon.ac.kr/%7Ekrkuki/xmlq_1.html

자바지기 XML 강좌 : http://wiki.javajigi.net/display/XML/Home

 

==================================================================================

기타 싸이트

-----------------------------------------------------------------------------------

소스들 : http://bluebild.byus.net/

구글툴바 : http://toolbar.google.com/intl/ko/index_ie.php

개인 이글루 싸이트(프로그래밍) : http://kwon37xi.egloos.com/

자카르타프로젝트(?) : http://www.jakartaproject.com/

TDD : http://wiki.tdd.or.kr/wiki.py

CSS : http://ilmol.com/wp/css

DB Desiner 4 :  http://www.fabforce.net/

manwal 블로그 : http://blog.etnews.co.kr/html/blog_home.php?bid=manwal

데이타베이스 사랑 넷 : http://database.sarang.net/

Xrath 블로그 : http://xrath.com/blog/index.php?category=Development

루비 : http://forum.rubykr.org/

루비 홈 : http://www.ruby-lang.org/en/

RDE : http://homepage2.nifty.com/sakazuki/rde_e.html

MMF 플레이어 : http://www.playersparadise.net/download/

누룽지 : http://www.nulunggi.pe.kr/

JavaRSS : http://javarss.pe.kr/

 

========================================================================================

OKJSP 동영상 강좌 : http://www.okjsp.pe.kr/lecture/viewlet/

이클립스 톰캣 디버그 : http://www.okjsp.pe.kr/lecture/viewlet/okjsp2005/10_lomboz_tomcat_debug.html

Xper 위키 : http://xper.org/wiki/xp/

자카르타 한글 번역 : http://jakarta.apache-korea.org/

이클립시안 : http://eclipsians.net/

국현님 싸이트 : http://goodhyun.com/

Jazz Virtual Machine : http://www.jazzvm.net/

 

오라클자바 : http://www.oraclejava.co.kr/

 

JavaJiGi 강좌 1. Eclipse 강좌  2. Struts 강좌 3. XML 강좌

 

빌크 블루엣 인터내셔널에서 운영하는 작은 커뮤니티 : http://www.bilc.co.kr/

구글 바로 가입하기 : http://www.bytetest.com/

larky : http://larky.biz/blog/

mabaji " http://tong.nate.com/mabaji

J2EE Study :  http://www.j2eestudy.co.kr

한국 JBoss 사용자 그룹 : http://www.krjbug.com/

행복한고니 블로그 : http://mygony.com/tt/index.php

주홍넷 : http://www.joohong.net/ (게임기획)

NT FAQ : http://www.ntfaq.co.kr/

해킹 : http://www.ganseo.com/zboard/new_center.php

 

========================================================================================

데이타베이스 관련 싸이트

========================================================================================

오라클 강좌 : http://oracleclub.com/

오라클용 무료 DB 툴 (DBA Master 2000) : http://www.dbany.com/

데이타베이스 정보 : http://www.databaser.net/

Korea Oracle Use Group : http://www.koug.net/

데이터베이스 벤더간 함수, 문법 비교 :  http://www.crossdb.com/dbknowledgebase/differencestable.html

데이타베이스 : http://home.ditco.com/~angel/Advanced/advanced.html

무료 오라클 툴(SmartSQL) : http://smartsql.hubweb.net/

 

========================================================================================

인터넷 서점

========================================================================================

도서가격 비교 (마이마진): http://book.mm.co.kr/

강컴 : http://www.kangcom.com

네이버 책 : http://book.naver.com/

리브로 : http://www.libro.co.kr/books/index.asp?mall_id=1

알라딘 : http://www.aladdin.co.kr/home/wbookmain.aspx

모닝365 : http://www.morning365.com/

반디앤루니스 : http://www.bandibook.com/

yes24 : http://www.yes24.com

교보 : http://www.kyobobook.co.kr/

 

========================================================================================

파이썬 관련 싸이트

========================================================================================

파이썬 문서고 : http://home.paran.com/johnsonj/

Python : http://www.python.org/

왕초보를 위한 파이썬 : http://turing.cafe24.com/

 

========================================================================================

C 컴파일러 다운로드

========================================================================================

C++ 다운로드 : http://turboc.borlandforum.com/impboard/attach/0000043200/tc++win31.zip

MS Visual C++ Toolkit 2003 : http://msdn.microsoft.com/visualc/vctoolkit2003/

볼랜드 BC++ 컴파일러 : http://www.borland.com/products/downloads/download_cbuilder.html

아래의 Compiler 라고 써있는 링크를 클릭하면 다운로드 받을 수 있음. Compiler Windows 5.5 08/24/2000 8.7 Mb


무료 C++ 컴파일러 DevC++ : http://turboc.borlandforum.com/impboard/attach/0000071056/devcpp4990setup.exe

 

========================================================================================

프로그램 소스 모음 링크

========================================================================================

생각하며 배우는 C++ 소스 링크 : http://www.hanbitbook.co.kr/example/1277/

알기쉽게 풀어쓴 웹로직과 EJB 소스 : http://www.hanbitbook.co.kr/exam/1278

자바5.0 프로그래밍 소스(한빛미디어) : http://hanbitbook.co.kr/example/1377/

 

인포북 소스 : http://www.infopub.co.kr/info/pds/group_pds/bbs.asp

정보문화사 소스 : http://www.infopub.co.kr/jungbo/pds/group_pds/bbs.asp

영진 프로그래밍 소스 링크 : tp://board3.youngjin.com/bbs/List_new.asp?bbsidx=135

대림 자료실 : tp://www.drbook.co.kr/pds/?pds=1-1

한빛 자료실 : tp://www.hanbitbook.co.kr/old_board/arumari2.html?id=data&n=&s=&query=&t=&kind=&page=0

한빛 미디어 소스 : http://www.hanbitbook.co.kr/exam/

 

========================================================================================

크랙 링크

========================================================================================

http://www.astalavista.box.sk/

http://www.crackdb.com/

 

 

========================================================================================

지도 링크

========================================================================================

네이버 지도 : http://local.naver.com/navermap_browser/?mode=1&init=1

엠파스 지도 : http://map.empas.com/

지도 찾기 : http://www.speednavi.co.kr/searchmap/

지하철 노선도 : http://www.smrt.co.kr/cyberstation/cyberstation.jsp?sv=1&skind=1&goline=undefined

 

========================================================================================

포토샾

========================================================================================

http://www.photoshopq.com/

 

 

========================================================================================

기타

========================================================================================

폭 맞춰 출력하기 : http://www.visiontech.ltd.uk/

(설명 : 인터넷 익스플로러에서 프린트할 때 내용이 폭에 안 맞아 짤릴때 사용하면 좋음)

(방법 : 클릭해서 들어가서 콘트롤 설치한 후 상단 표준단추에 "빨간 W"로 프린트)

 


테이블은 이제 그만 쉬어야할 때 1 : http://ilmol.com/wp/2005/06/09/25/

테이블은 이제 그만 쉬어야할 때 2 : http://ilmol.com/wp/2005/08/15/110/

 

웹에서 테이블을 DIV로 변경 : http://www.qindex.info/Q_drctry/webtools/StylingTable.asp

 

레이아웃을 위해 테이블 사용이 잘못된 이유:문제의 원인, 해결방안 : http://softwant.com/standards/index.php

 

========================================================================================

컴퓨터 싸게 사기

========================================================================================

http://www.pops4u.co.kr/

http://www.assacom.com/

 

========================================================================================

컴퓨터 싸게 사기

========================================================================================

하드웨어 정보 보여주는 유틸 (everest ) 램 종류와 속도가 궁금해서 찾아봤음 :

http://file.naver.com/cgi-bin/simSearchPds.cgi?start=&number=&cat=99&q=everest&w=t&opt=0&x=38&y=13

 

========================================================================================

기타 유용한 정보(?) 잡학지식

========================================================================================

휴면 계좌 통합 조회 : http://www.sleepmoney.or.kr/default_cust.jsp

중국사람이 만든 웹 OS ^^ : http://www.pc2n.com/staticos/index.html

 

========================================================================================

블로그

========================================================================================

네이버 블로그

http://blog.naver.com/swinter8

http://blog.naver.com/drods

http://blog.naver.com/mmfcom

http://blog.naver.com/imcho57

http://blog.naver.com/khd7138

http://blog.naver.com/julymorning4

http://blog.naver.com/geerark

 

엠파스 블로그

http://blog.empas.com/ahnyounghoe/

 

이글루스 블로그

http://kwon37xi.egloos.com/

 

 

=======================================================================================

Eclipse Article
Eclipse 시작
Eclipse 시작하기 : JDK 설치에서부터 Eclipse 다운로드등 Eclipse를 처음 시작하는 개발자들이 알아야하는 내용에 대하여 다루고 있다.

Eclipse에 새로운 플러그인 설치하기 : Eclipse에 새로운 플러그인을 추가하는 방법에 대하여 두가지로 나누어 살펴본다. 또한 새로운 플러그인을 찾을 수 있는 방법에 대해서도 다룬다.

Eclipse 사용시 알아두면 좋은 유용한 단축키 모음

Eclipse 강좌
Eclipse 사용을 위한 동영상 강좌 : Eclipse 3.1이 배포되면서 좋은 동영상 강좌들이 많이 올라와 있다. Eclipse의 많은 기능들을 느끼고 사용해 볼 수 있다.

Eclipse 에서 Middlegen 사용하기 : 프로잭트를 하다보면 Database의 변경이 있을 수 있다. 만일 이러한 상황에서 Hiberanate같은 framework를 사용할 시에 변경될 때마다 해당 xml mapping파일과 java dto 객체를 생성하는 일은 참으로 번거로운 일이 아닐 수 없으며 이러한 비용을 줄이기 위해 eclipse용 plugin으로 middlegen이 나왔습니다.

Eclipse 사용시 유용한 팁
Eclipse 사용시 알아두면 유용한 팁
Eclipse 성능 높히기
Eclipse 기반하에서 Remote Debugging 설정 : Eclipse 기반하에서 Remote Debugging을 실행하는 방법에 대하여 다룬다.

Eclipse With PlugIn
Eclipse에 Web Tools Project 설치 및 사용방법 : 지금까지 Eclipse에서 불편하게 느꼈던 웹 개발의 편의성을 향상 시켜줄 막강한 플러그인에 관한 설치에서부터 다양한 툴들을 사용방법에 대하여 다룬다.

Eclipse에 Tomcat Server플러그인 설치하기
Eclipse에 JRUN Server플러그인 설치하기
Eclipse에 JBoss Server플러그인 설치하기
Eclipse에 Lomboz플러그인 설치하기 1
Eclipse에 Lomboz플러그인 설치하기 2

Eclipse With 버전 관리 시스템
CVS 설치와 Eclipse와의 연동
Eclipse와 CVS과 연결하여 사용하기
[Eclipse와 CVS를 이용하여 팀 작업하기]

Subversion 설치 및 Eclipse와의 연동

Visual Source Safe 설치와 Eclipse와의 연동


 


Children   Hide Children | View in hierarchy
Eclipse에 Web Tools Project 설치 및 사용방법 (통합 개발 환경)
Eclipse 시작하기 (통합 개발 환경)
Eclipse에 새로운 플러그인 설치하기 (통합 개발 환경)
Eclipse 사용시 알아두면 좋은 유용한 단축키 모음 (통합 개발 환경)
Eclipse 사용시 알아두면 유용한 팁 (통합 개발 환경)
Eclipse 성능 높히기 (통합 개발 환경)
Eclipse에 Tomcat Server플러그인 설치하기 (통합 개발 환경)
Eclipse에 JRUN Server플러그인 설치하기 (통합 개발 환경)
Eclipse에 JBoss Server플러그인 설치하기 (통합 개발 환경)
Eclipse에 Lomboz플러그인 설치하기 1 (통합 개발 환경)
Eclipse에 Lomboz플러그인 설치하기 2 (통합 개발 환경)
CVS 설치와 Eclipse와의 연동 (통합 개발 환경)
Eclipse와 CVS과 연결하여 사용하기 (통합 개발 환경)
Subversion 설치 및 Eclipse와의 연동 (통합 개발 환경)
Visual Source Safe 설치와 Eclipse와의 연동 (통합 개발 환경)
Eclipse 에서 Middlegen 사용하기 (통합 개발 환경)
Eclipse 기반하에서 Remote Debugging 설정 (통합 개발 환경)

 

java.net과 이클립스를 이용한 오픈소스 자바 어플리케이션 개발
이 튜토리얼은 이클립스를 소개하고 이를 활용하여 java.net에 호스팅 된 자바 어플리케이션 개발에 대해 살펴봅니다.


1부. 이클립스에서 새로운 프로젝트 생성하기
2부. 이클립스와 CVS를 이용한 팀 개발


=======================================================================================

 

자바를 닷넷으로 바꿔주는 프로젝트 (MS)  :

              http://msdn.microsoft.com/vstudio/downloads/tools/jlca/default.aspx

 

닷넷을 자바로 바꿔주는 프로젝트(라이브러리, 넷빈즈 플러그인) : https://net2java.dev.java.net/

 

 

HTML, JavaScript, ASP 등 :  http://www.dragoneye.co.kr/

 

웹 기획 문서 링크 : http://www.ihelpers.co.kr/webdevdoc/index.php

기획 찜 : http://plan.jjim.com/

 

=======================================================================================

 


사이버유 강의실 
 
Ⅰ. 인터넷기초 & 홈페이지 
 
  인터넷과 전자상거래
  홈페이지만들기(HTML)


Ⅱ. 시스템&프로그램 설치 
 
  퍼스널 웹서버(PWS) 설치
  액세스로 데이터베이스 만들기
  MS-SQL 서버설치 및 운영
  리눅스에서 MAP 설치
  오디비씨(ODBC) 설정


Ⅲ. 자바(Java) 프로그래밍 
 
  자바 프로그래밍
  자바이야기 [※ 음성강의]
  자바 웹프로그래밍(JSP) [※ 음성강의]
  웹 정보추출 에이전트


Ⅳ. 데이터베이스(DB) 
 
  구조적 질의어 (SQL)
  Oracle DBMS & SQL (Link)
 
  MySQL for Linux
 
Ⅴ. C언어 프로그래밍 
 
  C 언어 프로그래밍 (권수태,황인수)
  Unix & C Language
  CGI 프로그램의 개념과 폼 태그
  CGI 기초와 CGI 예제


Ⅵ. 액티브서버페이지(ASP) 프로그래밍 
 
  ASP(Active Server Pages) 기초
 
   | ASP란? | ASP 문법 | ASP 객체 |
  웹과 디비연동 프로그래밍
  파일 업로드(Upload) (기초, 예제)
  ASP와 비주얼 베이직 함수
  예제로 배우는 ASP 프로그래밍
   | 사용자인증 | 방명록 | 게시판 |


Ⅶ. 강의자료(PPT) 
 
  경영정보시스템             [ MIS의 이해 ] 
  의사결정지원시스템
  시스템분석 및 설계
  데이터베이스
  자바 프로그래밍
  컴퓨터기초및언어
 

 

 

emwac 설치 : http://empire.achor.net/v7/lesson/win2000/

Oracle Database 10g: The Top 20 Features for DBAs :

   http://www.oracle.com/technology/pub/articles/10gdba/week5_10gdba.html

 

손병목의 지식공유 : http://www.itmembers.net/

 

apmsetup (아파치 PHP MySQL 한방에 설치) : http://www.apmsetup.com/

 

 

========================================================================================

번역

========================================================================================

구글 번역 : http://www.google.co.kr/language_tools?hl=ko

알타비스타 번역 : http://babel.altavista.com/translate.dyn

icanread 영어 번역 : http://www.icanread.co.kr/ektran/ektran.html

 

짧은 문장 번역 : http://standard.beta.amikai.com/amitext/indexUTF8.jsp

영어 문장 번역 : http://ns.cnenews.net/ek-web/cgi-bin/sentTrans-ek

영어/일본어 단문 번역 : http://gtlac.keric.or.kr/cm_menu/home/translate/english.jsp

 

한중일 번역 : http://www.infoseek.co.jp/Honyaku?pg=honyaku_top.html

야후 바벨피쉬 무료 번역 : http://kr.babelfish.yahoo.com/

 

 

========================================================================================

유용한 링크

========================================================================================

nullsoft 인스톨 프로그램(무료) : http://nsis.sourceforge.net/Main_Page

JBoss IDE tutorial : http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html

자바지기 위키 WIKI : http://wiki.javajigi.net/homepage.action

지하철(버스) 노선 검색 : http://websubway.co.kr/subway/

 

===========================================================================

JBuilder 2005 Foundation - 완전무료 자바 개발툴

===========================================================================

완전히 무료로 쓸 수 있는 자바 개발툴, JBuilder 2005 Foundation입니다. 심지어 등록조차 필요가 없습니다.
J빌더의 가장 기본적인 기능만 있지만, 그래도 같은 무료 배포인 이클립스보다는 강력하다고 하네요.

윈도우용 설치프로그램/문서/예제
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_windows.zip
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_docs_windows.zip
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_samples_windows.zip

리눅스용 설치프로그램/문서/예제
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_linux.tar.gz
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_docs_linux.tar.gz
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_samples_linux.tar.gz

솔라리스용 설치프로그램/문서/예제
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_solaris.zip
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_docs_solaris.zip
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_samples_solaris.zip

맥용 설치프로그램/문서/예제
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_mac.zip
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_docs_mac.zip
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_samples_mac.zip

Extras - Ant 1.6.2
http://file.borlandforum.com/jbuilder/JBuilder2005Foundation/jb2005_fnd_extras.zip

 


eclipse WTP J2EE Tutorials
 Building a CMP Based School Schedule Web Application
 This tutorial is similar to the Building a School Schedule Web Application except EJBs are used. This tutorial walks the user through developing a Container Managed Entity Bean (CMP) to store a simple schedule. A Session Bean is used to query the CMP. Finally, a Servlet and JSP are built to serve as the front end. 
 Building and Running a Web Application
 This document is the first in a series of tutorials where we will demonstrate how you can use the rich set of tools and APIs that comes with the Web Tools Platform Project. This first tutorial will give you a step by step tour of using some the tools for web development. For this purpose we will build and run a J2EE web application using WTP tools and Apache Tomcat. 
 Building a School Schedule Web Application
 In this tutorial you will create a school schedule Web application. This application will allow students to input their courses and create a schedule. This tutorial will introduce you to JSP's, servlets and the Web Tools Platform project's server tools. 
 Building a Simple EJB Application
 In this tutorial you will create a simple EJB component and a client web application. This tutorial will introduce you to Session beans and the Web Tools Platform project's support for XDoclet and server tools. 
 Cactus Integration in the Web Tools Project
 This article briefly explains Cactus, its common uses and advantages and then provides a step-by-step tutorial on how to use the Cactus integration provided by WTP. The article assumes that you are familiar with JUnit and the basics of using WTP to build, deploy and run web projects. 
 Deploy Web Applications to the Oracle Application Server
 This tutorial will step you through the details of deploying a Web Application to the Oracle Application Server Containers for J2EE (OC4J). 

 


SDN JCreater Tutorial : http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index_ko.jsp

 

eclipse plugin : http://eclipse-plugins.2y.net/eclipse/plugins.jsp

 

struts-console : http://www.jamesholmes.com/struts/console/

 

JSTL : http://jakarta.apache.org/taglibs/index.html

 

JSTL 강좌 1(한글) : http://www-128.ibm.com/developerworks/kr/library/j-jstl0211.html#N1007F

JSTL 강좌 2(한글) : http://www-128.ibm.com/developerworks/kr/library/j-jstl0318/

JSTL 강좌 3(영어) : http://www-128.ibm.com/developerworks/java/library/j-jstl0415/

JSTL 강좌 4(영어) : http://www-128.ibm.com/developerworks/java/library/j-jstl0520/

 

struts guide(영어) : http://struts.apache.org/1.x/struts-taglib/index.html

스트럿츠 번역(한글판) : http://jakarta.apache-korea.org/struts/index.html

 

struts로 웹 개발 1 : http://korea.internet.com/channel/content.asp?kid=17&cid=188&nid=27686

struts로 웹 개발 2 : http://korea.internet.com/channel/content.asp?kid=17&cid=188&nid=27687

struts로 웹 개발 3 : http://korea.internet.com/channel/content.asp?kid=17&cid=188&nid=27688

struts로 웹 개발 4 : http://korea.internet.com/channel/content.asp?kid=17&cid=188&nid=27703

 

opencapture 제작자 싸이트 : http://openproject.nazzim.net/

 

exadel 개발툴 강좌(이클립스용) : http://www.exadel.com/web/portal/products/Tutorials

 

하이버네이트 관련 블로그 : http://blog.naver.com/jdkim528

 

유용한 무료 유틸 : http://www.tnk-bootblock.co.uk/software/

 

유용한유틸들(한글) : http://outofbell.hihome.com/myprog/program.html

 

영어사전(ajax) : http://www.nalbam.com/dic.htm

 

MyEclipse 크랙 : http://www.astalavista.us/search.php?s=my+eclipse&Submit=Search


볼랜드 투게더 무료(커뮤니티 버젼) : http://togethercommunity.co.kr/together/

 

:
Posted by 라면스프
2008. 11. 26. 11:34

WoC 2008이 시작되었습니다~ 두둥 Enjoy/etc2008. 11. 26. 11:34

출처 : http://woc.openmaru.com/blog1/105About WoC

2008 woc(Winter of Code)행사를 한다고 합니다. 12월 20일이네요.


사용자 삽입 이미지

사용자 삽입 이미지


 

:
Posted by 라면스프

출처 : http://docs.sun.com/app/docs/doc/819-4673/gbpxu?l=ko&a=view


BEA WebLogic Server

Consider making the following changes:

 

JVM GC Parameter

For BEA WebLogic Server 8.1 SP4, to avoid the java.lang.OutofMemoryError reported by the WebLogic JVM 1.4.2_05, add the following JVM GC (garbage collection) parameter in the startWebLogic.sh JAVA_OPTIONS:

-XX:-CMSParallelRemarkEnabled

Set this parameter in addition to the other heap size and GC parameters that have been added for JVM 1.4.2 for Application Server 8.1 and Web Server 6.1.

For example, if Access Manager is installed in the default user_projects location (/usr/local/bea/user_projects/domains/mydomain/startWebLogic.sh):

JAVA_OPTIONS="-XX:+DisableExplicitGC -XX:+UseParNewGC
-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled
-XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0
-XX:+CMSClassUnloadingEnabled -XX:-CMSParallelRemarkEnabled
-XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintClassHistogram
-XX:+PrintGCTimeStamps
-Xloggc:/usr/local/bea/user_projects/domains/mydomain/myserver/gc.log"

If you use WebLogic 9.x with Sun JVM 1.5 or later, then some of the GC algorithms can be safely removed. The following is a list of JVM options that can be used with Sun JVM 1.5 or later.

-XX:NewSize=336M -XX:MaxNewSize=336M
-XX:+DisableExplicitGC
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+PrintClassHistogram
-XX:+PrintGCTimeStamps
-Xloggc:/opt/WebSphere/AppServer/logs/server1/gc.log
-XX:-CMSParallelRemarkEnabled 

Heap Size

Modify the commonEnv.sh script in the /usr/local/bea/weblogic81/common/bin directory for heap size increases in the section where $PRODUCTION_MODE" = "true" (which should be set to true, before running Access Manager in /usr/local/bea/user_projects/domains/mydomain/startWebLogic.sh):

# Set up JVM options base on value of JAVA_VENDOR
if [ "$PRODUCTION_MODE" = "true" ]; then
  case $JAVA_VENDOR in
  BEA)
    JAVA_VM=-jrockit
    MEM_ARGS="-Xms128m -Xmx256m"
  ;;
  HP)
    JAVA_VM=-server
    MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
  ;;
  IBM)
    JAVA_VM=
    MEM_ARGS="-Xms32m -Xmx200m"
  ;;
  Sun)
    JAVA_VM=-server
    MEM_ARGS="-Xms2688M -Xmx2688M -XX:NewSize=336M -XX:MaxNewSize=336M"
   # MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"

Execute Queue Thread Count

Set the Execute Queue Thread count to be more than the number of CPUs. For example, consider using a value that is twice the number of CPUs. Set this value in either the console or in the /usr/local/bea/user_projects/domains/mydomain/config.xml file:

<ExecuteQueueName="MyExecute Queue" ThreadCount="8" ThreadsIncrease="4"/>

For more information, see “Modifying the Default Thread Count” in “WebLogic Server Performance and Tuning” at:

http://e-docs.bea.com/wls/docs81/perform/WLSTuning.html#1142218

Connection Backlog Buffering

A guideline for setting Connection Backlog Buffering is 8192 for a server with 4 Gbytes of physical memory (which is equivalent to the ConnectionQueue size tuning set in the Sun Java System Web Server 6.1 magnus.conf file).

For more information, see “Tuning Connection Backlog Buffering” in the “WebLogic Server Performance and Tuning” document at:

http://e-docs.bea.com/wls/docs81/perform/WLSTuning.html#1136287

:
Posted by 라면스프
2008. 11. 15. 13:09

WebLogic Tuning Guide on Linux Enjoy/etc2008. 11. 15. 13:09


출처 : http://www.adminschool.net/wiki/doku.php?id=service:was:weblogic:wltunning


WebLogic Tuning Guide on Linux

OS limit Setting

  1. vi /etc/security/limits.conf
    *       soft    nproc       16384
    *       hard    nproc       16384
    *       soft    nofile      65536
    *       hard    nofile      65536
    
  2. 필요에 따라서 .bash_profile 이나 .bashrc 를 수정한다.
    ulimit -Hn 8192
    ulimit -Sn 8192
    

OS Kernel Tuning

  1. 현재 설정을 확인해 본다.
    # su -
    # sysctl -a
    
  2. 변경할 셋팅값을 /etc/sysctl.conf 에 입력한다.
    kernel.msgmni = 1024
    net.ipv4.tcp_max_syn_backlog = 8192
    
  3. 필요에 따라 다음 커널 값들을 수정(/etc/sysctl.conf)한다.(정확히 알지 못한다면 수정하지 말것.)
    # weblogic + apache2 (testing)
    ## net.ipv4.tcp_keepalive_time = 7200
    ## net.ipv4.tcp_keepalive_intvl = 75
    ## net.ipv4.tcp_keepalive_probes = 9
    #
    net.ipv4.tcp_fin_timeout = 15
    net.ipv4.tcp_keepalive_time = 60
    net.ipv4.tcp_keepalive_intvl = 60
    net.ipv4.tcp_keepalive_probes = 1
    
    

WebLogic Setting

  • JDBC Connection Pool > Connections 설정에 Test Reserved Connections 옵션을 체크한다.

: DB 연결이 끊어지고 다시 연결할때 DB 접속을 시도하는 옵션이다.
이 옵션이 체크되어 있지 않은 상태에서 DB 연결이 끊어지고 나면 DB 연결을 더 이상 하지 않는다.

  • Services > JMS > Connection Factories > cgQueue 에서 Target and Deploy 에서 Independent Servers의 Target을 선택한다.

: 이 옵션을 선택하지 않으면 아래와 같은 에러가 나올 수 있다.

<2007. 3. 30. 오후 4시 24분 20초 KST> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial 
connection to the JMS resource named weblogic.jws.jms.QueueConnectionFactory from the EJB "StatelessContainer" 
inside application "beflyt". The server will attempt the connection again later. The error was 
javax.jms.JMSException: [J2EE:160048]JNDI lookup of the JMS connection factory 
weblogic.jws.jms.QueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to 
lookup 'weblogic.jws.jms.QueueConnectionFactory' didn't find subcontext 'jws' Resolved weblogic; remaining 
name 'jws/jms/QueueConnectionFactory'>

Memory Tuning

  1. JDK 변경
    • weblogic을 설치하면 기본적으로 jrockit 과 Sun JDK 가 설치되어 있다. 하나를 선택한다면 Sun JDK를 선택하는 것을 권고한다.
    • OS에서 제공하는 JDK가 있다면, OS 제공하는 JDK를 사용하는 것이 성능적으로 우수할 수 있다.
  2. MEM_ARGS 옵션 변경
    MEM_ARGS="-Xms1024m -Xmx1024m -XX:NewSize=367m -XX:MaxNewSize=367m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SurvivorRatio=2"
    JAVA_VM="-server"
    

Servers/JDBC Tuning

  • 서버 설정값 Development and Production Startup Mode Tuning Defaults
Tuning Parameter Development Mode Default Production Mode Default
Execute Queue: ThreadCount 15 threads 25 threads
JDBC Connection Pool: MaxCapacity 15 connections 25 connections
  • 현재 회사에서 운영중인 서버 설정
location Name values
JDBC Connection Pool: Connections Initial Capacity 25
JDBC Connection Pool: Connections Maximum Capacity 200
JDBC Connection Pool: Connections Capacity Increment 5
Servers: Execute Queue Thread Count 25
  • Thread Count 와 JDBC Connection Pool Count 는 일치시켜 주는 것이 성능상 좋다.
  • [{domain}] - [Servers] - [{server name}] - 'Configuration' - 'Tuning'
    1. MSI File Replication Enabled : 서버가 시작될때 어드민 콘솔에 접근이 안되면 이전 MSI 값으로 기동된다.
      NoStage 모드일때 적절한 값이다.
  • [{domain}] - [Servers] - [{server name}] - 'Logging' - 'Server'
    1. Server File Name : The name of the file that stores this server's current log messages.
      If the pathname is not absolute, the path is assumed to be relative to the root directory of the machine on which this server is running.
      필요가 없다면 '/dev/null'로 설정한다.
    2. Log to Stdout : Specifies whether the server should send messages to standard out
  • [{domain}] - [Servers] - [{server name}] - 'Logging' - 'Server'
    1. Enable HTTP Logging : 웹로그가 필요하지 않다면 체크를 해제한다.
  • [{domain}] - [Services] - [JDBC] - [Connection Pools] - 'Configuration' - '{Pool Name}' - “Configuration' - 'Connections' - 'Advanced Options'
    1. Allow Shrinking : 'Shrink Frequency(sec)'마다 JDBC Connection Pool을 확인하고 사용하지 않는 Pool은 연결해제시킨다.
    2. Enable Connection Leak Profiling : JDBC Connection leak을 수집, 해결한다.
    3. Test Reserved Connections : 'Test Table Name'에 있는 쿼리로 JDBC Connection Pool을 확인한다.
    4. Connection Reserve Timeout : The number of seconds (between -1 and a positive 32-bit integer) after
      which a call to reserve a connection from the pool will timeout.
      When set to 0, a call will never timeout.
      When set to -1, a call will timeout immediately.
    5. Connection Creation Retry Frequency : DB가 연결이 되지 않은 상태에서 시작할 수 있으며,
      정해진 간격으로 체크하면서 DB가 연결되면 Pool을 생성한다.
      300초면 적당할 듯하다.

Nostage -

WebLogic + Apache2 Tuning

WebLogic Debug

  1. vi setDomain.sh 이나 환경설정에서 MEM_ARGS 라인에 -verbosegc 옵션을 추가한다.
    #   MEM_ARGS="-Xms512m -Xmx512m" (기존)
    #   MEM_ARGS="-Xms512m -Xmx512m -verbosegc" (GC Memory Debug On)
    
 
:
Posted by 라면스프
2008. 11. 12. 13:58

LSOF 설치 및 사용가이드 Enjoy/etc2008. 11. 12. 13:58


출처 : http://unix.co.kr/bbs/board.php?bo_table=02_06&wr_id=6


LSOF 설치 및 사용가이드

2001. 6.30

공재순/ kong@certcc.or.kr

1. 소개

LSOF는 'List Open File'의 약자로, 해당 System에서 구동되고 있는 프로세스들에 의해서 열려진 파일들을 확인 할 수 있는 툴이다. 시스템의 의심스러운 프로세스에 대한 확인이 용이하고, 설치가 비교적 쉬워 많이 이용되고 있다.

[cert:root]:/user/kong/lsof_4.56> lsof
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sched 0 root cwd VDIR 32,0 1024 2 /
sched 0 root 0u VCHR 12,2 0t0 140375 /devices/pseudo/sad@0:user(COMMON)
.....
.....
sendmail 23403 root 13u inet 0x603ca5b8 0t2290 TCP cert:52969->211.45.162.90:smtp (ESTABLISHED)
sendmail 23403 root 14u inet 0x603ca5b8 0t2290 TCP cert:52969->211.45.162.90:smtp (ESTABLISHED)
......

[그림 1] LSOF 실행 예

Top

2. LSOF 다운로드 받기

최신 버전은 ftp://vic.cc.purdue.edu/pub/tools/unix/lsof 에서 확인 할 수 있으며, 여러 개의 Mirror site 가 존재해 쉽게 다운로드 받을 수 있다.

Mirror site URL :

* ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutiles/lsof
* ftp://ftp.cert.dfu.du/pub/tools/admin/lsof
* ftp://ftp.cetis.hvu.nl/pub/lsof
* ftp://ftp.crc.doc.ca/packages/

Version 4 LSOF 는 gzip으로 압축되어 있으며, 파일명에 revision number를 포함하고 있다.

ftp://vic.cc.purdue.edu/pub/tools/unix/lsof_<rev>_W.tar.gz
또는 ftp://vic.cc.purdue.edu/pub/tools/unix/lsof_<rev>_W.tar.Z

※ 리눅스 시스템의 경우에는, 대부분 기본적으로 LSOF가 설치되어 있다. (만약 설치가 안되어 있는 상태라면 rpm 패키지로 배포하고 있으므로 linux 배포사이트를 이용하면 될 것이다.)

Top

3. 압축해제

이 문서에서는 ver.4(revision 4.56) LSOF를 Solaris OS에서 설치하는 과정을 보이도록 한다.

gzip -d lsof_4.56_W.tar.gz
tar -xvf lsof_4.56_W.tar

※ 참고로 4.56 버전의 lsof.tar 파일의 md5 checksum 값은 다음과 같으며, MD5 (lsof_4.56.tar) = 92155bb6430d14d044f8ca96858e63b8

md5 checksum tool은 아래 사이트에서 구할 수 있다.
ftp://ftp.cerias.purdue.edu/pub/tools/unix/crypto/md5

Top

4. 설치하기

LSOF 설치과정은 크게 압축해제 -> Inventory -> Configure -> Install 4단계로 볼 수 있다.

① 압축 풀기

우선 초기 Wrapper에 쌓인 파일 압축을 풀면 해당 디렉토리 내에 다음과 같은 5개 의 파일이 생성되고, 이와 함께 lsof_4.56 디렉토리가 생성된다.

[cert:root]:/user/kong> tar -xvf lsof_4.56_W.tar
x RELEASE.SUMMARY_4.56, 12803 bytes, 26 tape blocks
x README.lsof_4.56, 4129 bytes, 9 tape blocks
x 00.README.FIRST_4.56, 700 bytes, 2 tape blocks
x lsof_4.56.tar, 3317760 bytes, 6480 tape blocks
x lsof_4.56.tar.asc, 284 bytes, 1 tape blocks

생성되는 파일

설명

00.README.FIRST_4.56

Readme file for the distribution

README.lsof_4.56

Contains distribution and security information

RELEASE.SUMMARY_4.56

Summary of the lsof 4.56 distribution

lsof_4.56.tar

LSOF 4.56 tar archive

lsof_4.56.tar.asc

Detached PGP certificate for lsof_4.56.tar

[표 1] lsof_4.56_W.tar 압축 해지 후 생성되는 파일들

Top

※ 생성된 lsof_4.56 디렉토리에 생성되는 주요 파일들

[sparc5:root]:/user/kong/lsof_4.56> ls
./ 00DIST 00README arg.c lsof_fields.h proto.h
../ 00FAQ 00XCONFIG dialects/ main.c regex.h
00.README.FIRST 00LSOF-L AFSConfig* lib/ misc.c scripts/
00CREDITS 00MANIFEST Configure* lsof.8 node.c store.c
00DCACHE 00PORTING Customize* lsof.h print.c usage.c
00DIALECTS 00QUICKSTART Inventory* lsof.man proc.c version

② Inventory

LSOF를 설치 할때 절대적으로 필요한 과정은 아니다. 그러나 subdirectory들을 체크하고, 각 스크립트들과 파일 헤더들, 소스파일들이 실제로 존재하는지 등 패키지 상태를 체크 해 볼 필요가 있다. 다음과 같이 Inventory 스크립트를 실행하게 되면, inventory 작업에 대한 소개 가 나오고 실행할 것인지 여부를 물어오는데 'y' 로 답하면서 진행하게 되면 디렉토리들의 list 를 확인할 수 있다.

[cert:root]:/user/kong/lsof_4.56> ./Inventory
Conducting an inventory of the lsof distribution; this will take a while.
Examining /user/kong/lsof_4.56: OK
Examining dialects: OK
....
....
Examining lib: OK
Examining scripts: OK
This lsof distribution seems to be complete.

Top

③ Configure

환경설정에 필요한 여러 단계의 작업을 하게 되는데, 아래와 같이 해당 OS에 맞 게 선택하고 Configure 스크립트를 구동하면 된다.

※Configure 스크립트 구동방법

Configure <options> <target-dialect>
<options>: -clean : clean up previous configuration
-d|-dialects : display a list of supported dialect versions
-h|-help : display help information
-n : avoid AFS, customization, and inventory checks

aix | aixgcc : IBM AIX xlc (aix)
or gcc (aixgcc)
bsdi : BSDI BSD/OS
darwin : Apple Darwin
decosf : DEC OSF/1
digital_unix|du : Digital UNIX
freebsd : FreeBSD
hpux|hpuxgcc : HP-UX cc (hpux)
or gcc (hpuxgcc)
linux : Linux
netbsd : NetBSD

nextstep|next|ns|nxt : NEXTSTEP
openbsd : OpenBSD
openstep|os : OpenStep
osr | sco : SCO OpenServer,
SCO devloper's compiler
osrgcc|scogcc : SCO OpenServer,gcc compiler
ptx : Sequent PTX
solaris | solariscc : Solaris gcc (solaris)
or cc(solariscc)
tru64 : Tru64 UNIX
unixware | uw : SCO UnixWare

[표 2] Configure 스크립트 구동시 OS 지정

Top

[sparc5:root]:/user/kong/lsof_4.56> ./Configure solaris
Testing prdata.h for PR_GWINDOWS, using gcc
Testing prdata.h for PR_LDT, using gcc
Testing vnode.h for VSOCK, using gcc
.....

각 헤더파일 testing이 끝나면, 다시 inventory 해 볼 것인지를 물어보는데 file tree들을 변화시킬 것이 없다면 inventory과정을 re-run할 필요없다.

....
....
Do you want to take inventory (y|n) [y]? n
rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile
ln -s dialects/sun/ddev.c ddev.c
ln -s dialects/sun/dfile.c dfile.c
ln -s dialects/sun/dlsof.h dlsof.h
.....
ln -s dialects/sun/machine.h machine.h
kernelbase.h assembled.
Makefile and lib/Makefile created.

Top

위 과정에서 Make 파일이 생성됨을 볼 수 있으며, 이어 LSOF를 customize 할 것인지를 물어오는데 [yes/no] question을 따라 다음의 각 옵션을 사용자가 선택할 수 있다.

Name

Description

Default Value

HASSECURITY

enabled : root 만이 lsof를 이용해 열려진 파일들을 확인 할 수 있음.
disabled :누구든 모든 열려진 파일들을 lsof를 이 용해 확인 할 수 있음.

Disabled

WARNINGSTATE

enabled : lsof가 필요할 경우 언제든지 warning messages를 출력함.
disabled : warning messages를 출력하지 않음. -w (disables) +w (enables) 로 조절 가능함.

Enabled

WARNDEVACCESS

enabled : lsof가 /dev (또는 /devices)를 억세스 할 수 없을 때, warning messages를 출력함.
disabled : lsof가 /dev (또는 /devices)를 억세스 할 수 없을 때, skip 해 버림.

Enabled

HASDCACHE

enabled : lsof가 /dev (또는 /devices)의 파일들에 관한 정보를 포함하고 있는
device cache file을 생성함.

< define path options >

HASENVDC, HASPERSDC,
HASPERSDCPATH, HASSYSDC
disabled : lsof 가 device cache file 생성하지 않음.

Enabled

HASENVDC

HASPERSDC

HASPERSDCPATH

HASDCACHE를 정의하면, device cache file path를 기술하기 위해 연관된
다른 옵션들의 구성도 정의해 주어야 한다.

< 현재 설정된 path options >

#define HASENVDC "LSOFDEVCACHE"
#define HASPERSDC "%h/%p.lsof_%L"
#define HASPERSDCPATH "LSOFPERSDCPATH"
※ 자세한 사항은 00DCACHE ,00FAQ 참고

"LSOFDEVCACHE"

"%h/%p.lsof_%L"

"LSOFPERSDCPATH"

HASKERNIDCK

lsof가 현재의 커널상태와 최초 lsof가 설치되어 구동되었을 당시의 커널과 비교하여,
시스템에서 부적절하게 실행되는 것을 탐지할 수 있다.

kernel identity check로 인해 일부 UNIX
(예:AIX) 시스템에서 구동시간이 많이 걸리는 경우가 있어서 disable 시켜야 할 때가 있을 수도 있지만,
lsof를 부적절하게 구동함으로써 오는 위험요소가 증가할 수 있다는 것을 배제할 수 없다.

Enabled

[표 3] Customize 옵션

Top

위의 각 항목들 및 설정값들은 LSOF가 기본적으로 제공하는 것으로 변경을 원할 경우에는 machine.h 파일을 직접 수정하거나 Customize 스크립트를 직접 구동하여 변경할 수도 있다.

④ build & install

Configure 과정을 마치고 나면, 시스템에 인스톨 할 수 있다. 기본적인 install 과 정은 아래와 같다.

■ build LSOF system

[cert:root]:/user/kong/lsof_4.56> make
(cd lib; make DEBUG="-O" CFGF="-Dsolaris=20600 -DHASPR_GWINDOWS -DHAS_VSOCK -DLSOF_VSTR=\"5.6\"")
gcc -Dsolaris=20600 -DHASPR_GWINDOWS -DHAS_VSOCK -DLSOF_VSTR="5.6" -O -c ckkv.c
.....
.....
gcc -o lsof -Dsolaris=20600 -DHASPR_GWINDOWS -DHAS_VSOCK -DLSOF_VSTR=\"5.6\" -O ddev.o dfile.o dmnt.o dnode.o dnode1.o dnode2.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o store.o usage.o -L./lib -llsof -lkvm -lelf -lsocket -lnsl

Top

■ Install LSOF system

[cert:root]:/user/kong/lsof_4.56> make install
(cd lib; make DEBUG="-O" CFGF="-Dsolaris=20600 -DHASPR_GWINDOWS -DHAS_VSOCK -DLSOF_VSTR=\"5.6\"")
Constructing version.h
gcc -Dsolaris=20600 -DHASPR_GWINDOWS -DHAS_VSOCK -DLSOF_VSTR=\"5.6\" -O -c usage.c
gcc -o lsof -Dsolaris=20600 -DHASPR_GWINDOWS -DHAS_VSOCK -DLSOF_VSTR=\"5.6\" -O ddev.o dfile.o dmnt.o dnode.o dnode1.o dnode2.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o store.o usage.o -L./lib -llsof -lkvm -lelf -lsocket -lnsl

여기까지 과정을 마치면 일반적인 설치는 모두 끝나고 lsof 실행파일이 생성된다.

※ 별도로 install ruleset 지정하고자 할 경우

가상메모리의 커널 image를 담고있는 파일인 /dev/kmem(또는 /dev/mem)를 read 할 수 있도록 LSOF는 setgid 로 설치되어야 하는데, 일반적으로 다음과 같은 ruleset 형태로 지정한다.

SunOS install rule actions :
install <options> -m 2755 -g kmem lsof <bin_dest>
install <options> -m 444 lsof.8 <man_dest>
Solaris install rule actions :

install -[cf] <bin_dest> <options> -m 2755 -g sys lsof
install -[cf] <man_dest> <options> -m 444 lsof.8

Top

5. LSOF 사용하기

■ LSOF 옵션

옵션

기 능

옵션

기 능

-?
-h

list help

-a

AND selections (OR)

-d
-D

s select by FD set
D ?|i|b|r|u[path]

+|-f

-files +filesys

-l

list UID numbers

-n
-N

no host names
select NFS files

-s

list file size

-t
-T

terse listing
disable TCP/TPI info

-v
-V

display version info
verbose search

-F [f]

select fields;-F? for help

-o o

o 0t offset digits (8)

-S [t]

t second stat timeout(15)

-i i

select by IPv4 address: [proto][@host|addr][:svc_list|port_list]

+|-r [t]

repeat every t seconds (15);
+ until no files, - forever

-b

avoid kernel blocks

-c c

list command c

-P

no port names

-i

select IPv4 files

-p s

select by PID set

-C

no kernel name cache

+|-w

Warnings (+)

-R

list paRent PID

-k k

kernelsymbols (/dev/ksyms)

-U

select Unix socket

-u s

exclude(^)/select login/UID s

-m m

kernel memory (/dev/kmem)

+|-M

portMap registration (-)

--

end option scan

-g [s]

select by process group ID set and print process group IDs

names

select named files or files on named file systems

Top

■ 실행결과 보기

실행결과에 해당되는 각 column 들을 간단하게 살펴보면 다음 [표5] 와 같다.

Column

설 명

Command

프로세스와 관련된 Unix command 이름

PID
PPID
PGRP

Process IDentification number

Parent Process IDentification number
(해당 프로세스의 부모 프로세스 ID)

Process Group IDentification number
(해당 프로세스와 관련된 프로세스 그룹 ID)

USER

해당 프로세스를 소유한 사용자 ID 또는 login name

FD

File Descriptor number
(ex) cwd : current working directory
r : read access / w : write access / u : read and write access

TYPE

해당 파일과 관련한 노드 타입
(ex) inet : Internet domain socket

DEVICE

device number

SIZE
SIZE/OFF
OFFSET

file 이나 file offset의 사이즈

INODE
NODE-ID

local file 의 node number 또는 Internet protocol type
또는 서버 호스트의 NFS file의 inode number

NAME

해당 파일이 소속된 mount point나 파일 시스템의 이름

[표 6] lsof 실행결과의 각 Column

Top

■ LSOF 주요 옵션 사용 예

* 특정 파일을 억세스하고 있는 프로세스 확인 : lsof <path/file-name>

[cert:root]:/> lsof /etc/passwd
COMMAND PID USER FD TYPE DEVICE SIZE/OFF INODE NAME
ns-httpd 244 root 9r VREG 32,0 3044 99217 /etc/passwd
....

* internet socket 확인 : lsof -i

Internet address 출력형식 : [protocol][@hostname|hostaddr][:service|port]

Top

- 특정 호스트(또는 ip)에 대한 접속 확인

[cert:root]:/> lsof -i@172.16.2.146
COMMAND PID USER FD TYPE DEVICE SIZE/OFF INODE NAME
in.telnet 10124 root 0u inet 0x61d4b788 0t71 TCP cert:telnet->172.16.2.146:1109 (ESTABLISHED)
in.telnet 10124 root 1u inet 0x61d4b788 0t71 TCP cert:telnet->172.16.2.146:1109 (ESTABLISHED)
in.telnet 10124 root 2u inet 0x61d4b788 0t71 TCP cert:telnet->172.16.2.146:1109 (ESTABLISHED)
.....

- 특정 포트로 접속한 리스트 확인

[cert:root]:/usr/sbin> lsof -i @certcc.or.kr:23
COMMAND PID USER FD TYPE DEVICE SIZE/OFF INODE NAME
in.telnet 104 root 2u inet 0x612df850 0t152 TCP cert:telnet->172.16.2.159:1176 (ESTABLISHED)
in.telnet 28462 root 0u inet 0x61aee578 0t71 TCP cert:telnet->172.16.2.146:4250 (ESTABLISHED)
.....

Top

* 특정 user가 오픈한 프로세스를 확인 : lsof -u <loginname> 혹은 lsof -u <UID>

[cert:root]:/> lsof -u kong
COMMAND PID USER FD TYPE DEVICE SIZE/OFF INODE NAME
csh 21309 kong cwd VDIR 32,4 1536 223602 /user/kong/lsof_4.56
csh 21309 kong txt VREG 32,6 158608 298136 /usr/bin/csh
.......

- 특정사용자 제외시 "^" 심볼을 사용하고, 여러명을 동시에 지정하려면 ","를 이용한다.

[cert:root]:/dev/pts> lsof -u ^root,kong,yjkim
COMMAND PID USER FD TYPE DEVICE SIZE/OFF INODE NAME
csh 8992 yjkim cwd VDIR 32,0 1024 2 /
csh 8992 yjkim txt VREG 32,6 158608 298136 /usr/bin/csh
csh 8992 yjkim txt VREG 32,6 70996 136979 /usr/lib/locale/ko/ko.so.1
csh 8992 yjkim txt VREG 32,6 1024888 6749 /usr/lib/libc.so.1
.....
csh 21309 kong cwd VDIR 32,4 1536 223602 /user/kong/lsof_4.56
csh 21309 kong txt VREG 32,6 158608 298136 /usr/bin/csh
....

Top

* 특정 프로세스가 오픈한 파일 리스트 확인 : lsof -p <PID>

- PID 112를 가진 프로세스가 사용하는 파일들 확인

[cert:root]:/usr/sbin> lsof -p 143
COMMAND PID USER FD TYPE DEVICE SIZE/OFF INODE NAME
inetd 143 root cwd VDIR 32,0 1024 2 /
inetd 143 root txt VREG 32,6 33492 310933 /usr/sbin/inetd
inetd 143 root txt VREG 32,6 10696 6352 /usr (/dev/dsk/c0t0d0s6)
....
....
inetd 143 root 4u inet 0x603cab38 0t0 TCP *:ftp (LISTEN)
inetd 143 root 5u inet 0x610b13c0 0t0 TCP *:telnet (LISTEN)
inetd 143 root 6u inet 0x610b1240 0t0 TCP *:pop3 (LISTEN)
......

Top

* ps 명령이 변조된 시스템에서는 의심스러운 포트 확인하기 예

[root@linux /root]# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:auth *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 *:login *:* LISTEN
tcp 0 0 *:2626 *:* LISTEN
.......
[root@linux /dev]# fuser -n tcp 2626
2626/tcp: 607
[root@linux /dev]# lsof -p 607
PID TTY STAT TIME COMMAND
607 ? S 0:00 /usr/sbin/mingetty

※ 참고자료

1. lsof 4.56 README file and man page

2. Installing, configuring and using lsof 4.50 to list open files on systems running Solaris 2.x
http://www.cert.org/security-improvement/implementations/i042.05.html

:
Posted by 라면스프
2008. 11. 12. 13:31

lsof - LiSt Open Files Enjoy/etc2008. 11. 12. 13:31

lsof (LiSt Open Files) version 4  (revision 4.49)

출처 : http://www.javaservice.net/~java/bbs/read.cgi?m=etc&b=unix&c=r_p&n=959319048


javaservice:/usr/src/# ftp ftp.cert.dfn.de
Connected to concert.cert.dfn.de.
220- \ \ \
220-  ) ) )      The DFN-CERT  / DFN-PCA AnonFtp Archive
220- / / /
220- \ \ \       --------------------------------------------
220- | | |
220- | | |       If you want to contact the DFN-CERT directly
220- | | |       send electronic mail to:
220- | | |
220- | | |            dfncert@cert.dfn.de  (Incidents)
220- | | |       or
220- | | |            ftp@cert.dfn.de      (AnonFtp Server)
220- | | |       or
220- | | |            dfnpca@pca.dfn.de    (DFN-PCA)
220- | | |
220- | | |       The information and tools on this server are
220- | | |       provided "as is". No responsibility is taken
220-   | |       by neither DFN-CERT nor DFN-PCA.
220-   | |
220-     |       All traffic is logged and analysed, if you
220-     |       do not accept this policy, do not log in!
220-
220-Local time in Hamburg, Germany, is Fri Jun 23 09:06:09 2000
220-
220 concert.cert.dfn.de FTP server (Version wu-2.6.0-dfncert(2) Wed May 17 16:33:20
MET DST 2000) ready.
Name (ftp.cert.dfn.de:root): guest
331 Guest login ok, send your complete e-mail address as password.
Password:
230-The response 'guest' is not valid
230-Next time please use your e-mail address as your password
230-        for example: joe@210.220.251.96
230-
230-If you have comments or recommendations concerning this server please
230-contact the local administrators by email: ftp@cert.dfn.de
230-
230-Check also our WWW server:
230-
230-      German language:     http://www.cert.dfn.de/
230-      English language:    http://www.cert.dfn.de/eng/
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd pub/tools/admin/lsof
250 CWD command successful.
ftp> bin
ha200 Type set to I.
ftp> ha
Hash mark printing on (1024 bytes/hash mark).
ftp> asc
200 Type set to A.
ftp> get README
local: README remote: README
200 PORT command successful.
150 Opening ASCII mode data connection for README (13251 bytes).
##############
226 Transfer complete.
13597 bytes received in 1.15 secs (12 Kbytes/sec)
ftp> bin
200 Type set to I.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 1572
-rw-rw-r--   1 infosys    28540 Jun  1 23:19 .mirror
-rw-rw-r--   1 infosys    13251 Apr  3 18:28 README
lrwxrwxrwx   1 infosys       18 May  1 23:10 lsof.tar.gz -> lsof_4.49_W.tar.gz
-rw-rw-r--   1 infosys   751995 Apr  3 10:56 lsof_4.49_W.tar.gz
226 Transfer complete.
ftp> get lsof_4.49_W.tar.gz
local: lsof_4.49_W.tar.gz remote: lsof_4.49_W.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for lsof_4.49_W.tar.gz (751995 bytes).
####################################################################################
####################################################################################
####################################################################################
####################################################################################
####################################################################################
####################################################################################
####################################################################################
####################################################################################
##############################################################
226 Transfer complete.
751995 bytes received in 496 secs (1.5 Kbytes/sec)
ftp> quit
221-You have transferred 765592 bytes in 2 files.
221-Total traffic for this session was 768123 bytes in 3 transfers.
221-Thank you for using the FTP service on concert.cert.dfn.de.
221 Goodbye.
javaservice:/usr/src/# dir
total 764
   4 drwxr-xr-x   2 root     root         4096 Jun 23 16:10 ./
   4 drwxr-xr-x   5 guest    users        4096 Jun 23 16:09 ../
  16 -rw-r--r--   1 root     root        13251 Jun 23 16:10 README
740 -rw-r--r--   1 root     root       751995 Jun 23 16:19 lsof_4.49_W.tar.gz
javaservice:/usr/src/# mkdir lsof
javaservice:/usr/src/# cd lsof
javaservice:/usr/src/lsof# tar xvfz ../lsof_4.49_W.tar.gz

RELEASE.SUMMARY_4.49
README.lsof_4.49
00.README.FIRST_4.49
lsof_4.49.tar
lsof_4.49.tar.asc
javaservice:/usr/src/lsof# dir
total 3044
   4 drwxr-xr-x   2 root     root         4096 Jun 23 16:21 ./
   4 drwxr-xr-x  10 root     root         4096 Jun 23 16:21 ../
   4 -rw-r--r--   1 701      1233          700 Apr  4 00:55 00.README.FIRST_4.49
   8 -rw-r--r--   1 701      1233         4132 Apr  4 00:55 README.lsof_4.49
  16 -r--r--r--   1 701      1233        13251 Apr  4 00:55 RELEASE.SUMMARY_4.49
3004 -rw-r--r--   1 701      1233      3072000 Apr  4 00:54 lsof_4.49.tar
   4 -rw-r--r--   1 701      1233          284 Apr  4 00:55 lsof_4.49.tar.asc
javaservice:/usr/src/lsof# tar xvf lsof_4.49.tar
lsof_4.49/
lsof_4.49/00.README.FIRST
lsof_4.49/00CREDITS
lsof_4.49/00DCACHE
lsof_4.49/00DIALECTS
lsof_4.49/00DIST
lsof_4.49/00FAQ
lsof_4.49/00LSOF-L
lsof_4.49/00MANIFEST
lsof_4.49/00PORTING
lsof_4.49/00QUICKSTART
lsof_4.49/00README
lsof_4.49/00XCONFIG
lsof_4.49/AFSConfig
lsof_4.49/Configure
lsof_4.49/Customize
lsof_4.49/Inventory
lsof_4.49/dialects/
lsof_4.49/dialects/n+os/
lsof_4.49/dialects/n+os/dproc.c
lsof_4.49/dialects/n+os/Mksrc
lsof_4.49/dialects/n+os/dnode.c
lsof_4.49/dialects/n+os/dlsof.h
lsof_4.49/dialects/n+os/Makefile
lsof_4.49/dialects/n+os/dsock.c
lsof_4.49/dialects/n+os/machine.h
lsof_4.49/dialects/n+os/dproto.h
lsof_4.49/dialects/n+os/dnode1.c
lsof_4.49/dialects/n+os/dstore.c
lsof_4.49/dialects/ultrix/
lsof_4.49/dialects/ultrix/Makefile
lsof_4.49/dialects/ultrix/dlsof.h
lsof_4.49/dialects/ultrix/dmnt.c
lsof_4.49/dialects/ultrix/dnode.c
lsof_4.49/dialects/ultrix/dproc.c
lsof_4.49/dialects/ultrix/dproto.h
lsof_4.49/dialects/ultrix/dsock.c
lsof_4.49/dialects/ultrix/dstore.c
lsof_4.49/dialects/ultrix/machine.h
lsof_4.49/dialects/ultrix/Mksrc
lsof_4.49/dialects/aix/
lsof_4.49/dialects/aix/dnode1.c
lsof_4.49/dialects/aix/dlsof.h
lsof_4.49/dialects/aix/Mksrc
lsof_4.49/dialects/aix/ddev.c
lsof_4.49/dialects/aix/dproto.h
lsof_4.49/dialects/aix/machine.h
lsof_4.49/dialects/aix/Makefile
lsof_4.49/dialects/aix/dfile.c
lsof_4.49/dialects/aix/dnode.c
lsof_4.49/dialects/aix/dmnt.c
lsof_4.49/dialects/aix/dproc.c
lsof_4.49/dialects/aix/dsock.c
lsof_4.49/dialects/aix/dstore.c
lsof_4.49/dialects/sun/
lsof_4.49/dialects/sun/machine.h
lsof_4.49/dialects/sun/dproc.c
lsof_4.49/dialects/sun/Mksrc
lsof_4.49/dialects/sun/dsock.c
lsof_4.49/dialects/sun/include/
lsof_4.49/dialects/sun/include/sys/
lsof_4.49/dialects/sun/include/sys/auxv.h
lsof_4.49/dialects/sun/dnode2.c
lsof_4.49/dialects/sun/dfile.c
lsof_4.49/dialects/sun/dnode.c
lsof_4.49/dialects/sun/ddev.c
lsof_4.49/dialects/sun/dstore.c
lsof_4.49/dialects/sun/Makefile
lsof_4.49/dialects/sun/dproto.h
lsof_4.49/dialects/sun/dmnt.c
lsof_4.49/dialects/sun/dnode1.c
lsof_4.49/dialects/sun/dlsof.h
lsof_4.49/dialects/freebsd/
lsof_4.49/dialects/freebsd/Mksrc
lsof_4.49/dialects/freebsd/dnode.c
lsof_4.49/dialects/freebsd/dlsof.h
lsof_4.49/dialects/freebsd/dmnt.c
lsof_4.49/dialects/freebsd/dnode1.c
lsof_4.49/dialects/freebsd/include/
lsof_4.49/dialects/freebsd/include/procfs/
lsof_4.49/dialects/freebsd/include/procfs/pfsnode.h
lsof_4.49/dialects/freebsd/Makefile
lsof_4.49/dialects/freebsd/dsock.c
lsof_4.49/dialects/freebsd/dstore.c
lsof_4.49/dialects/freebsd/machine.h
lsof_4.49/dialects/freebsd/dproc.c
lsof_4.49/dialects/freebsd/dproto.h
lsof_4.49/dialects/hpux/
lsof_4.49/dialects/hpux/kmem/
lsof_4.49/dialects/hpux/kmem/Makefile
lsof_4.49/dialects/hpux/kmem/Mksrc
lsof_4.49/dialects/hpux/kmem/dfile.c
lsof_4.49/dialects/hpux/kmem/dlsof.h
lsof_4.49/dialects/hpux/kmem/dmnt.c
lsof_4.49/dialects/hpux/kmem/dnode.c
lsof_4.49/dialects/hpux/kmem/dnode1.c
lsof_4.49/dialects/hpux/kmem/dnode2.c
lsof_4.49/dialects/hpux/kmem/dproc.c
lsof_4.49/dialects/hpux/kmem/dproto.h
lsof_4.49/dialects/hpux/kmem/dsock.c
lsof_4.49/dialects/hpux/kmem/dstore.c
lsof_4.49/dialects/hpux/kmem/machine.h
lsof_4.49/dialects/hpux/kmem/hpux11/
lsof_4.49/dialects/hpux/kmem/hpux11/rnode.h
lsof_4.49/dialects/hpux/kmem/hpux11/vnode.h
lsof_4.49/dialects/hpux/kmem/hpux11/kernbits.h
lsof_4.49/dialects/hpux/kmem/hpux11/proc.h
lsof_4.49/dialects/hpux/kmem/hpux11/nfs_clnt.h
lsof_4.49/dialects/hpux/kmem/hpux11/lla.h
lsof_4.49/dialects/hpux/kmem/hpux11/sth.h
lsof_4.49/dialects/hpux/kmem/hpux11/ipc_s.h
lsof_4.49/dialects/hpux/kmem/hpux11/udp_s.h
lsof_4.49/dialects/hpux/kmem/hpux11/tcp_s.h
lsof_4.49/dialects/linux/
lsof_4.49/dialects/linux/kmem/
lsof_4.49/dialects/linux/kmem/patches/
lsof_4.49/dialects/linux/kmem/patches/Linux-mouse-module.patch
lsof_4.49/dialects/linux/kmem/Makefile
lsof_4.49/dialects/linux/kmem/Makefile.lseek
lsof_4.49/dialects/linux/kmem/Mksrc
lsof_4.49/dialects/linux/kmem/__lseek.s
lsof_4.49/dialects/linux/kmem/dfile.c
lsof_4.49/dialects/linux/kmem/dlsof.h
lsof_4.49/dialects/linux/kmem/dmnt.c
lsof_4.49/dialects/linux/kmem/dnode.c
lsof_4.49/dialects/linux/kmem/dproc.c
lsof_4.49/dialects/linux/kmem/dproto.h
lsof_4.49/dialects/linux/kmem/dsock.c
lsof_4.49/dialects/linux/kmem/dstore.c
lsof_4.49/dialects/linux/kmem/machine.h
lsof_4.49/dialects/linux/proc/
lsof_4.49/dialects/linux/proc/Makefile
lsof_4.49/dialects/linux/proc/machine.h
lsof_4.49/dialects/linux/proc/Mksrc
lsof_4.49/dialects/linux/proc/dfile.c
lsof_4.49/dialects/linux/proc/dlsof.h
lsof_4.49/dialects/linux/proc/dmnt.c
lsof_4.49/dialects/linux/proc/dnode.c
lsof_4.49/dialects/linux/proc/dproc.c
lsof_4.49/dialects/linux/proc/dproto.h
lsof_4.49/dialects/linux/proc/dsock.c
lsof_4.49/dialects/linux/proc/dstore.c
lsof_4.49/dialects/linux/proc/patches/
lsof_4.49/dialects/linux/proc/patches/net_ipx_af_ipx.c.patch
lsof_4.49/dialects/linux/proc/patches/README
lsof_4.49/dialects/n+obsd/
lsof_4.49/dialects/n+obsd/dnode.c
lsof_4.49/dialects/n+obsd/dsock.c
lsof_4.49/dialects/n+obsd/Mksrc
lsof_4.49/dialects/n+obsd/dlsof.h
lsof_4.49/dialects/n+obsd/dmnt.c
lsof_4.49/dialects/n+obsd/dproc.c
lsof_4.49/dialects/n+obsd/dstore.c
lsof_4.49/dialects/n+obsd/dnode1.c
lsof_4.49/dialects/n+obsd/machine.h
lsof_4.49/dialects/n+obsd/Makefile
lsof_4.49/dialects/n+obsd/dproto.h
lsof_4.49/dialects/du/
lsof_4.49/dialects/du/dlsof.h
lsof_4.49/dialects/du/Mksrc
lsof_4.49/dialects/du/dnode.c
lsof_4.49/dialects/du/ddev.c
lsof_4.49/dialects/du/dmnt.c
lsof_4.49/dialects/du/dproc.c
lsof_4.49/dialects/du/dstore.c
lsof_4.49/dialects/du/dproto.h
lsof_4.49/dialects/du/dsock.c
lsof_4.49/dialects/du/dfile.c
lsof_4.49/dialects/du/machine.h
lsof_4.49/dialects/du/Makefile
lsof_4.49/dialects/osr/
lsof_4.49/dialects/osr/include/
lsof_4.49/dialects/osr/include/sys/
lsof_4.49/dialects/osr/include/sys/cdefs.h
lsof_4.49/dialects/osr/include/netdb.h
lsof_4.49/dialects/osr/dproc.c
lsof_4.49/dialects/osr/Mksrc
lsof_4.49/dialects/osr/dlsof.h
lsof_4.49/dialects/osr/dmnt.c
lsof_4.49/dialects/osr/dsock.c
lsof_4.49/dialects/osr/dstore.c
lsof_4.49/dialects/osr/dfile.c
lsof_4.49/dialects/osr/dnode.c
lsof_4.49/dialects/osr/machine.h
lsof_4.49/dialects/osr/Makefile
lsof_4.49/dialects/osr/dproto.h
lsof_4.49/dialects/bsdi/
lsof_4.49/dialects/bsdi/Mksrc
lsof_4.49/dialects/bsdi/dfile.c
lsof_4.49/dialects/bsdi/Makefile
lsof_4.49/dialects/bsdi/dproc.c
lsof_4.49/dialects/bsdi/dproto.h
lsof_4.49/dialects/bsdi/dsock.c
lsof_4.49/dialects/bsdi/dstore.c
lsof_4.49/dialects/bsdi/machine.h
lsof_4.49/dialects/bsdi/dlsof.h
lsof_4.49/dialects/bsdi/dmnt.c
lsof_4.49/dialects/bsdi/dnode.c
lsof_4.49/dialects/uw/
lsof_4.49/dialects/uw/uw21/
lsof_4.49/dialects/uw/uw21/fs/
lsof_4.49/dialects/uw/uw21/fs/proc/
lsof_4.49/dialects/uw/uw21/fs/proc/prdata.h
lsof_4.49/dialects/uw/uw21/fs/proc/README
lsof_4.49/dialects/uw/uw21/fs/procfs/
lsof_4.49/dialects/uw/uw21/fs/procfs/prdata.h
lsof_4.49/dialects/uw/uw21/fs/procfs/README
lsof_4.49/dialects/uw/uw21/sys/
lsof_4.49/dialects/uw/uw21/sys/fs/
lsof_4.49/dialects/uw/uw21/sys/fs/fifonode.h
lsof_4.49/dialects/uw/uw21/sys/fs/namenode.h
lsof_4.49/dialects/uw/uw21/vm/
lsof_4.49/dialects/uw/Makefile
lsof_4.49/dialects/uw/Mksrc
lsof_4.49/dialects/uw/dfile.c
lsof_4.49/dialects/uw/dlsof.h
lsof_4.49/dialects/uw/dmnt.c
lsof_4.49/dialects/uw/dnode.c
lsof_4.49/dialects/uw/dnode1.c
lsof_4.49/dialects/uw/dnode2.c
lsof_4.49/dialects/uw/machine.h
lsof_4.49/dialects/uw/dsock.c
lsof_4.49/dialects/uw/uw7/
lsof_4.49/dialects/uw/uw7/vm/
lsof_4.49/dialects/uw/uw7/sys/
lsof_4.49/dialects/uw/uw7/sys/fs/
lsof_4.49/dialects/uw/uw7/sys/fs/namenode.h
lsof_4.49/dialects/uw/uw7/sys/fs/fifonode.h
lsof_4.49/dialects/uw/uw7/fs/
lsof_4.49/dialects/uw/uw7/fs/procfs/
lsof_4.49/dialects/uw/uw7/fs/procfs/prdata.h
lsof_4.49/dialects/uw/uw7/fs/procfs/README
lsof_4.49/dialects/uw/dstore.c
lsof_4.49/dialects/uw/dproc.c
lsof_4.49/dialects/uw/dproto.h
lsof_4.49/dialects/uw/dnode3.c
lsof_4.49/dialects/ptx/
lsof_4.49/dialects/ptx/Makefile
lsof_4.49/dialects/ptx/Mksrc
lsof_4.49/dialects/ptx/dfile.c
lsof_4.49/dialects/ptx/dlsof.h
lsof_4.49/dialects/ptx/dmnt.c
lsof_4.49/dialects/ptx/dnode.c
lsof_4.49/dialects/ptx/dproc.c
lsof_4.49/dialects/ptx/dproto.h
lsof_4.49/dialects/ptx/dsock.c
lsof_4.49/dialects/ptx/dstore.c
lsof_4.49/dialects/ptx/machine.h
lsof_4.49/dialects/ptx/dnode2.c
lsof_4.49/dialects/ptx/dnode1.c
lsof_4.49/dialects/ptx/ddev.c
lsof_4.49/dialects/pyramid/
lsof_4.49/dialects/pyramid/Mksrc
lsof_4.49/dialects/pyramid/dfile.c
lsof_4.49/dialects/pyramid/dproc.c
lsof_4.49/dialects/pyramid/dlsof.h
lsof_4.49/dialects/pyramid/dmnt.c
lsof_4.49/dialects/pyramid/dnode.c
lsof_4.49/dialects/pyramid/dnode1.c
lsof_4.49/dialects/pyramid/dnode2.c
lsof_4.49/dialects/pyramid/dsock.c
lsof_4.49/dialects/pyramid/dproto.h
lsof_4.49/dialects/pyramid/dstore.c
lsof_4.49/dialects/pyramid/machine.h
lsof_4.49/dialects/pyramid/MkKernOpts
lsof_4.49/dialects/pyramid/Makefile
lsof_4.49/dialects/pyramid/dnode3.c
lsof_4.49/arg.c
lsof_4.49/lib/
lsof_4.49/lib/cvfs.c
lsof_4.49/lib/dvch.c
lsof_4.49/lib/fino.c
lsof_4.49/lib/isfn.c
lsof_4.49/lib/lkud.c
lsof_4.49/lib/prfp.c
lsof_4.49/lib/rdev.c
lsof_4.49/lib/rmnt.c
lsof_4.49/lib/rnam.c
lsof_4.49/lib/rnch.c
lsof_4.49/lib/pdvn.c
lsof_4.49/lib/Makefile.skel
lsof_4.49/lib/rnmh.c
lsof_4.49/lib/ckkv.c
lsof_4.49/lib/ptti.c
lsof_4.49/lsof.h
lsof_4.49/lsof_fields.h
lsof_4.49/main.c
lsof_4.49/misc.c
lsof_4.49/node.c
lsof_4.49/print.c
lsof_4.49/proc.c
lsof_4.49/proto.h
lsof_4.49/scripts/
lsof_4.49/scripts/idrlogin.perl5
lsof_4.49/scripts/list_fields.awk
lsof_4.49/scripts/idrlogin.perl
lsof_4.49/scripts/00README
lsof_4.49/scripts/count_pf.perl5
lsof_4.49/scripts/watch_a_file.perl
lsof_4.49/scripts/big_brother.perl5
lsof_4.49/scripts/00MANIFEST
lsof_4.49/scripts/list_NULf.perl5
lsof_4.49/scripts/list_fields.perl
lsof_4.49/scripts/count_pf.perl
lsof_4.49/scripts/xusers.awk
lsof_4.49/scripts/identd.perl5
lsof_4.49/scripts/shared.perl5
lsof_4.49/store.c
lsof_4.49/usage.c
lsof_4.49/version
lsof_4.49/lsof.8
lsof_4.49/lsof.man
javaservice:/usr/src/lsof# cd lsof_4.49
javaservice:/usr/src/lsof/lsof_4.49# ls

total 1080
   4 00.README.FIRST    36 00QUICKSTART     4 lib/             24 proc.c
   8 00CREDITS          56 00README        96 lsof.8           12 proto.h
  32 00DCACHE           20 00XCONFIG       20 lsof.h            4 scripts/
   4 00DIALECTS          8 AFSConfig*     112 lsof.man         16 store.c
  88 00DIST             92 Configure*       8 lsof_fields.h    16 usage.c
156 00FAQ              24 Customize*      24 main.c            4 version
   4 00LSOF-L            8 Inventory*      28 misc.c
   4 00MANIFEST         40 arg.c            8 node.c
  56 00PORTING           4 dialects/       60 print.c
javaservice:/usr/src/lsof/lsof_4.49# ./Configure
No target dialect was specified.
Usage: Configure <options> <target-dialect>
  <options>:  -clean        : clean up previous configuration
              -d|-dialects  : display a list of supported dialect versions
              -h|-help      : display help information
              -n            : avoid AFS, customization, and inventory checks
  <target-dialect> (****USE -d TO GET TESTED DIALECT VERSION NUMBERS****):
    aix|aixgcc              : IBM AIX xlc (aix) or gcc (aixgcc)
    bsdi                    : BSDI BSD/OS
    decosf                  : DEC OSF/1
    digital_unix|du         : Digital UNIX
    freebsd                 : FreeBSD
    hpux|hpuxgcc            : HP-UX cc (hpux) or gcc (hpuxgcc)
    linux                   : Linux
    netbsd                  : NetBSD
    nextstep|next|ns|nxt    : NEXTSTEP
    openbsd                 : OpenBSD
    openstep|os             : OpenStep
    osr|sco                 : SCO OpenServer, SCO devloper's compiler
    osrgcc|scogcc           : SCO OpenServer, gcc compiler
    pyramid|pyr             : Pyramid DC/OSx and Reliant UNIX
    ptx                     : Sequent PTX
    solaris|solariscc       : Solaris gcc (solaris) or cc (solariscc)
    sunos|sunoscc           : SunOS gcc (sunos) or cc (sunoscc)
    tru64                   : Tru64 UNIX
    ultrix                  : Ultrix
    unixware|uw             : SCO UnixWare
javaservice:/usr/src/lsof/lsof_4.49# ./Configure linux
Testing C library type with cc ... done
The C library type is glibc, version "-DGLIBCV=201".
Configuring /proc-based Linux lsof

This configuration step (the Inventory script) takes inventory of
the lsof distribution.  The script runs for a minute or two while
it checks that all the subdirectories, information files, scripts,
header files and source files that should be present really are.

It's not absolutely necessary that you take inventory, but it's a
good idea to do it right after the lsof distribution has been
unpacked.  Once the inventory has been taken, this script creates
the file ./.ck00MAN as a signal that the inventory step has been
done.

You can call the Inventory script directly at any time to take
inventory.  You can inhibit the inventory step permanently by
creating the file ./.neverInv, and you can tell the Configure script
to skip the inventory and customization steps with the -n option.

Do you want to take inventory (y|n) [y]?

Conducting an inventory of the lsof distribution; this will take a while.

Examining /usr/src/lsof/lsof_4.49: OK
Examining dialects: OK
Examining dialects/aix: OK
Examining dialects/bsdi: OK
Examining dialects/du: OK
Examining dialects/freebsd: OK
Examining dialects/freebsd/include: OK
Examining dialects/freebsd/include/procfs: OK
Examining dialects/hpux: OK
Examining dialects/hpux/kmem: OK
Examining dialects/hpux/kmem/hpux11: OK
Examining dialects/linux: OK
Examining dialects/linux/kmem: OK
Examining dialects/linux/kmem/patches: OK
Examining dialects/linux/proc: OK
Examining dialects/linux/proc/patches: OK
Examining dialects/n+obsd: OK
Examining dialects/n+os: OK
Examining dialects/osr: OK
Examining dialects/osr/include: OK
Examining dialects/osr/include/sys: OK
Examining dialects/ptx: OK
Examining dialects/pyramid: OK
Examining dialects/sun: OK
Examining dialects/sun/include: OK
Examining dialects/sun/include/sys: OK
Examining dialects/ultrix: OK
Examining dialects/uw: OK
Examining dialects/uw/uw21: OK
Examining dialects/uw/uw21/fs: OK
Examining dialects/uw/uw21/fs/proc: OK
Examining dialects/uw/uw21/fs/procfs: OK
Examining dialects/uw/uw21/sys: OK
Examining dialects/uw/uw21/sys/fs: OK
Examining dialects/uw/uw21/vm: OK
Examining dialects/uw/uw7: OK
Examining dialects/uw/uw7/fs: OK
Examining dialects/uw/uw7/fs/procfs: OK
Examining dialects/uw/uw7/sys: OK
Examining dialects/uw/uw7/sys/fs: OK
Examining dialects/uw/uw7/vm: OK
Examining lib: OK
Examining scripts: OK

This lsof distribution seems to be complete.

rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c kerne
lbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile
ln -s dialects/linux/proc/dfile.c dfile.c
ln -s dialects/linux/proc/dlsof.h dlsof.h
ln -s dialects/linux/proc/dmnt.c dmnt.c
ln -s dialects/linux/proc/dnode.c dnode.c
ln -s dialects/linux/proc/dproc.c dproc.c
ln -s dialects/linux/proc/dproto.h dproto.h
ln -s dialects/linux/proc/dsock.c dsock.c
ln -s dialects/linux/proc/dstore.c dstore.c
ln -s dialects/linux/proc/machine.h machine.h
Makefile and lib/Makefile created.

You may now customize the machine.h header file for this UNIX
dialect.  The customizations will take effect when you compile
lsof.  You may also choose to skip customization and proceed to
the compilation of lsof.

If you don't know if you need to customize or want to know more
about what you can customize, consult the 00DCACHE, 00FAQ, 00PORTING,
and 00README files of the lsof distribution.  You might also find
it helpful to examine the machine.h header file for the dialect
you're customizing.

You don't need to use this procedure to customize lsof; you can
edit the machine.h header file directly.  If you later decide you
want to use this procedure to customize machine.h, execute the
./Customize script.

Do you want to customize (y|n) [y]?

Customizing ...

=====================================================================

When HASSECURITY is enabled, only the root user may use lsof to
examine all open files; other users may examine only the files
belonging to the real user ID of their lsof process.

When HASSECURITY is disabled, anyone may use lsof to examine all
open files.

HASSECURITY is disabled.

Enable HASSECURITY (y|n) [n]?

HASSECURITY will not be changed.

=====================================================================

When WARNINGSTATE is enabled, lsof will will issue whatever warning
messages it finds necessary.  When WARNINGSTATE is disabled, lsof
will issue no warning messages.  For individual uses of lsof, -w
disables warning state and +w enables it.

WARNINGSTATE is enabled.

Disable WARNINGSTATE? (y|n) [n]?

WARNINGSTATE will not be changed.

=====================================================================

A new machine.h file has been created in "new_machine.h".

Do you want to rename machine.h to machine.h.old and replace it with
new_machine.h (y|n) [y]?

You may now run the make command -- e.g.,

        $ make

javaservice:/usr/src/lsof/lsof_4.49#
javaservice:/usr/src/lsof/lsof_4.49# make
(cd lib; make DEBUG="-O" CFGF="-DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2
.2.12-20kr\"")
make[1]: Entering directory `/usr/src/lsof/lsof_4.49/lib'
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c ckkv.c
-o ckkv.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c cvfs.c
-o cvfs.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c dvch.c
-o dvch.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c fino.c
-o fino.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c isfn.c
-o isfn.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c lkud.c
-o lkud.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c pdvn.c
-o pdvn.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c prfp.c
-o prfp.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c ptti.c
-o ptti.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c rdev.c
-o rdev.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c rmnt.c
-o rmnt.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c rnam.c
-o rnam.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c rnch.c
-o rnch.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR="2.2.12-20kr"  -O   -c rnmh.c
-o rnmh.o
ar cr liblsof.a ckkv.o cvfs.o dvch.o fino.o isfn.o lkud.o pdvn.o prfp.o ptti.o rdev.
o rmnt.o rnam.o rnch.o rnmh.o
ranlib liblsof.a
make[1]: Leaving directory `/usr/src/lsof/lsof_4.49/lib'
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c dfi
le.c -o dfile.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c dmn
t.c -o dmnt.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c dno
de.c -o dnode.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c dpr
oc.c -o dproc.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c dso
ck.c -o dsock.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c dst
ore.c -o dstore.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c arg
.c -o arg.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c mai
n.c -o main.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c mis
c.c -o misc.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c nod
e.c -o node.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c pri
nt.c -o print.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c pro
c.c -o proc.o
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c sto
re.c -o store.o
Constructing version.h
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c usa
ge.c -o usage.o
cc -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.
o print.o proc.o store.o usage.o -L./lib -llsof
javaservice:/usr/src/lsof/lsof_4.49# make install
(cd lib; make DEBUG="-O" CFGF="-DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2
.2.12-20kr\"")
make[1]: Entering directory `/usr/src/lsof/lsof_4.49/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/lsof/lsof_4.49/lib'
Constructing version.h
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c usa
ge.c -o usage.o
cc -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.
o print.o proc.o store.o usage.o -L./lib -llsof

Please write your own install rule.  Lsof should be installed
setuid to root if you wish any lsof user to be able to examine
all open files.  Your install rule actions might look something
like this:

    install -m 4xxx -o root -g <group> ${PROG} ${BIN}
    install -m 444 ${MAN} ${DOC}

You will have to complete the 4xxx modes, the <group> value,
and the skeletons for the BIN and DOC strings, given at the
beginning of this Makefile, e.g.,

    BIN= ${DESTDIR}/usr/local/etc
    DOC= ${DESTDIR}/usr/man/man8
    GRP= sys

javaservice:/usr/src/lsof/lsof_4.49# ls
total 1364
   4 00.README.FIRST     8 Inventory*     0 dsock.c@          12 misc.o
   8 00CREDITS           4 Makefile      24 dsock.o            8 node.c
  32 00DCACHE           40 arg.c          0 dstore.c@          4 node.o
   4 00DIALECTS         16 arg.o          4 dstore.o          60 print.c
  88 00DIST              0 dfile.c@       4 lib/              20 print.o
156 00FAQ               4 dfile.o      104 lsof*             24 proc.c
   4 00LSOF-L            4 dialects/     96 lsof.8            12 proc.o
   4 00MANIFEST          0 dlsof.h@      20 lsof.h            12 proto.h
  56 00PORTING           0 dmnt.c@      112 lsof.man           4 scripts/
  36 00QUICKSTART        4 dmnt.o         8 lsof_fields.h     16 store.c
  56 00README            0 dnode.c@      16 machine.h          8 store.o
  20 00XCONFIG           8 dnode.o        0 machine.h.old@    16 usage.c
   8 AFSConfig*          0 dproc.c@      24 main.c            12 usage.o
  92 Configure*         12 dproc.o       16 main.o             4 version
  24 Customize*          0 dproto.h@     28 misc.c             4 version.h
javaservice:/usr/src/lsof/lsof_4.49# make install
(cd lib; make DEBUG="-O" CFGF="-DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2
.2.12-20kr\"")
make[1]: Entering directory `/usr/src/lsof/lsof_4.49/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/lsof/lsof_4.49/lib'
Constructing version.h
cc  -DLINUXV=22012 -DGLIBCV=201 -DHASIPv6 -DLSOF_VSTR=\"2.2.12-20kr\"    -O   -c usa
ge.c -o usage.o
cc -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.
o print.o proc.o store.o usage.o -L./lib -llsof

Please write your own install rule.  Lsof should be installed
setuid to root if you wish any lsof user to be able to examine
all open files.  Your install rule actions might look something
like this:

    install -m 4xxx -o root -g <group> ${PROG} ${BIN}
    install -m 444 ${MAN} ${DOC}

You will have to complete the 4xxx modes, the <group> value,
and the skeletons for the BIN and DOC strings, given at the
beginning of this Makefile, e.g.,

    BIN= ${DESTDIR}/usr/local/etc
    DOC= ${DESTDIR}/usr/man/man8
    GRP= sys

javaservice:/usr/src/lsof/lsof_4.49# install -m 4755 -o root -g root lsof /usr/local/bin
javaservice:/usr/src/lsof/lsof_4.49# mkdir /usr/local/man/man8
javaservice:/usr/src/lsof/lsof_4.49# cp lsof.8 /usr/local/man/man8/
javaservice:/usr/src/lsof/lsof_4.49#
javaservice:/usr/src/lsof/lsof_4.49#



PS: solaris 용 lsof 는 아래 문서를 참조하세요.
http://www.javaservice.net/~java/bbs/read.cgi?m=unix&b=unix&c=r_p&n=991922524

PS: AIX용 binary 파일 첨부합니다. (lsof_aix_binary.tar)
   그러나 가급적, 소스를(lsof_4.56_W.tar.gz) 다운받아 직접 컴파일하세요




:
Posted by 라면스프