09-02-2011
How many processors do you have? How many cores each? Is Hyper-Threading or anything similar active? Because, basically, the output from top and others is a moments snapshot, and it's only possible to have at most 1 process running per processor core at any time, with the others sleeping until it's their turn.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
How do i run a command in parallel 50 times and capturing the result of each run in a separate file
Eg: myApp arg1 > run1.txt
myApp arg1 > run2.txt
:::::::::::::::::::::::::
:::::::::::::::::::::::::
myApp arg1 > run50.txt
The above way is sequential.
... (3 Replies)
Discussion started by: jakSun8
3 Replies
2. UNIX for Advanced & Expert Users
hey i have to implement copy command in parallel in c language.
i dont know how to create a new directory in destination.
if anything u know related to this help me (1 Reply)
Discussion started by: rajsekhar28
1 Replies
3. Shell Programming and Scripting
Hi,
I am using Ubuntu 10.04 LTS 32-bit. I would like to execute a command in two or more servers (multiple remote hosts) in parallel. The commands "shmux" or "on" are not available in Ubuntu. Could anyone tell me what other equivalent commands available in Ubuntu to accomplish this task? (1 Reply)
Discussion started by: royalibrahim
1 Replies
4. Shell Programming and Scripting
I have one parent directory and within that parent directory there are several other sub-directories and within those sub-directories there are several other "large number" of sub-directories.
All the sub directories have a shell script in them with a common file name execute_command.sh I want... (4 Replies)
Discussion started by: shoaibjameel123
4 Replies
5. Shell Programming and Scripting
Hi all, I have the requirement to generate the file containing following command
eval /path/ dsjob -logdetail projectname JOBNAME /path/
1. The file contains the above command say about 150 times i,e only the JOBNAME changes in every command
2. The commands must be written in such a way... (2 Replies)
Discussion started by: sanjay mn
2 Replies
6. UNIX for Advanced & Expert Users
Hi All,
We have a table that has to store around 80-100 million records. The table is partitioned by a column called Market Code. There are 30 partitions each corresponding to one MRKT_CD.
The source of this table is a join between 3-4 other tables. We are loading this table through SQLPLUS... (2 Replies)
Discussion started by: jerome_rajan
2 Replies
7. Shell Programming and Scripting
Hello,
im having bash script with
while ***
command1 &&
command2 &&
command3 &&
done
i want to ask how i can prevent overloading server, by waiting untill all commands complete? any low resources intensive command like "wait" - i dont know if exist? (2 Replies)
Discussion started by: postcd
2 Replies
8. Shell Programming and Scripting
Hi,
I am running below code
For I in $var
do
.......some line of code.......
nohup Sqlplus apps/apps <<EOF &
My_proc($I)
Exit
EOF
done
Nohup and & is used for parallel processing.
Can someone help in determining if the procedure with different arguments
Was called paralley or... (3 Replies)
Discussion started by: Pratiksha Mehra
3 Replies
9. Shell Programming and Scripting
Hello,
I have a 4 core machine.
Here is my initial script
cd /work/
python script.py input.txt output.txt 1 2 3
This script runs for 1.5hrs.
So I read across the web and figured out that you can use GNU parallel to submit multiple jobs using parallel. But I am not sure if I can run... (4 Replies)
Discussion started by: jacobs.smith
4 Replies
10. Shell Programming and Scripting
Hi all.
Long time!!
Hope you're doing well..
I've stumbled on a peculiar siutaion here, and would expect help from this forum on a clean resolution.
We are running an rm and find command simultaneously from two different Unix sessions of the same user(let's say USER01) and on the same... (3 Replies)
Discussion started by: kumarjt
3 Replies
LEARN ABOUT MOJAVE
hostinfo
hostinfo(8) BSD System Manager's Manual hostinfo(8)
NAME
hostinfo -- host information
SYNOPSIS
hostinfo
DESCRIPTION
The hostinfo command displays information about the host system on which the command is executing. The output includes a kernel version
description, processor configuration data, available physical memory, and various scheduling statistics.
OPTIONS
There are no options.
DISPLAY
Mach kernel version:
The version string compiled into the kernel executing on the host system.
Processor Configuration:
The maximum possible processors for which the kernel is configured, followed by the number of physical and logical processors avail-
able.
Note: on Intel architectures, physical processors are referred to as cores, and logical processors are referred to as hardware threads;
there may be multiple logical processors per core and multiple cores per processor package. This command does not report the number of
processor packages.
Processor type:
The host's processor type and subtype.
Processor active:
A list of active processors on the host system. Active processors are members of a processor set and are ready to dispatch threads.
On a single processor system, the active processor, is processor 0.
Primary memory available:
The amount of physical memory that is configured for use on the host system.
Default processor set:
Displays the number of tasks currently assigned to the host processor set, the number of threads currently assigned to the host proces-
sor set, and the number of processors included in the host processor set.
Load average:
Measures the average number of threads in the run queue.
Mach factor:
A variant of the load average which measures the processing resources available to a new thread. Mach factor is based on the number of
CPUs divided by (1 + the number of runnablethreads) or the number of CPUs minus the number of runnable threads when the number of
runnable threads is less than the number of CPUs. The closer the Mach factor value is to zero, the higher the load. On an idle system
with a fixed number of active processors, the mach factor will be equal to the number of CPUs.
SEE ALSO
sysctl(8)
Mac OS X October 30, 2003 Mac OS X