I'm a newbie to the Unix world Help!
I have to maintain a host of Sybase database servers sitting on Unix Sun Solaris 8...I've been tasked with finding/creating a way to auto start/stop Unix via unix commands, specifically when the Unix servers need to be restarted we want Sybase to start... (2 Replies)
Hi everyone, I was wondering how to configure ftp access for one user when I found this board.
After some searches I found my infos around proftpd (and the great config file proftpd.conf who answered to all my dreams...)
but now I only need to stop proftpd and restart it (I guess it is needed... (1 Reply)
I am in the process of reorging my Lawson db. I need to turn off the RMI server...not a problem. However my instructions also state that I must also
shutdown my Servlet Container....I believe it is Apache.
I have looked in /usr/apache/bin/apachectl
What is the command for stopping and... (2 Replies)
I'm wondering how I should make a script that can start, stop, and restart another script.
What I need to be able to do, is start and stop a perl script from the command line. The easiest way of doing this seems to be to have another script, starting and stopping the other script. I have BASH,... (7 Replies)
Hi,
Every time i want to stop and start servers using PuTTY,i have to execute 6 to 10 commands every time ,i need shell script(program) for execute those commands in single command.Is it possible plz suggest me. (3 Replies)
HI
I am using below code to start and stop servers but it is not working ,how to run the script please suggest me ,if any errors in the script please let me know.
#!/bin/bash
IMS_START="/Webserver/AppServer/bin/startServer.sh"
IMS_STOP="/Webserver/AppServer/bin/stopServer.sh"
case "$1" in
... (1 Reply)
Please anyone tell me
In my last interview the HR asks me how to monitor, start,stop & kill the various processes and subprocesses.
Please anyone explain me clearly. It's my personal request (3 Replies)
Is there any functional difference between:
issuing separate stop/start commands like this;
super (handler) (instance) stop
super (handler) (instance) start
versus issuing a single recycle command like this;
super (handler) (instance) restart (3 Replies)
How to can I stop and start the mirroring on rootvg
How to can I know if the mirroring enabled or disabled in the rootvg
Please explain and advice!
P690_root/>lspv
hdisk0------- 00c52c221cf77869---------------------rootvg------- active
hdisk1-------... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
LEARN ABOUT HPUX
primes
factor(1) General Commands Manual factor(1)NAME
factor, primes - factor a number, generate large primes
SYNOPSIS
[number]
[start[stop]]
DESCRIPTION
If no arguments are provided on the command line, waits for a number to be typed in. If a positive number is typed, it factors the number
and print its prime factors; each one is printed the proper number of times. It then waits for another number. exits if it encounters a
zero or any non-numeric character.
If an argument is provided on the command line, factors the number as above, then exits.
Maximum time to factor is proportional to sqrt(n) and occurs when n is prime or the square of a prime.
The largest number that can be dealt with by is 1.0e14.
prints prime numbers between a lower and upper bound. If no arguments are provided on the command line, waits for two numbers to be typed
in. The first number is interpreted as the lower bound; the second as the upper bound. All prime numbers in the resulting inclusive range
are printed.
If start is specified, all primes greater than or equal to start are printed. If both start and stop are given, all primes occurring in
the inclusive range start through stop are printed.
start and stop values must be integers represented as long integers.
If the stop value is omitted in either case, runs either until overflow occurs or until it is stopped by typing the interrupt character.
The largest number that can be dealt with by is 2,147,483,647.
DIAGNOSTICS
Both commands print when the input is out of range, illegal characters are encountered, or when start is greater than stop.
EXAMPLES
Print the prime factorization for the number 12:
Print all prime numbers between 0 and 20:
factor(1)