Skip to content

NOWA CHAOS

Just another site

Category Archives: os

netstat on macos

lsof -i -P | grep -i “listen” is netstat -lnap|grep “LISTEN”

Posted bymoon_manPosted incommands, macos, macosTags: macos, netLeave a comment on netstat on macos

Redirect output to a file without buffering on linux/mac?

https://serverfault.com/questions/294218/is-there-a-way-to-redirect-output-to-a-file-without-buffering-on-unix-linux This buffers stdout up to a line: This disables stdout buffering altogether: This disables stdout buffering altogether:

Posted bymoon_manPosted inC, commands, linux, macos, ProgrammingTags: bash, buffer, C, pipe, redirectLeave a comment on Redirect output to a file without buffering on linux/mac?

From strace to dtruss

https://8thlight.com/blog/colin-jones/2015/11/06/dtrace-even-better-than-strace-for-osx.html

Posted bymoon_manPosted incommands, macos, osTags: dtruss, macos, straceLeave a comment on From strace to dtruss

Categories

  • C
  • C
  • commands
  • linux
  • macos
  • macos
  • os
  • Programming
  • templates
  • Uncategorized

Recent Posts

  • simple runtime enumeration of std::tuple and std::array via recursion for -std=c++11
  • How to trace/debug if g++ doesn’t like your templates based code
  • compile a directory & run
  • netstat on macos
  • Redirect output to a file without buffering on linux/mac?

Archives

  • November 2020
  • May 2020
  • April 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Recent Comments

  • A WordPress Commenter on Hello world!
NOWA CHAOS, Proudly powered by WordPress.