Hello,
Two child processes work at the same time because they communicate one another. In KSH, does it exist a good way to suspend a parent process until one of the two child processes stops. It seems that the command 'wait' works well for one process but for two processes, it suspends the... (7 Replies)
We have a common directory , everyone can put file to it , but I found that there is a problem if the user continouosly write files to this directory while the another application is running at the same time , so I want temporaily "protect" the directory , no files can be write to it at a specific... (3 Replies)
Hi,
I have a task that Im stuck on. I have an elementary script named 'myscript' that prints "the script is running" once a second. It runs for 27 seconds. I need to write a 2nd script that starts 'myscript' and takes a parameter '$1' for a number. my 2nd script then needs to pause myscript... (1 Reply)
Hi, guys. I have two questions:
I need to write a script, which can show all the non-suspended users on system, and suspend the selected user account.
There are two things I am not sure:
1. How can I suspend user's account? What I think is: add a string to the encrypted password in shadow... (2 Replies)
Hello Friends,
I would like to find out if there is a way to suspend crontab script? I need to suspend the scheduling of crontab scripts in case of an alarm and when alarm ends need to start them again automaticaly, could you suggest me a method?
one of participiant of the forum with name... (6 Replies)
One of our Solaris 10 Guru's created a Solaris 10 image and he disabled the Suspend System option. How do I enable it again?
example right click on the desktop the go to the bottom Suspend System in grayed out.
Any help would be great.
---------- Post updated at 09:02 PM ----------... (1 Reply)
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
I have a C++ program which ends up getting run on every conceivable distro. What I can't do in C++, I can do by shelling out to the O/S. I am trying to find a portable way to send the system into hibernate and suspend modes. For users who have pm-utils, of course, I can use that, but I am trying... (4 Replies)
Discussion started by: BrandonShw
4 Replies
LEARN ABOUT DEBIAN
pts_sleep
PTS_SLEEP(1) AFS Command Reference PTS_SLEEP(1)NAME
pts_sleep - Pauses for a few seconds
SYNOPSIS
pts sleep [-delay] <# of seconds>
[-cell] <cell name> [-noauth] [-localauth] [-force]
pts sl [-d] <# of seconds> [-c] <cell name>
[-n] [-l] [-f]
DESCRIPTION
The pts sleep pauses for a specified number of seconds. The command can be run from the command line or interactively, although from the
command line it's essentially equivalent to the sleep command. It is intended for use in interactive mode to pause for a few seconds
between batch commands to allow the Protection Server to catch up.
CAUTIONS
Prior to OpenAFS 1.4.5 and OpenAFS 1.5.23, the pts sleep command was only available on Unix or Linux and when OpenAFS was compiled with the
supergroups option (disabled by default). As of OpenAFS 1.4.5 and 1.5.23, it is always available.
OPTIONS
Although they have no effect, pts sleep takes the following standard pts options:
-cell <cell name>
Names the cell in which to run the command. For more details, see pts(1).
-force
Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the
first error.
-help
Prints the online help for this command. All other valid options are ignored.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or
-noauth options. For more details, see pts(1).
-noauth
Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1).
OUTPUT
This command produces no output.
EXAMPLES
Here is an example of a pts interactive session:
% pts interactive
pts> sleep 5
pts> quit
%
SEE ALSO pts(1), pts_interactive(1)COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for
OpenAFS.
OpenAFS 2014-04-08 PTS_SLEEP(1)