IT would help if you gave your UNIX OS flavor, too. Output of
You can do what you request on some different UNIXes but the commands are totally different.
Hi All,
Can anybody please help me with finding commands on LINUX for the following:
processor:
Availability
PowerManagementSupported
Description
also for OS patch i need to know the following info:
SeverityRating
ServicePackInEffect
for disk partition:
Description
BlockSize ... (1 Reply)
Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities.
Environment is a 8-way p570 with 4 LPARs.
lparVIO1 and lparVIO2:
AIX 5300-04-01
Mode/Type= Shared-SMT/Capped
Minimum Processors= 0.10
Desired Processors= 0.50
Maximum... (1 Reply)
Hello all!
I have two consoles.I know the PID of these two.Now I want to execute a command in console#1 but from console#2. How can I achieve this?
Anyone can do something for my query?
Click here if you can't understand my query or to know the need for this query. (3 Replies)
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Hello,
the bulk of my work is run by scripts. An example is as such:
#!/bin/bash
awk '{print first line}' Input.in > Intermediate.ter
awk '{print second line}' Input.in > Intermediate_2.ter
command Intermediate.ter Intermediate_2.ter > Output.out
It works the way I want it to, but it's not... (1 Reply)
Hello,
One of my colleagues is working on a p730 without HMC, only one LPAR has all resources.
The server is showing some issues with Informix (10.00 & 11.50), the same config (OS & IFX) works perfectly on Power6 so I would like to ask him to change the processor compatibility mode to power6 on... (3 Replies)
Hi All,
I was using some commands to:
replace a column by a constant string character awk -v a=CA 'NF>1{ $3=a; print; } ' $line>$line"_1"
to copy a column and paste it in another place awk '$5=$2" "$5' $line>$line"_2"
to delete the extra columns awk '{for(i=1;i<=NF;i++)... (9 Replies)
How to run several bash commands put in bash command line without needing and requiring a script file.
Because I'm actually a windows guy and new here so for illustration is sort of :
$ bash "echo ${PATH} & echo have a nice day!"
will do output, for example:... (4 Replies)
The purpose of enclosed script is to execute selected command and output success or failure in whiptail msgBox
Works as expected when command returns zero to msgBox.
I cannot figure out how to continue / automate my script when command expects reply to continue / terminate. I am doing it... (2 Replies)
Hi
I have a pool name yuk-pool and its associated pset is yuk-pset. It has a min value is 20 and max value is 56. But size field has 48 value . This same pool is assign to 4 local zones. Whenever Cpu usage is high on one local zone it impact the cpu usage at other local zone as well during high... (1 Reply)
Discussion started by: sb200
1 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)