The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
48 views

Messages on new terminal after using nohup

I'm trying to run a few commands asynchronously on a login script (.bash_profile). When I open a new terminal, I see messages like this. They also show up when I log onto a system over SSH. Last ...
1
vote
0answers
13 views

Avoid delays from network calls in logon and logoff scripts

I'm trying to tune some scripts in my test environment. My test environment is specialized and it exists to test software. The software includes Botan, Cryptlib, Crypto++ and OpenSSL. Whenever I log ...
0
votes
0answers
139 views

Arch Linux: blk_update_request: I/O error, dev sr0, sector 1452024: unrelated to user input

I just left my Arch Linux installation running in a virtual machine. When I came back to it, I found the following error: [14554.169929] blk_update_request: I/O error, dev sr0, sector 1452024 [14554....
1
vote
1answer
90 views

Save cursor position and restore it in terminal

I am playing with some terminal capabilities to create async prompt output on bash. I want to get something like this: while outputting string in PROMPT_COMMAND, save terminal cursor position, print ...
0
votes
0answers
138 views

dd speedup by async reads/writes

I was copying an SSD to an identical one today: dd if=/dev/sda of=/dev/sdb bs=4M They were connected by a SATA cable. While stracing dd I noticed that it was doing the "naive" thing: read 4M from ...
0
votes
1answer
149 views

Process switch with clone() [closed]

I'm new for Linux. Now, I have to write a c program and use clone() to make process do things asynchronous. I've read the manual of clone(); however, I still don't know how to make it work ...
31
votes
2answers
12k views

Can I watch the progress of a `sync` operation?

I've copied a large file to a USB disk mounted on a Linux system with async. This returns to a command prompt relatively quickly, but when I type sync, of course, it all has to go to disk, and that ...
2
votes
1answer
219 views

Set a callback for when a certain process is spawned

The script I'm writing launches process A, which after an uncertain amount of time, launches a child process B. I need the script to execute a command C which depends on process B. But B might not be ...
1
vote
2answers
977 views

run script asynchronously / in a different process

I have a simple php script <?php for($i=0;$i<10;$i++){ sleep(1); echo $i; } Which I run from the command line php myfile.php & I would expect I can do other things in the command line, ...
2
votes
1answer
482 views

Populate PS1 asynchronously

I have a few git svn related functions that see if I have to pull/push from/to the repository. My problem is that the functions I've written to gather this information are too slow. I'd like to make ...