597 reputation
1315
bio website bit.ly/GFscreener11
location stackoverflow.com@askmarcos.com
age
visits member for 2 years, 7 months
seen yesterday

Pioneers are the ones with arrows in their backs.

Investment Portfolio Software, Trade Automation

Designer of infinite compression algorithms, and other research projects


2d
awarded  Popular Question
Jul
2
awarded  Curious
Jun
17
awarded  Caucus
May
29
comment Temporarily freeze a process upon shell interaction
Good tip! So maybe a wrapper script can be written in BASH that traps its ALRM and sends a SIGCONT to something else. Put that feature to some good use :)
May
28
comment Temporarily freeze a process upon shell interaction
A cleaner & simpler solution would be to include a killall -STOP tail; sleep 90 && killall -CONT tail& in PROMPT_COMMAND. That is almost all! Except I want to see in this SE how others might address the issue of how to keep postponing that CONT as needed.
May
28
comment Temporarily freeze a process upon shell interaction
Nay; I'm not looking to change my habits. screen doesn't play well with any terminal program, btw. (Try scrolling up in Putty, for instance).
May
28
revised Temporarily freeze a process upon shell interaction
minor omission fixed
May
28
comment Temporarily freeze a process upon shell interaction
Yes but how to make that happen automatically upon any shell interaction? (and not forget to automatically send the SIGCONT later, either). That's what my question is about.
May
28
asked Temporarily freeze a process upon shell interaction
May
27
awarded  Popular Question
May
5
accepted shorten long lines in a log file
Dec
20
awarded  Yearling
Dec
15
awarded  Nice Question
Sep
13
awarded  Popular Question
May
3
awarded  Famous Question
Apr
4
comment Linux tool to track directory space over time
It's within my reach to hack together user-space scripts to eg. record periodic du snapshots from cron of all/some directories, store them in SQL/CSV for later analysis to narrow down where storage is being consumed when, and make friendly reports to pinpoint this. With ability to zoom into the dir hierarchy, one hopes. But that's time-consuming and I'm hoping something similar exists, even if imperfect (hardlinks etc.).
Apr
4
asked Linux tool to track directory space over time
Jan
5
comment run a remote process via autossh in background
tmux/screen may indeed be viable; xpra proved too resource intensive on my lean 1-2GB PCs in the past (behind the scenes X server). In reality before having this problem I was trying to avoid using an ssh layer altogether, just sticking to classic xhost + over port 6000 (i.e. DISPLAY=otherDYNDNShost:0 geany &) but could still not figure out how to re-enable that network port in Ubuntu's X server, not even with DisallowTCP=false in /etc/gdm/custom.conf as researched elsewhere.
Jan
5
revised run a remote process via autossh in background
title typo
Jan
5
comment run a remote process via autossh in background
Silly me, I tried -f right after posting and that worked, but felt bad about answering myself so fast. Thanks. However what's really annoying (and probably a different question) are its frequent disconnects & restarts, whilst another interactive ssh session seems way more tolerant of network hiccups and stays connected to one session.