50 Shades of System Calls
sysdig.com
sysdig.com
From the home page sysdig "capture[s] system state and activity", but by leveraging specifically what?
From https://sysdig.com/blog/sysdig-vs-dtrace-vs-strace-a-technic...:
"First, events are captured in the kernel by a small driver, called sysdig-probe, which leverages a kernel facility called tracepoints."
That makes it sound like it's quite similar to the ftrace kernel tracer by instrumenting the various event tracepoints (/sys/kernel/debug/tracing/available_events) conveniently strewn throughout the kernel source--is this indeed the case?
Alternatively, is sysdig doing something differently? {k,u}probes? Sampling similar to, perhaps say, perf's capabilities?
The Linux tracing/profiling landscape is murky enough (littered with tools like SystemTap, LTTng, and so forth) and I'd like to know where this tool fits into an analysis work-flow--and more importantly, what's it's using (at a low-level) to gather data.
I'd appreciate any and all clarification.
Cheers.
The tracing capabilities are then tuned for monitoring and troubleshooting. So keeping the overhead as low as possible and making it usable on production environments.
I found an example that creates a subwindow and moves it based on keyboard input:
Apart from various experimental support for new mechanisms in various terminal apps, there are two old formats that is supported reasonably widely: ReGIS [1] and Sixel [2]
FWIW, Bloomberg Terminals might be something in line with what you want.
We should have developed command lines with graphics and hypertext. Thus you could do `ls` and double-click on one of the resulting files to open it. Browse the web with wget.
Of course users don't want to learn lots of commands. But notice how Windows 7 onwards and most linux desktops have a "fuzzy search" that really is a kind of command line.
Anyways, if i am to speculate then GUI took over because of discoverability and ease of translation. A CLI is damn hard to translate. With a GUI you change the labels, and thats it. And finding something in a menu or similar was, before programs grew into massive behemoths, simpler than trying to guess what command, for most outside the english speaking world, named in a foreign language, to give to get something done.
Found a possibly-relevant issue but it's closed and the single clicking option doesn't work on my box either: https://github.com/draios/sysdig/issues/526