Linux2016. 1. 19. 17:49

엥? 이거 글 적은적 없었나?

htop을 선호하는데 이런 스타일의

파일별 읽기/쓰기 감시 프로그램


$ sudo apt-cache search iotop

iotop - simple top-like I/O monitor


sudo로 실행안하면 구동이 안된다.


[링크 : http://guichaz.free.fr/iotop/]

[링크 : http://www.binarytides.com/linux-system-monitoring-tools/]



lsof

[링크 : http://stackoverflow.com/questions/1183023/tool-which-shows-me-which-files-are-written-in-linux]


+

2019.03.14

특정 프로세스에서 얼마나 써대는지 보기에는 얘가 최고인듯

[링크 : https://unix.stackexchange.com/questions/55212/how-can-i-monitor-disk-io]

'Linux' 카테고리의 다른 글

리눅스용 비디오 편집 프로그램  (0) 2016.03.02
objdump  (0) 2016.02.18
리눅스에서 메모리 뱅크 확인하기  (0) 2015.10.30
IIO - Industrial I/O  (2) 2015.09.03
insmod / modprobe 차이  (0) 2015.08.25
Posted by 구차니
Linux/Ubuntu2016. 1. 4. 17:55

network-manager가 기본이긴 하나..

wpa2가 안된다고하니 wicd를 써보라는 지인의 조언...


[링크 : https://help.ubuntu.com/community/WICD]

[링크 : http://wicd.sourceforge.net/]

-> [링크 : https://launchpad.net/wicd]



+

UI만 바뀌지 그게 그거인 기분..

어짜피 안 잡힐놈은 안 잡히는건 동일한건가..

'Linux > Ubuntu' 카테고리의 다른 글

LXDE 에서는... XDMCP 미지원?  (0) 2016.02.04
xdrp  (0) 2016.02.02
리눅스 콘솔 한글 출력?  (0) 2016.01.04
debian openbox 단축키  (0) 2016.01.04
lubuntu xtem scrollbar  (0) 2016.01.02
Posted by 구차니
Linux/Ubuntu2016. 1. 4. 17:30

될려나.. 나중에 해봐야지


LANG="ko_KR.eucKR"

SUPPORTED="en_US.UTF-8:en_US:en:ko_KR.eucKR:ko_KR:ko"

SYSFONT="lat0-sun16"

SYSFONTACM="8859-15"

[링크 : http://compeople.tistory.com/68]


/etc/sysconfig/i18n

LANG="en_US.UTF-8" 

SUPPORTED="en_US.UTF-8:en_US:en" 

SYSFONT="latarcyrheb-sun16"

[링크 : https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-sysconfig-i18n.html]


LANG="ko_KR.UTF-8"

SYSFONT="latarcyrheb-sun16"

[링크 : http://iwithjoy.tistory.com/entry/CentOS-ssh-접속-한글깨짐-수정]



+

$ ls -al /usr/share/consolefonts


$ vi /etc/default/console-setup

# Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes

# 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes

# 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14

# and 16) and Fixed (sizes 13, 14, 15, 16 and 18).  Only when

# CODESET=Ethiopian: Goha (sizes 12, 14 and 16) and

# GohaClassic (sizes 12, 14 and 16).

# Set FONTFACE and FONTSIZE to empty strings if you want setupcon to

# set up the keyboard but to leave the console font unchanged.

FONTFACE="Fixed"

FONTSIZE="16"


# You can also directly specify nonstandard font or console map to load.

# Use space as separator if you want to load more than one font.

# You can use FONT_MAP in order to specify the Unicode map of the font

# in case the font doesn't have it embedded.


# FONT='lat9w-08.psf.gz brl-8x8.psf'

# FONT_MAP=/usr/share/consoletrans/lat9u.uni

# CONSOLE_MAP=/usr/local/share/consoletrans/my_special_encoding.acm


# You can also specify a screen size that setupcon will enforce.  This can not

# exceed what the current screen resolution can display according to the size of

# the loaded font.

#

# SCREEN_WIDTH=80

# SCREEN_HEIGHT=25



$ consolechars
The program 'consolechars' is currently not installed.  To run 'consolechars' please ask your administrator to install the package 'console-tools'


[링크 : http://unix.stackexchange.com/questions/30855/how-to-list-console-and-kernel-fonts]


'Linux > Ubuntu' 카테고리의 다른 글

xdrp  (0) 2016.02.02
wicd / network-manager ?  (0) 2016.01.04
debian openbox 단축키  (0) 2016.01.04
lubuntu xtem scrollbar  (0) 2016.01.02
으악 lubuntu 였지 ㅋㅋㅋ  (0) 2015.12.30
Posted by 구차니
Linux/Ubuntu2016. 1. 4. 10:34

lubuntu 에서 openbox를 채용하고 있는지 모르겠지만

윈도매니저에서의 단축키 찾는중..


Openbox default key combinations


Alt-F4 Close the active window

Alt-Space Show the client menu for the active window

Alt-Tab Cycle between windows on the desktop

Alt-Shift-Tab Cycle between windows on the desktop in reverse order

Control-Alt-Tab Cycle between panel and desktop windows on the desktop

Windows-D Hide all windows to show the desktop

Windows-E Run the Konqueror file manager (This is an example of how to run a program with a key binding)

Alt-Escape Lower the active window behind other windows, and activate the last window that was in use

Windows-F1 Go to the first desktop instantly

Windows-F2 Go to the second desktop instantly

Windows-F3 Go to the third desktop instantly

Windows-F4 Go to the fourth desktop instantly

Control-Alt-Left Open the desktop switching dialog, to go to the desktop to the left of the current one

Control-Alt-RightOpen the desktop switching dialog, to go to the desktop to the right of the current one

Control-Alt-Up Open the desktop switching dialog, to go to the desktop above the current one (This will only be useful if you use a pager to set up a desktop layout with multiple rows)

Control-Alt-Down Open the desktop switching dialog, to go to the desktop below the current one (This will only be useful if you use a pager to set up a desktop layout with multiple rows)

Shift-Alt-Left Open the desktop switching dialog, to go to the desktop to the left of the current one, and bring the active window with you

Shift-Alt-Right Open the desktop switching dialog, to go to the desktop to the right of the current one, and bring the active window with you

Shift-Alt-Up Open the desktop switching dialog, to go to the desktop above the current one, and bring the active window with you (This will only be useful if you use a pager to set up a desktop layout with multiple rows)

Shift-Alt-Down Open the desktop switching dialog, to go to the desktop below the current one, and bring the active window with you (This will only be useful if you use a pager to set up a desktop layout with multiple rows)

Alt-Left mouse button Move a window

Alt-Right mouse button Resize a window. The window is resized towards the edge that the mouse is nearest to. So use Alt-Right mouse button in the top right corner of a window to resize that corner.

Alt-Scroll wheel Change desktops forward and backward


[링크 : https://wiki.debian.org/Openbox#Keyboard_shortcuts]

'Linux > Ubuntu' 카테고리의 다른 글

wicd / network-manager ?  (0) 2016.01.04
리눅스 콘솔 한글 출력?  (0) 2016.01.04
lubuntu xtem scrollbar  (0) 2016.01.02
으악 lubuntu 였지 ㅋㅋㅋ  (0) 2015.12.30
우분투 hibernate(최대절전) / suspend(절전)  (0) 2015.12.29
Posted by 구차니
Linux/Ubuntu2016. 1. 2. 18:03

xterm은 설정이 되고

리부팅 이후에는 lxterm도 적용은 되나.. 클릭이나 드래그로는 안되서

우클릭을 해야 이전 페이지로 갈수 있다는건... 설정을 잘못한걸려나?


$ cat .Xresources

XTerm*scrollBar:        true

$ xrdb -merge ~/.Xresources


[링크 : https://www.debian-administration.org/article/66/Customizing_your_xterm] 


[링크 : http://www.aboutlinux.info/2005/10/configuring-xterm-in-linux.html]

[링크 : https://wiki.archlinux.org/index.php/Xterm]


흐음.. 이게 그나마 가장 자세한데.. 영안되네 ㅠㅠ

[링크 : http://beforewisdom.com/blog/tech/xterm-with-a-scrollbar/]



---

걍 lxterminal을 쓰자 ㅋㅋㅋ


ctrl-shift-t로 단축키


[링크 : http://askubuntu.com/questions/95435/term-xterm-or-uxterm]

'Linux > Ubuntu' 카테고리의 다른 글

리눅스 콘솔 한글 출력?  (0) 2016.01.04
debian openbox 단축키  (0) 2016.01.04
으악 lubuntu 였지 ㅋㅋㅋ  (0) 2015.12.30
우분투 hibernate(최대절전) / suspend(절전)  (0) 2015.12.29
pkg-config  (0) 2015.10.08
Posted by 구차니
Linux/Ubuntu2015. 12. 30. 20:54

gnome으로 찾으니 안나오지 ㅠㅠ

네트워크 아이피 설정하려고 쑈하는데

어떤 프로그램인지 몰라서 한참 헤메다가 이제야 생각났네..


$ nm-connection-editor




'Linux > Ubuntu' 카테고리의 다른 글

debian openbox 단축키  (0) 2016.01.04
lubuntu xtem scrollbar  (0) 2016.01.02
우분투 hibernate(최대절전) / suspend(절전)  (0) 2015.12.29
pkg-config  (0) 2015.10.08
htop 색상의미  (0) 2015.10.08
Posted by 구차니
Linux/Ubuntu2015. 12. 29. 15:11

음.. 우분투 x86 머신을

synology 처럼 네트워크 접속시 자동으로 깨어나도록 하고 싶어서

찾아 봤더니 키워드를 잘못 찾아서 헤메고 있었던 기분...


아무튼.. 범용제품으로는 ARM cpu를 채용한 녀석만큼

딱 입맛에 맞춰서 재웠다 깨웠다는 조금 힘들려나..

매번 WOL로 살리는것도 귀찮은데..


[링크 : http://blog.dustinkirkland.com/2009/02/ubuntu-server-suspendhibernateresume.html]

[링크 : http://askubuntu.com/questions/1792/how-can-i-suspend-hibernate-from-command-line]

[링크 : https://wiki.ubuntu.com/UnderstandingSuspend]

'Linux > Ubuntu' 카테고리의 다른 글

lubuntu xtem scrollbar  (0) 2016.01.02
으악 lubuntu 였지 ㅋㅋㅋ  (0) 2015.12.30
pkg-config  (0) 2015.10.08
htop 색상의미  (0) 2015.10.08
ubuntu 스크린샷(캡쳐) 프로그램  (0) 2015.09.22
Posted by 구차니
Linux2015. 10. 30. 14:51

cpu-z 처럼 어느 슬롯에 몇 기가가 있나 리눅스에서 확인법 검색..


$ sudo lshw -class memory

  *-firmware

       description: BIOS

       vendor: American Megatrends Inc.

       physical id: 0

       version: P1.50

       date: 09/07/2012

       size: 64KiB

       capacity: 4032KiB

       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification

  *-cache:0

       description: L2 cache

       physical id: 8

       slot: CPU Internal L2

       size: 512KiB

       capacity: 512KiB

       capabilities: internal write-through unified

  *-cache:1

       description: L1 cache

       physical id: 9

       slot: CPU Internal L1

       size: 128KiB

       capacity: 128KiB

       capabilities: internal write-through data

  *-cache:2

       description: L3 cache

       physical id: a

       slot: CPU Internal L3

       size: 2MiB

       capacity: 2MiB

       capabilities: internal write-back unified

  *-memory

       description: System Memory

       physical id: b

       slot: System board or motherboard

       size: 4GiB

     *-bank:0

          description: DIMM [empty]

          product: [Empty]

          vendor: [Empty]

          physical id: 0

          serial: [Empty]

          slot: ChannelA-DIMM0

     *-bank:1

          description: DIMM DDR3 Synchronous 1067 MHz (0.9 ns)

          product: Team-Elite-1600

          vendor: Fujitsu

          physical id: 1

          serial: 00000000

          slot: ChannelB-DIMM0

          size: 4GiB

          width: 64 bits

          clock: 1067MHz (0.9ns)


$ sudo dmidecode -t memory

# dmidecode 2.11

SMBIOS 2.7 present.


Handle 0x000B, DMI type 16, 23 bytes

Physical Memory Array

        Location: System Board Or Motherboard

        Use: System Memory

        Error Correction Type: None

        Maximum Capacity: 16 GB

        Error Information Handle: Not Provided

        Number Of Devices: 2


Handle 0x000D, DMI type 17, 34 bytes

Memory Device

        Array Handle: 0x000B

        Error Information Handle: Not Provided

        Total Width: Unknown

        Data Width: Unknown

        Size: No Module Installed

        Form Factor: DIMM

        Set: None

        Locator: ChannelA-DIMM0

        Bank Locator: BANK 0

        Type: Unknown

        Type Detail: None

        Speed: Unknown

        Manufacturer: [Empty]

        Serial Number: [Empty]

        Asset Tag: 9876543210

        Part Number: [Empty]

        Rank: Unknown

        Configured Clock Speed: Unknown


Handle 0x000E, DMI type 17, 34 bytes

Memory Device

        Array Handle: 0x000B

        Error Information Handle: Not Provided

        Total Width: 64 bits

        Data Width: 64 bits

        Size: 4096 MB

        Form Factor: DIMM

        Set: None

        Locator: ChannelB-DIMM0

        Bank Locator: BANK 2

        Type: DDR3

        Type Detail: Synchronous

        Speed: 1067 MHz

        Manufacturer: 04EF

        Serial Number: 00000000

        Asset Tag: 9876543210

        Part Number: Team-Elite-1600

        Rank: 2

        Configured Clock Speed: 1067 MHz 


[링크 : http://unix.stackexchange.com/.../how-to-determine-the-amount-of-ram-slots-in-use]

'Linux' 카테고리의 다른 글

objdump  (0) 2016.02.18
iotop  (0) 2016.01.19
IIO - Industrial I/O  (2) 2015.09.03
insmod / modprobe 차이  (0) 2015.08.25
리눅스 device tree  (0) 2015.04.29
Posted by 구차니
Linux/Ubuntu2015. 10. 8. 15:14

opencv 3.0.0을 빌드해서 올렸다.. 다시 돌릴려는데 영 안되네..



$ pkg-config opencv --libs

-L/usr/local/lib -lopencv_calib3d -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_hal -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_ml -lopencv_objdetect -lopencv_photo -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_video -lopencv_videoio -lopencv_videostab



$ sudo find / -name "*.pc" | grep opencv

/home/pi/src/openCV/opencv-3.0.0/build/unix-install/opencv.pc

/usr/lib/pkgconfig/opencv.pc

/usr/local/lib/pkgconfig/opencv.pc


$ sudo mv /usr/local/lib/pkgconfig/opencv.pc /usr/local/lib/pkgconfig/opencv.pc.bak


$ sudo ldconfig


$ pkg-config opencv --libs

-lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_photo -lopencv_stitching -lopencv_ts -lopencv_video -lopencv_videostab




정보는 바뀌는데 정작 빌드 하면 이상하게 된다.. ㅠㅠ

'Linux > Ubuntu' 카테고리의 다른 글

으악 lubuntu 였지 ㅋㅋㅋ  (0) 2015.12.30
우분투 hibernate(최대절전) / suspend(절전)  (0) 2015.12.29
htop 색상의미  (0) 2015.10.08
ubuntu 스크린샷(캡쳐) 프로그램  (0) 2015.09.22
우분투 시스템 온도 측정  (0) 2015.08.15
Posted by 구차니
Linux/Ubuntu2015. 10. 8. 10:28

그냥 부하가 걸리는건줄 알았는데 아니구나...


Default mode

Blue: low priority processes (nice > 0)

Green: normal (user) processes

Red: kernel time (kernel, iowait, irqs...)

Orange: virt time (steal time + guest time)


Detailed mode

Blue: low priority threads (nice > 0)

Green: normal (user) processes

Red: system processes

Orange: IRQ time

Magenta: Soft IRQ time

Grey: IO Wait time

Cyan: Steal time

Cyan: Guest time


Memory meters are more straightforward:

Green: Used memory pages

Blue: Buffer pages

Orange: Cache pages


[링크 : http://serverfault.com/questions/180711/what-exactly-do-the-colors-in-htop-status-bars-mean]

'Linux > Ubuntu' 카테고리의 다른 글

우분투 hibernate(최대절전) / suspend(절전)  (0) 2015.12.29
pkg-config  (0) 2015.10.08
ubuntu 스크린샷(캡쳐) 프로그램  (0) 2015.09.22
우분투 시스템 온도 측정  (0) 2015.08.15
우분투 모니터 없이 부팅하기  (0) 2015.08.15
Posted by 구차니