I'm having trouble with Abnormal Termination errors. What are they, what causes them and how can I prevent them from happening? Are they application specific? (2 Replies)
Hello all,
Here is the problem:
A ksh script (let's call it abc.sh) gets kicked off from a menu program using "nohup abc.sh &". The process ID of abc.sh can be recieved (pid=$!).
abc.sh runs an Oracle PL/SQL script (it creates a child process).
In order to stop the abc.sh (and the child)... (5 Replies)
I'm writing a script to archive data. First, the files are all rsync'd to the archive directory via NFS mounts(I know not the most efficient, but the only choice in this situation), then I use md5sum to validate the transfers. During execution of the script, it will exit for no apparent reason. It... (6 Replies)
Hello,
I want to run a bash script in another bash script, depending on the returncode or exitcode. But I don't know how to handover the returncode to the second bash script!?
I tried this dummy script which should return the exit code 1
#test.sh
echo "test"
exit 1
But... (3 Replies)
hi all,
i have a situation where i run ssh command from a unix machine to execute few scripts on 2 other unix machines.
my problem is, the scripts that i run will start few commands on the 2 servers and will quit....i am able to quit from the script but i have to give ctrl+c (on the... (10 Replies)
So, I'm writing a shell script to help automate a process I'm doing. Basically I want to take input from the user for 2 variables, then create a file that consists of:
Variable1,Variable2
Constant1
Constant2
..
Constant2000
then run an awk script. I'm pretty new to unix though, and so... (11 Replies)
http://ep.yimg.com/ay/iercomputer/ibm-39j5022-ultra320-scsi-adapter-dual-channel-pci-x-fc5736-3.gif
I have bought this controller.
Simple and fast question: I will put on this controller a external LTO tape,which is terminated with a terminator.
I have to put another terminator on PCI-controller... (1 Reply)
I have a script in which we have used nohup. Once script is executed it will be terminated only when enter key is pressed. I want the script to be terminated without pressing enter key
nohup imqbrokerd -name user_id port 2>1 1>$home_`date` &
I am a newbie to shell, Kindly please help (3 Replies)
I am running the gaussian program on UNIX with bash and I want to form a script that will email me once the output life terminates either "normal termination" or "false" I just started learning this last week so could you let me know how to go about this.:b: (13 Replies)
Discussion started by: Jade_Michael
13 Replies
LEARN ABOUT OSF1
online
psradm(8) System Manager's Manual psradm(8)NAME
psradm, offline, online - Stops and starts processors in a multiprocessor system
SYNOPSIS
/usr/sbin/psradm -f [-v] [[-a] [processor_id...]]
/usr/sbin/psradm -n [-v] [[-a] [processor_id...]]
/usr/sbin/online [-v] [processor_id...]
/usr/sbin/offline [-v] [processor_id...]
OPTIONS
The following options apply only to the psradm command: Specifies that all the processors except the master processor be put off line or on
line. Puts the specified processor off line. Puts the specified processor on line.
The following option applies to all forms of the command: Displays a message about the status of the operation performed on each processor.
DESCRIPTION
On a multiprocessor system, the psradm command puts one or more processors off line (stops a processor) or on line (starts a processor).
The processor_id variable specifies an integer that uniquely identifies a processor. Use the psrinfo command to display processor identi-
fication numbers.
The offline command puts one or more processors off line (stops a processor). If no processors are specified, all processors that are on
line are stopped except the master processor.
The online command puts one or more processors on line (starts a processor). If no processors are specified, all processors that are off
line are started.
Note that you cannot use these commands to start or stop the master processor in a multiprocessor system.
You must be the root user to use this command.
The /var/adm/wtmp file contains information about successful processor state transitions.
RESTRICTION
Do not use the psradm command to disable CPUs when benchmarking performance, because the command does not provide an accurate reflection of
the performance of a system that actually has fewer CPUs. Accurate performance results are obtained only when you disable the CPUs at the
SRM console command level.
EXAMPLES
The following command puts processors 2 and 3 off line: # psradm -f 2 3 The following command puts all the processors on line: # psradm -n
-a The following command puts all processors on line: # online -v
FILES SEE ALSO
Commands: pset_info(1), psrinfo(1)
Files: processor_sets(4)psradm(8)