How to check temperature of Mellanox Infiniband NIC with non-root users (Harder than you think!)

Recently, I had some cooling issues with Mellanox Infiniband NICs. I installed passive cooling NICs to water-cooling servers. Due to lack of airflow, those NICs start to throttle after reaching 80°C. I had to check its temperature frequently so that bandwidth degradation does not interfere with my experimental results. Mellanox provides a tool mget_temp that… Continue reading How to check temperature of Mellanox Infiniband NIC with non-root users (Harder than you think!)

Bash party

Bash 헷갈릴 때 보는 포스트 Variable Assignment 띄어쓰기 없이 변수명=값. 환경변수와는 별개. foo=bar # OK echo $foo # output: bar foo =bar # WRONG; arg0: “foo”, arg1: “=bar” foo = bar # WRONG; arg0: “foo”, arg1: “=”, arg2: “bar” foo= bar # WRONG; executes “bar” with empty envvar “foo” Double Quotes vs. Single Quote 작은 따옴표는 literal string, 큰따옴표는 치환 실행함 foo=barecho “$foo” # output: barecho ‘$foo’ # output: $foo Bash special chars https://tldp.org/LDP/abs/html/special-chars.html Substitution # Command substitution # Execute command, and substitute $() with the output… Continue reading Bash party

Synergism

https://pseudo-corp.github.io/SynergismOfficial/ 꿀잼.

Increlution

https://store.steampowered.com/app/1593350/Increlution/

Windows Remote Desktop 세팅

Microsoft account 계정 비밀번호를 바꿨는데 여전히 예전 비밀번호로만 로그인이 되는 경우, 아래 명령어를 실행해서 캐시를 갱신할 것. runas /u:MicrosoftAccount\[Microsoft Email Address] cmd.exe

차 타고 자주 다니는 경로

괄호 안은 통행료. 서울대 시흥캠 <-> 관악캠 무료 코스는 45분, 나머지는 35분 정도 걸린다. 호암로에 카메라와 신호등이 많으므로 관악 터널의 위대함을 느낄 수 있는 가성비 코스 추천. 티맵 켜면 맨날 호구 코스로 안내함(…) 서울대 시흥캠 <-> 대전 결국 경부를 언제 들어가느냐 차이인데, 서울 근처의 경부는 지옥이므로 왠만하면 안성에서 들어가자. 남안산IC는 시내를 통과해야하므로 정왕IC가 좋다. 어차피… Continue reading 차 타고 자주 다니는 경로