Linux/Ubuntu2023. 7. 7. 12:35

htop 이 armbian 에서는 온도도 나오고 좋아 보이길래 어떻게 설정하나 찾아보는데

htop 홈페이지에서 cpu 그래프가.. 신기한게 보여서 빌드도 해보는데 안되서 좌절하다가

[링크 : https://htop.dev/screenshots.html]

[링크 : https://github.com/htop-dev/htop]

 

htop graph 로 검색해보니 먼가 걸려나온다.

Remember you can press space bar to change the meter style. That way you can get the graph display you want.
And by the way, graph display for Load average will not probably work what you expect. It's work-in-progress. Patches are welcome.

[링크 : https://github.com/hishamhm/htop/issues/440]

 

F2(setup) 에서 Meters에 하단에 보니 Space / Style!

아무튼 CPU와 같은 녀석들은 [Bar] 라고 되어있는데 이걸 space 누르면 스타일이 변경된다.

 

 

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

edid-read  (0) 2023.08.17
ubutnu file(파일) 에서 삼바 목록 안나오고 부적절한 인수 에러  (0) 2023.07.24
mono-complete  (0) 2023.07.05
ubuntu 22.04 wayland vs x.org on 4K dual  (0) 2023.06.26
ubuntu 22.04 GUI/CLI 부팅  (0) 2023.06.18
Posted by 구차니
Linux/Ubuntu2023. 7. 5. 17:58

 

msbuild 쓰라는데

$ xbuild test_proj.sln

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

 

정작 패키지 검색하면 나오는건 xbuild. ubuntu 22.04 에서 mono가 이상한건가?

$ apt-cache search msbuild
mono-xbuild - MSBuild-compatible build system for Mono
libmono-addins-msbuild-cil-dev - MSBuild task library for Mono.Addins
libmono-addins-msbuild0.2-cil - MSBuild task library for Mono.Addins

$ apt-cache search mono-complete
mono-complete - complete Mono runtime, development tools and all libraries

 

[링크 : https://jjeongil.tistory.com/1988]

Posted by 구차니
Linux/Ubuntu2023. 6. 26. 16:24

회사 컴퓨터가 4K dual + FHD 본체 액정으로 쓰는데

일단 케이블의 문제로 인해서 4K 모니터는 전부 30Hz로 사용중인데

화면 찢어짐(tearing)은 확실히 wayland 쪽이 덜하다.

 

X.org로 구동하면 화면이 이쁘게 찢어진다. -_-

 

 

다만 wayland로 하면 barrier 쓸 수가 없고, x.org로 하면 버버버벅.. 우짜냐

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

htop graph style  (0) 2023.07.07
mono-complete  (0) 2023.07.05
ubuntu 22.04 GUI/CLI 부팅  (0) 2023.06.18
ubuntu dmesg 막혔네?  (0) 2023.06.01
python3를 python으로 실행하기  (0) 2023.02.10
Posted by 구차니
Linux/Ubuntu2023. 6. 18. 12:18

데탑 하나를 메모리 낭비도 줄일겸 CLI 로 부팅하게 할까 싶은데

target 명이 multi-user(CLI) graphical(GUI) 인 듯

 

$ sudo nano /etc/default/grub
#GRUB_TERMINAL=console
$ sudo update-grub
$ sudo systemctl set-default graphical.target

[링크 : https://techpiezo.com/linux/boot-ubuntu-22-04-in-text-mode/]

 

$ systemctl set-default multi-user.target

[링크 : https://askubuntu.com/questions/1435082/]

 

$ sudo systemctl isolate graphical
$ sudo systemctl set-default graphical.target

[링크 : https://linuxconfig.org/start-gui-from-command-line-on-ubuntu-22-04-jammy-jellyfish]

 

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

mono-complete  (0) 2023.07.05
ubuntu 22.04 wayland vs x.org on 4K dual  (0) 2023.06.26
ubuntu dmesg 막혔네?  (0) 2023.06.01
python3를 python으로 실행하기  (0) 2023.02.10
block caribou ?  (0) 2023.02.07
Posted by 구차니
Linux/Ubuntu2023. 6. 1. 16:11

22.04로 이제야 갈아탔는데

$ dmesg
dmesg: read kernel buffer failed: 명령을 허용하지 않음

 

먼가 이 황당한 시츄에이숑...

debian 시스템에서 변경으로 이걸 풀려면 아래와 같이 root가 아니어도 볼 수 있도록 풀어야지

내 계정을 허용하는 계정으로 추가하는 방법은 없는 듯?

$ echo kernel.dmesg_restrict = 0 | sudo tee -a /etc/sysctl.d/10-local.conf >/dev/null
$ cat /etc/sysctl.d/10-local.conf 
kernel.dmesg_restrict = 0

[링크 : https://unix.stackexchange.com/questions/390184/dmesg-read-kernel-buffer-failed-permission-denied]

[링크 : https://www.reddit.com/r/Kubuntu/comments/ucs15q/dmesg_needs_root_now_2204_what_solution_included/]

[링크 : https://jjeongil.tistory.com/1786]

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

ubuntu 22.04 wayland vs x.org on 4K dual  (0) 2023.06.26
ubuntu 22.04 GUI/CLI 부팅  (0) 2023.06.18
python3를 python으로 실행하기  (0) 2023.02.10
block caribou ?  (0) 2023.02.07
maas  (0) 2023.02.03
Posted by 구차니
Linux2023. 5. 17. 10:13

 

# cat /sys/class/net/eth0/operstate
up
# macb e000b000.ethernet eth0: Link is Down
# cat operstate 
down
# macb e000b000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
# cat operstate
up

[링크 : https://serverfault.com/questions/15776/how-to-check-the-physical-status-of-an-ethernet-port-in-linux]

'Linux' 카테고리의 다른 글

.bashrc 설정 history  (0) 2023.08.08
lvmcache bcache  (0) 2023.07.27
리눅스 커맨드 라인에서 몇줄씩 건너뛰고 출력하기  (0) 2023.03.30
bash completion  (0) 2023.03.27
리눅스 키보드로 강제 종료하기  (0) 2023.03.10
Posted by 구차니
Linux2023. 3. 30. 10:12

라인단위로 저장되어 있는 파일이 길 경우

엑셀등의 파일에서 읽어들여 그래프 그리려고 하면 힘든데

일부만 추려내서 뽑으려고 할때 사용하려고 찾는 중

 

awk랑 sed로도 가능하다고

다만, n 번째가 클 경우 awk가 유리하다.

$ awk '!(NR%3)' file
$ sed -n 'n;n;p;' file

[링크 : http://underpop.online.fr/u/unix-school/guru-prasad/how-to-print-every-nth-line-in-file-in.htm]

'Linux' 카테고리의 다른 글

lvmcache bcache  (0) 2023.07.27
sysfs ethernet link status  (0) 2023.05.17
bash completion  (0) 2023.03.27
리눅스 키보드로 강제 종료하기  (0) 2023.03.10
shopt nohup  (0) 2023.01.27
Posted by 구차니
Linux2023. 3. 27. 14:12

전혀 연관없는 곳에서 발견

bash에서 tab 누르면 어떤 명령어는 하위 명령어에 대해서 자동 완성이 지원되는데

아래 경로의 completions 라는 경로에 파일명을 따라서 수행된다.

/usr/share/bash-completion

 

[링크 : https://github.com/Xilinx/gstreamer/blob/master/data/bash-completion/completions/gst-launch-1.0]

[링크 : https://kubernetes.io/ko/docs/tasks/tools/included/optional-kubectl-configs-bash-linux/]

'Linux' 카테고리의 다른 글

sysfs ethernet link status  (0) 2023.05.17
리눅스 커맨드 라인에서 몇줄씩 건너뛰고 출력하기  (0) 2023.03.30
리눅스 키보드로 강제 종료하기  (0) 2023.03.10
shopt nohup  (0) 2023.01.27
리눅스 배터리 wear level  (0) 2023.01.04
Posted by 구차니
Linux2023. 3. 10. 14:29

전원키 5초 이상 누르고 끄는 것 처럼 키 조합을 통해 종료하는게 있는건 처음 알았네

 

 Alt+PrtSc and pressed R, E, I, S, U, B.

[링크 : https://unix.stackexchange.com/questions/696886/altprtscreisub-doesnt-shut-down-computer]

 

The key combination consists of Alt+SysRq and another key, which controls the command issued

[링크 : https://en.wikipedia.org/wiki/Magic_SysRq_key]

 

qwerty는 상관없는데 dvorak 으로 쓰면 이상하게 꺼지는 경우가 있는 듯?

쿼티로 reisub 은, 드보락으로 p.cogx 가 된다

[링크 : https://www.nemonein.xyz/2023/01/7453/]

 

unRaw      (take control of keyboard back from X),
 tErminate (send SIGTERM to all processes, allowing them to terminate gracefully),
 kIll      (send SIGKILL to all processes, forcing them to terminate immediately),
  Sync     (flush data to disk),
  Unmount  (remount all filesystems read-only),
reBoot.

[링크 : https://askubuntu.com/questions/926461/whats-the-difference-between-the-magic-reisub-reset-and-holding-down-the-power]

'Linux' 카테고리의 다른 글

리눅스 커맨드 라인에서 몇줄씩 건너뛰고 출력하기  (0) 2023.03.30
bash completion  (0) 2023.03.27
shopt nohup  (0) 2023.01.27
리눅스 배터리 wear level  (0) 2023.01.04
mpx - Multi-pointer X  (0) 2022.12.27
Posted by 구차니
Linux/Ubuntu2023. 2. 10. 15:13

먼가 패키지 명이 웃긴데

alias나 심볼릭 링크 걸지 말고 아래 패키지를 설치하면 된다.

 

$ sudo apt install python-is-python3

[링크 : https://askubuntu.com/questions/320996/how-to-make-python-program-command-execute-python-3]

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

ubuntu 22.04 GUI/CLI 부팅  (0) 2023.06.18
ubuntu dmesg 막혔네?  (0) 2023.06.01
block caribou ?  (0) 2023.02.07
maas  (0) 2023.02.03
gTile  (0) 2023.01.31
Posted by 구차니