9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Guys,
I need some help to find out if processes are running on remote server or not. I could do 'ssh' to do that but due to some security reasons, I need to avoid the ssh & get result from remote server.
Could you please suggest some that can be done without ssh or similar sort of... (8 Replies)
Discussion started by: UnknownGuy
8 Replies
2. AIX
Hello,
Please help me with a script with which I can check long running processes on the database server and the os is AIX.
Best regards,
Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies
3. Windows & DOS: Issues & Discussions
I have a .NET application that remotely starts, stops, and gets status of Windows services and scheduled tasks. I would like to add the capability of starting, stopping, and getting status of remote AIX applications also. Based on some preliminary research, one option may be to use 3rd party .NET... (0 Replies)
Discussion started by: auser1
0 Replies
4. Shell Programming and Scripting
i am new to unix..i have requirement to kill informatica server process.
when i used the below query
pidoff "pmserver"
it displayed 3 process running..
i need to get the 3 process and kill individual process in shell script.
Can you please assit me in this. (2 Replies)
Discussion started by: hkoshekay
2 Replies
5. Shell Programming and Scripting
I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time.
Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies
6. Programming
I try to fork child processes and they connect to a server.
At the beginning, I create a socket(1 socket for all child processes), after that at each child process I connect to the server using connect function but I get this error msg:"Transport endpoint is already connected"
but if I create a... (2 Replies)
Discussion started by: xyzt
2 Replies
7. Solaris
Hi
Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages.
Any free tools or scripts to do this?
Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies
8. UNIX for Advanced & Expert Users
Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go?
Thank you
Richard (4 Replies)
Discussion started by: ukndoit
4 Replies
9. Shell Programming and Scripting
Hi,
I am trying to write a script, which queries a db to get the names of processes, stores it in a file and then checks if that process is running on a remote server. However I am not getting it right, could anyone help me out.
#!/bin/sh
echo "select Address from Device where Cust =... (5 Replies)
Discussion started by: amitsayshii
5 Replies
BOS_RESTART(8) AFS Command Reference BOS_RESTART(8)
NAME
bos_restart - Restarts a server process
SYNOPSIS
bos restart -server <machine name> [-instance <instances>+]
[-bosserver] [-all] [-cell <cell name>] [-noauth]
[-localauth] [-help]
bos res -s <machine name> [-i <instances>+] [-b]
[-a] [-c <cell name>] [-n] [-l] [-h]
DESCRIPTION
The bos restart command stops and immediately restarts server processes on the server machine named by the -server argument. Indicate which
process or processes to restart by providing one of the following arguments:
o The -instance argument names each AFS server process to stop and restart immediately, regardless of its status flag in the
/etc/openafs/BosConfig file. Do not include bosserver in the list of processes; use the -bosserver flag instead.
o The -bosserver flag stops all AFS server processes running on the machine, including the BOS Server. A new BOS Server starts
immediately, and it starts a new instance of each process that is marked with the "Run" status flag in the BosConfig file.
o The -all flag stops all AFS server processes running on the machine, except the BOS Server, and immediately restarts the processes that
are marked with the "Run" status flag in the BosConfig file.
This command does not change a process's status flag in the BosConfig file.
OPTIONS
-server <machine name>
Indicates the server machine on which to restart each process. Identify the machine by IP address or its host name (either fully-
qualified or abbreviated unambiguously). For details, see bos(8).
-instance <instances>+
Names each process to stop and then restart immediately regardless of its status flag setting. Use the process name assigned with the
-instance argument to the bos create command. The output from the bos status command lists the names. Provide this flag or one of the
-bosserver or -all options, but do not combine them.
-bosserver
Stops all AFS server processes running on the machine, including the BOS Server. A new BOS Server instance immediately starts, and
starts all processes marked with the "Run" status flag in the BosConfig file. Provide this flag or one of the -instance or -all
options, but do not combine them.
-all
Stops all AFS server processes running on the machine other than the BOS Server, and immediately restarts the processes marked with the
Run status flag in the BosConfig file. Provide this flag or one of the -instance or -bosserver options, but do not combine them.
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see
bos(8).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket
to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see
bos(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command stops and restarts all processes running on the machine "fs3.abc.com", including the BOS Server.
% bos restart -server fs3.abc.com -bosserver
The following command stops and restarts all processes running on the machine "fs5.abc.com", excluding the BOS Server.
% bos restart -server fs5.abc.com -all
The following command stops and restarts the Protection Server and Volume Location (VL) Server processes on the machine "db3.abc.com":
% bos restart -server db3.abc.com -instance ptserver vlserver
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a
server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO
BosConfig(5), KeyFile(5), UserList(5), bos(8), bos_create(8), bos_status(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BOS_RESTART(8)