Skip to main content

Questions tagged [system-programming]

All questions regarding programming, tweaking and configuring of Unix & Linux core system as a whole or a sub-set of it.

0 votes
0 answers
32 views

I am building keyboard multiplexer. My current plan is to connect two devices through Bluetooth, and let my wired USB keyboard switch between these two devices. My first instinct is to build Two-...
MRINAL YADAV's user avatar
0 votes
0 answers
67 views

I have a situation where I want to migration from using system slice to ABC slice for a systemctl service. Now that service is running some child processes as well during communication from data plane ...
samay varshney's user avatar
1 vote
2 answers
871 views

Good days. I have a little problem. I have this function in bash script function denyCheck(){ file=$(readlink -f $(which $(printf "%s\n" "$1"))) if [[ -x $file ]];then ...
cleanet's user avatar
  • 13
1 vote
1 answer
2k views

Yeah, I know there's actkbd which allows to assign global keyboard shortcuts which will work everywhere including the text console and a graphical session but I don't want to run an extra daemon (long ...
Artem S. Tashkinov's user avatar
0 votes
0 answers
222 views

Does setting TCP_NODELAY turn off the auto corking behavior? Is there a way to disable it on a per connection basis?
Jason Nordwick's user avatar
0 votes
1 answer
2k views

sytemd-timer has a feature "onCalendar" using which we can execute a script on points of time (on calendar). Is it possible to dynamically (programmatically) update or mutate that field? For ...
Zeta.Investigator's user avatar
0 votes
1 answer
531 views

I need to check filesystem type on a thumb drive in my C++ application. It must be done before mounting a new partition. I also prefer not to call system() function. I tried to use the following test ...
user6758's user avatar
0 votes
1 answer
77 views

I am a hobbyist (not IT specialist) and just had idea to write some lockscreen app/script to learn and repeat regex. I could use bash or Python, but don't know where to start. Could you point me ...
user455944's user avatar
2 votes
1 answer
2k views

there seems to be a common issue with Lenovo ThinkPad and the Intel CPUs being throttled to 400mhz per core: https://forums.lenovo.com/t5/ThinkPad-L-R-and-SL-series/L380-stuck-on-0-4-GHz-when-loading/...
Jannies - They do it for free's user avatar
1 vote
1 answer
2k views

I wrote 2 programs that normally 1.create the named pipe(server) and 2. pass the string from the shell to the server part. I understand how to hand over a string from the terminal to the server part ...
Kirill Shvedov's user avatar
1 vote
1 answer
1k views

I am trying my hand on Linux Signals. Where I have created a scenario mentioned below: Initially block all SIGINT signals using sigprocmask(). If sender send SIGUSR1 signal then unblock SIGINT for ...
MankPan's user avatar
  • 77
-1 votes
1 answer
204 views

I too many search on internet to found algorithm calculated %Us , %Sy , %Id , ... on result of top command . but can not found any documentation . some documents like this or this calculate cpu ...
mah454's user avatar
  • 318
5 votes
4 answers
9k views

I have recently purchased myself an HP rack server for use as a personal fileserver. This server currently lives under my bed as I have nowhere else to put it. For those not aware (as I was not ...
James Stone's user avatar
5 votes
3 answers
2k views

I have a machine dual booted with Arch Linux and Ubuntu (16.04). I have recently started using the Kakoune text editor, and noticed that its startup time is drastically different depending on which OS ...
anon777's user avatar
  • 63
1 vote
1 answer
123 views

Is there a good description of exactly what each of the flags you can pass to personality(2) does? I'm particularly interested in STICKY_TIMEOUTS, but a general detailed description of all of them ...
Omnifarious's user avatar
  • 1,412

15 30 50 per page