Questions tagged [suspend]
469 questions
3
votes
0 answers
Restart ProtonVPN after suspend with systemd service not working Ubuntu
I'm trying to set up a Systemd service that would restart my VPN connection (ProtonVPN) after resuming from suspend.
The command that does what I need is sudo protonvpn r.
So here is what I did: I created a service…

Ul Tome
- 133
- 1
- 2
- 8
3
votes
1 answer
How to make bash's "bind" commands completely invisible?
I have the following lines in my .bashrc:
# C-Z shortcut can be used to take a suspended job to fg
stty susp undef
bind '"\C-z":" fg >/dev/null 2>&1 \015"'
The purpose of this was to make the binding C-Z better suspend Vim (as it already does as…

herophant
- 642
- 7
- 16
3
votes
1 answer
How to synchronously retrieve network status for certain transport types as of Android 22?
I changed the question title since Kiskae provided a solution to the broader problem which makes the question about wrapping a callback API needless for the particular problem. The former question title was:
How to wrap asynchronous callback into…

JJD
- 50,076
- 60
- 203
- 339
3
votes
1 answer
Dealing with suspend and non-suspend in Kotlin function parameters
I am fairly new to Kotlin, and am getting to grips with it's implementation of co-routines. I understand that any function that we may want Kotlin to deal with in a non-blocking way needs to be annotated with suspend, and that such functions can…

Andrew Todd
- 31
- 3
3
votes
1 answer
what is the difference between block, suspend and sleep
For example, a process is listening on some port with block mode, so if the I/O is not ready, the process will be blocked.
while (true)
{
msg = recv(port, BLOCKING_FLAG); // blocks here
cout<

Yves
- 11,597
- 17
- 83
- 180
3
votes
1 answer
Operating Systems: Process State Transition Diagram
I have:
A I/O devices
B Processors
C Processes
My main memory is large enough to hold C processes.
A is smaller than B and B smaller than C
What is the maximum number of processes that can be in either block-suspended state or in ready-suspended…

Dchris
- 2,867
- 10
- 42
- 73
3
votes
3 answers
Suspend transaction in Postgres
I have seen another database system that offers to suspend transaction. The current transaction is kept intact but put on hold while your code is allowed to work with the database to effect immediate permanent changes to rows. Then you can resume…

Basil Bourque
- 303,325
- 100
- 852
- 1,154
3
votes
0 answers
C# How to get thread info from external process? Like name of the module which created the thread?
Basically what i'm trying to do is something like this:
Pseudo code:
if(ThreadMomModule.Name == "Skype.dll")
{
Thread[] aa = MomModule.Threads;
foreach(Thread at in aa){
Suspend(aa);}
}

Rav
- 31
- 3
3
votes
0 answers
Postgres Process Suspended Windows 10
Good day I have a business automation system that uses the Postgres database.
I have a problem that is very common in my clients. I am using the 9.5 version of Postgres and "nothing" one postgres process is suspended and can no longer close it or…

C Renan Santos
- 31
- 1
3
votes
0 answers
Stop a process started by setsid Debian 8
I ran a js script using
setsid forever sell.js
and I don't know how to stop the script.
I read similar articles but I just don't understand them as I'm fairly new to Linux.

Ḉònnòŕ Ranahan
- 53
- 6
3
votes
1 answer
UWP App is automatically terminated when sleeping then waking up device
My UWP contains one Canvas view for drawing. I am using win2d for drawing in this view. If I leave this view as activated view then sleep/wake up device, my app will be terminated with exception:
System.Exception: Objects used together must be…

JackY
- 51
- 3
3
votes
2 answers
NetBeams checking for external changes - suspended bug out whole IDE
Like 3 days ago, my netbeams started to sometimes bug out. It is either when i am just starting netbeans, and "Background scanning of objects" get stuck at any percent (it varies), o ir if loads properly, after some time, "checking for external…

Martynas Jonaitis
- 31
- 1
- 5
3
votes
1 answer
How to suspend a backgrounded shell with a script?
Unfortunately I don't have a suspend command (busybox/ash). But I can use kill -STOP $$ to return from a backgrounded shell (sh &) to the parent shell (and fg later).
But instead of typing this long kill-command I would like to write a script (named…

deetee
- 75
- 1
- 7
3
votes
2 answers
Can I temporarily suspend SharePoint Server + IIS + SQL Server?
Is there a way to temporarily suspend / pause Sharepoint Server 2010, IIS and SQL Server services without killing them in Task Manager? I am not running VM or Hyper-V, so most of my resources are constantly used by those 3 major server…

Sahat Yalkabov
- 32,654
- 43
- 110
- 175
3
votes
1 answer
Automatically Resume a Suspended Windows Process
I'm trying to write a windows batch file in order to resume a windows process that gets Suspended. I'm using pssuspend (from pstools) to resume the process. However, I'm trying to write windows batch file script that will continually get the status…

Alex Shapiro
- 31
- 1
- 2