블로그 내용 위키로 정리하기

이직 준비하기 -_-a

출산 준비하기

이사 준비하기

다이어트 하기!!!!!!!



개인공부 할 시간이 있을지 모르겠지만.. 공부욕심을 늘리고 공부 과목은 줄이고..

- openGL 끝내자 쫌 ㅠㅠ

- cuda 끝내자 ㅠㅠ


'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

뜬금포 칼 가는 취미!  (0) 2015.01.03
멀 해야 하려나...  (0) 2015.01.02
수습기간이 끝나가네.. + 수능전날  (0) 2014.11.12
다음주 부터 출근..  (4) 2014.08.21
아직도 퇴사가 된게 아니었나?  (4) 2014.08.20
Posted by 구차니
개소리 왈왈/블로그2014. 12. 31. 21:51

올해의 잘한 일 : 결혼

올해의 잘못 한 일 : 취업?


아무튼.. 2015년에는 더 나은 한해가 되길!


다이어트 라던가..

돈이라던가? ㅋㅋ

Posted by 구차니
Linux2014. 12. 30. 22:06

top을 보다가 cpu 상태 정보의 내용이 궁금해져서 조사..

Cpu(s):  0.2%us,  0.2%sy,  0.0%ni, 99.5%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st

user / system / low nice / idle / io wait / hard IRQ / soft IRQ / steal

가장 큰 비중을 차지 할 앞의 두개 정도를 더하면 실제 사용량이라고 해야하나

아니면 100% 에서 세번째 idle을 뺀걸 보면 되려나?

그리고 DomU라.. 가상화 쓸 경우에 대해서는 따로 잡히는 건가 보네..


2c. SUMMARY Area Fields

The summary area fields describing CPU statistics are abbreviated. They provide information about times spent in: us = user mode sy = system mode ni = low priority user mode (nice) id = idle task wa = I/O waiting hi = servicing IRQs si = servicing soft IRQs st = steal (time given to other DomU instances)



1을 누르면 top도 cpu별로 점유율을 볼 수 있다!

3b. SUMMARY Area Commands

The summary area interactive commands are always available in both full-screen mode and alternate-display mode. They affect the beginning lines of your display and will determine the position of messages and prompts.

These commands always impact just the 'current' window/field group. See topic 4. ALTERNATE-DISPLAY Mode and the 'G' interactive command for insight into 'current' windows and field groups.


'l' :Toggle_Load_Average/Uptime -- On/Off

This is also the line containing the program name (possibly an alias) when operating in full-screen mode or the 'current' window name when operating in alternate-display mode.

'm' :Toggle_Memory/Swap_Usage -- On/Off

This command affects two summary area lines.

't' :Toggle_Task/Cpu_States -- On/Off

This command affects from 2 to many summary area lines, depending on the state of the '1' toggle and whether or not top is running under true SMP.

'1' :Toggle_Single/Separate_Cpu_States -- On/Off

This command affects how the 't' command's Cpu States portion is shown. Although this toggle exists primarily to serve massively-parallel SMP machines, it is not restricted to solely SMP environments.

When you see 'Cpu(s):' in the summary area, the '1' toggle is On and all cpu information is gathered in a single line. Otherwise, each cpu is displayed separately as: 'Cpu0, Cpu1, ...' 





[링크 : http://linux.die.net/man/1/top]

2010/09/12 - [Linux] - top (1) - load average ?


'Linux' 카테고리의 다른 글

cpu 활성화 기능 확인하기  (0) 2015.02.06
ntp monlist  (0) 2015.01.22
스크립트 상대경로를 절대경로로 변환하기  (0) 2014.12.30
lightdm 실행하지 않도록 하기  (0) 2014.12.24
우분투 Atom Z510 하드웨어 지원 중단  (0) 2014.12.24
Posted by 구차니
프로그램 사용/lighttpd2014. 12. 30. 21:50

먼진 모르겠고 그냥 검색하다 나와서 일단 기록..


[링크 : http://lighttpd-websocket-fd-transfer.blogspot.kr/2012/04/lighttpd-websocket-plugin-modfdtransfer.html]

[링크 : https://github.com/aalap-shah/lighttpd-mod_fd_transfer]

[링크 : http://oriolrius.cat/blog/2013/09/25/server-send-push-notifications-to-client-browser-without-polling/]

'프로그램 사용 > lighttpd' 카테고리의 다른 글

lighttpd cgi.assign  (0) 2017.07.28
lighttpd epoll  (0) 2015.07.28
Posted by 구차니
Linux2014. 12. 30. 15:05

쉘 스크립트에서 아래와 같이 readlink -e를 이용하면 되는데..

VAR = `readlink -e ${PWD}/../../` 


man page 상을는 존재하는 경로에 한해서 실행하라고 해서

무조건적으로 변환하는건 아닌거 같기도 하고.. 모호하다 모호해 ㅠㅠ

-f, --canonicalize

canonicalize by following every symlink in every component of the given name recursively; all but the last component must exist


-e, --canonicalize-existing

canonicalize by following every symlink in every component of the given name recursively, all components must exist


-m, --canonicalize-missing

canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence


[링크 : http://linux.die.net/man/1/readlink]


[링크 : http://stackoverflow.com/questions/4175264/retrieve-absolute-path-given-relative-linux-shell]

'Linux' 카테고리의 다른 글

ntp monlist  (0) 2015.01.22
top manpage  (0) 2014.12.30
lightdm 실행하지 않도록 하기  (0) 2014.12.24
우분투 Atom Z510 하드웨어 지원 중단  (0) 2014.12.24
linux X-window 축 뒤집기  (0) 2014.12.24
Posted by 구차니

externals에서 내 프로젝트에서 원하는 경로에

외부 저장소를 불러오거나

특정 리비전을 불러와야 할 경우에 대해서 사용하는 추가적인 기능이다


개인 리파지터리 만들어서 해봐야지..


---

2014.12.30 added


Step 1. 원하는 폴더에서 우클릭으로 TortoiseSVN - Properties

Step 2. Properties 창에서 New - Externals


Step 3. svn:externals - New


Step 4. Local path는 절대 경로가 아닌 우클릭한 경로 기준의 상대경로로

           프로젝트를 저장할 폴더명 만 적어 주면된다 -_ㅠ

           URL은 외부 프로젝트의 경로를 적어준다.

           아래의 Revision은 일단.. 항상 최신 버전을 받아와야 한다면 HEAD를 특정 리비전을 위해서는 Revision으로


Step 5. 별다른거 없이.. Added가 나오는데 프로젝트로 전부 추가되는거 봐서는...

           큰 프로젝트를 svn:externals로 추가할경우 상당한 시간이 걸릴 것으로 예상된다.


Step 6. svn:externals에 추가후에 commit을 하던 update 후에 commit을 하던

           뜨는건 modified(property change only) 라고 뜬다. 즉, 내 저장소의 용량에는 영향이 없다는 것?


Step 7. repo. browser로 보면 이렇게 바로가기로 출력된다.


---


[링크 : http://baboc.tistory.com/97]

[링크 : http://itbaby.egloos.com/4295117]

[링크 : http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html]

Posted by 구차니

아내님 허가를 받고 지름!



그나저나 넌 돈 돌려주는거니!?

막상 눌러보니 80% 더만?!


Posted by 구차니
개소리 왈왈/컴퓨터2014. 12. 26. 20:50

동일 기종이지만 동일 제품도 아니고

일단.. 비교 테스트가 불가능한 상황이지만...


예전 같으면 10개 넘어가면 블루스크린 띄우며서 죽었을텐데

리눅스라서 안죽는 걸려나?


[링크 : http://www.marvell.com/wireless/assets/8686.pdf]



Posted by 구차니

SDIO는 SD 메모리 카드의 인터페이스 이지만

몇몇업체에서는 벤더 확장으로

USB 호스트라던가 / 웹캠 / wireless lan 등을 SDIO를 통해서 사용할 수 있도록 제공 하다고 한다.

그러고 보니.. SD 인터페이스의 데이터 전송 속도 제한이 궁금해 지는데..


머.. 가장 오래된 표준 규격에도 12.5MB/s 이니까

Fast Ethernet이라던가 802.11g/n 정도 까지는 어떻게든 커버가 가능한 수준이다.



[링크 : http://processors.wiki.ti.com/index.php/SDIO_WLAN]

[링크 : http://en.wikipedia.org/wiki/Secure_Digital#SDIO]

[링크 : https://wiki.freebsd.org/SDIO]

'이론 관련 > 하드웨어 관련' 카테고리의 다른 글

adc - single ended / differential  (0) 2015.11.17
adc - 시그마델타 / SAR  (0) 2015.11.16
가속도/각속도/기울기 센서  (0) 2015.08.25
NTC 온도센서?  (0) 2015.08.07
ADC 원리  (3) 2010.08.09
Posted by 구차니
개소리 왈왈/컴퓨터2014. 12. 24. 23:11

우분투 12.04.4 LTS로 설치했더니

설치중에 한번 해상도 변경되는지 먹통이 되어

두번째 시도시에는 사용자 입력 이후에

ctrl-alt-f6을 눌러 콘솔을 바꿔버리고 top으로 진척도를 보다

완료후에 ctrl-alt-f7로 복귀하여 정상적으로 설치 종료함


내 장비의 경우에는 x,y 축이 바뀌어 있어서

direction=4로 x,y축을 바꾸어 주고 opengalax 를 실행하고

나온 값을 다시 opengalax.conf에 넣어주었다.




터치마우스 설치 및 설정

$ sudo add-apt-repository ppa:poliva/opengalax

$ sudo apt-get update

$ sudo apt-get install opengalax

$ sudo service opengalax stop


$ sudo vi /etc/opengalax.conf

# opengalax configuration file

#### config data:

serial_device=/dev/serio_raw0

uinput_device=/dev/uinput

rightclick_enable=1

rightclick_duration=350

rightclick_range=10

# direction: 0 = normal, 1 = invert X, 2 = invert Y, 4 = swap X with Y

direction=4

# set psmouse=1 if you have a mouse connected into the same port

# this usually requires i8042.nomux=1 and i8042.reset kernel parameters

psmouse=0


#### calibration data:

# - values should range from 0 to 2047

# - right/bottom must be bigger than left/top

# left edge value:

xmin=0

# right edge value:

xmax=2047

# top edge value:

ymin=0

# bottom edge value:

ymax=2047


$ sudo opengalax -c

opengalax v0.4


Configuration data:

        serial_device=/dev/serio_raw0

        uinput_device=/dev/uinput

        rightclick_enable=1

        rightclick_duration=350

        rightclick_range=10

        direction=4

        psmouse=0


Calibration data:

        xmin=0

        xmax=2047

        ymin=0

        ymax=2047


pannel initialized

Move the mouse around the screen to calibrate.

When done click Ctrl+C to exit.

Remember to edit /etc/opengalax.conf and save your calibration values


     xmin=206  xmax=2119  ymin=143  ymax=1951


$ sudo vi /etc/opengalax.conf

# opengalax configuration file

#### config data:

serial_device=/dev/serio_raw0

uinput_device=/dev/uinput

rightclick_enable=1

rightclick_duration=350

rightclick_range=10

# direction: 0 = normal, 1 = invert X, 2 = invert Y, 4 = swap X with Y

direction=4

# set psmouse=1 if you have a mouse connected into the same port

# this usually requires i8042.nomux=1 and i8042.reset kernel parameters

psmouse=0


#### calibration data:

# - values should range from 0 to 2047

# - right/bottom must be bigger than left/top

# left edge value:

xmin=206

# right edge value:

xmax=2119

# top edge value:

ymin=143

# bottom edge value:

ymax=1951 


$ sudo service opengalax restart


[링크 : http://cafe.naver.com/umid/16190]

Posted by 구차니