Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

restart(1p) [centos man page]

RESTART(1p)						User Contributed Perl Documentation					       RESTART(1p)

NAME
restart -- call bin/interchange "-"r with possible su VERSION
1.0 SYNOPSIS
restart [-f] DESCRIPTION
The "restart" script just tries to execute "interchange" "-r" with the proper permissions. If the user is "root", a prompt will be made to see if you want to start as the guessed user ID. (This is the contents of the $Global::VendRoot/_uid file.) OPTIONS
The "-f" flag prevents the prompt for superuser and forces quiet mode; this is how you might call Interchange from a system startup script. SEE ALSO
interchange(1), http://www.icdevgroup.org/ AUTHOR
Mike Heins perl v5.14.2 2012-01-23 RESTART(1p)

Check Out this Related Man Page

EXPIRE(1p)                                              User Contributed Perl Documentation                                             EXPIRE(1p)

NAME
expire -- expire Interchange session files and databases VERSION
1.1 SYNOPSIS
expire [-ra] [-e expr] [-c catalog] [-d dir] [sessiondb] DESCRIPTION
Interchange's "expire" expires the various session database and temporary files used by the Interchange daemon. If the program "tmpwatch" is available, it is called with the appropriate arguments. Otherwise, Interchange will remove all files itself with a recursive routine. OPTIONS
-c name Expires the catalog "name" according to its settings. Removes all temporary files that are in a subdirectory one level below the directory itself. -d dir Sets the directory that will be checked for session files and/or temporary files. -e spec Accepts a Interchange expire time setting like "6 hours", "3 days", etc. The expire time is applied directly to sessions, and may be padded for temporary files. SEE ALSO
expireall(1), http://www.icdevgroup.org/ AUTHOR
Mike Heins perl v5.14.2 2012-01-23 EXPIRE(1p)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

MAX OS X and GCC Compiler - From the Apple Store!

FYI, the GCC compiler is available for OS X. This means you can easily compile all the super GCC opensource. You can see the GCC and other projects <A HREF=http://www.opensource.apple.com//projects/darwin/1.2/projects.html>HERE</A>.<P> Also, I looked into how OS X handles OS 9 applications. ... (12 Replies)
Discussion started by: Neo
12 Replies

2. UNIX for Dummies Questions & Answers

script to autorestart if uptime greater than... help needed.

i'm trying to write a script that will check my os x box for uptime and autorestart gracefully if the uptime is greater than a certain number of days. thus far i have this: if uptime | cut -d ',' -f 1 | cut -d ' ' -f 4 -gt 10 ; then echo "yes" fi this doesn't work and i've tried... (11 Replies)
Discussion started by: alternapop
11 Replies

3. Shell Programming and Scripting

need help: shell script to restart apache when no. of processes keeps growing

I need a shell script to kill apache and restart it, in case the number of processes keeps growing. The logic is like the below, but I don't know how to get the number and neither the syntax. Could somebody kindly help? if no_of_processes (ps ax ¦ grep httpd) > 200 then killall httpd... (14 Replies)
Discussion started by: _joshua_
14 Replies

4. UNIX for Dummies Questions & Answers

Restarting jobs after failures

Hi, I have a script which has a for loop in it. In that for loop are names of files that are going to be processed. For example, for file in file1 file2 file3 file4 do (something) done Let's say that this script gets executed and it fails at 'file2'. Is there a way that I can actually... (10 Replies)
Discussion started by: hern14
10 Replies

5. Shell Programming and Scripting

restart process based on file

Hi all. I do have a script "startApp.sh" (app result is a file /opt/extract/appextract.txt) I have no problems with stopping app var1=`ps -ef | grep -v grep | grep MyApp | awk '{print $2}'` kill -9 $var1 What I want to achieve is: I start app, app is doing some extraction, after... (11 Replies)
Discussion started by: e-l-diablo
11 Replies

6. Emergency UNIX and Linux Support

Shutdown to a Halt and restart

I've got critical patching this weekend on 6 HP UX machines, back to back and the customer has requested to shutdown, and halt the machines and to bring it up at a later period. The thing is the servers are located offshore and we are just the support team. I have a special login thru a console... (16 Replies)
Discussion started by: hedkandi
16 Replies

7. Linux

Delay gnome shutdown/restart

Hi to all. My first message here, but i following you via twitter feed from many time... The question: I need to delay 5-10 seconds the shutdown command executed when the user click on the power off/reboot in their session or at login screen. I need that because i have in the background a... (18 Replies)
Discussion started by: mendez
18 Replies

8. Shell Programming and Scripting

Help scripting to start, check, and restart processes

Here it goes from my unexperienced point of view. I am using CentOS 5.6. I have a Java based server that needs to be running 24/7/365. To begin from the machine the server is on rebooting; I SSH in to a shell, cd to the server dir, screen -S server1, and execute ./exec (listed below) in the screen.... (12 Replies)
Discussion started by: MacG32
12 Replies

9. HP-UX

Unix server restart automatically

We have HP K class unix server, It's automatically restart the server. (10 Replies)
Discussion started by: ganesh24pal
10 Replies

10. Shell Programming and Scripting

Cron job and shell script to kill a process if memory gets to high

Hello, I'd like to set a cron job that runs a shell script every 30 minutes or so to restart a java based service if the memory gets above 80%. Any advice on how to do this? Thanks in advance! - Ryan (19 Replies)
Discussion started by: prometheon123
19 Replies

11. Emergency UNIX and Linux Support

Check hung process and restart

Hi all I have networker running on a RHEL 5.7 and over time it hangs. So the solution backup team proposed is to check if the process is hung, to stop and start it. Unfortunately for me, the rc script only allows three commands, start, stop and status (no restart option) so I managed to set... (15 Replies)
Discussion started by: hedkandi
15 Replies

12. Shell Programming and Scripting

flags to avoid restart

hello all, i have the below script that we used to backup our DB using oracle's utility called RMAN. This has been working fine, but the issue is when the backup fails and we re-start it, it backups the whole thing again. Example. lets say i have 5 database on my system(db1,db2,db3,db4,db5)... (11 Replies)
Discussion started by: crazy_max
11 Replies

13. Shell Programming and Scripting

Cron won't restart rsyslog

Howdy, I am nearly tearing my hair out as Cron isn't running a script that should work. I am interning for a company. Their rsyslog keeps track of traffic that gets past a firewall. It creates two files called pix.log and pix2.log. Every time something happens with the firewall, it adds to... (11 Replies)
Discussion started by: sstrahm001
11 Replies

14. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

15. Linux

Find a process ID,kill it and restart agent

#!/bin/bash #This shell finds the pid of the hawkagent and kills and restarts to put the rulebase into effect output=`ps aux|grep hawkagent` #The set -- below helps to parse the above ps output into words and $2 gives the 2nd word which is pid set -- $output pid=$2 #Checks if pid of hawkagent... (12 Replies)
Discussion started by: samrat dutta
12 Replies