I have collected data of Number of L2 cache misses using PAPI. I had run an MPI application with 4 threads (mpirun -np 4) and each thread reads the cache misses in L2. Each thread outputs data for every timestamp. eg:
Now my qstn , is whether i shud add all the cache miss values at time stamp xxx530 for thread 0,1, 2 and 3 OR shud i take the max-value for thrreda0,1,2,3 for timestamp xxx530 ?
Hi guys,
I have no idea on unix but suddenly, my cobol programs calls a unix script that i know nothing about.
can you guys interpret these lines for me?
i know its a print command but I want to actually know how many copies it prints.
qprt -da -P $1 -t '6' -i '6' -l '70' $2
qprt -da... (1 Reply)
Hi All,
Does anyone familiar with “Rexx interpret” know of a script equivalent?
For those that don't know “Rexx interpret”, here's how a script might look.
variable='echo Hello World!'
interpret $variable
Output is Hello World! because $variable was interpreted.
Thanks,
Lou (6 Replies)
Hi,
So I am new to Unix, and I need to check the performance of some apps I am running. But I don't know how to interpret the output from TOP.
Could somebody please explain the difference between the different values. And also explain how I can have a process which has a %CPU > 100?
... (7 Replies)
hi
I have a text file abc.txt as below
a = 0
b = 1
c = 3
i want to interpret this file i.e. if number corresponding to 'a' is 0 i want to run a script script.bash .
How do do that? (4 Replies)
Was wondering if someone could interpret this for me -- I'm not sure what everything means. It's a shell script from my bash book:
cd ()
{
builtin cd "$@"
es=$?
echo "$OLDPWD ->$PWD"
return $es
}
what I don't quite understand is the "$@". I think, if I understand... (6 Replies)
I know $0 is the entire file's contents (at least I think that is what it is!), but what exactly is: $0!~
This was a snippet from a larger line
awk '$0!~/^$/ {print $0}'
This deletes blank lines, but I want to know specifically the $0!~ part... I am guessing /^$/ is regex for blank line...... (5 Replies)
Can anyone tell me how to interpret this:
listpage="ls |more" (the spaces are there in the example)
$listpage
It's from my bash book and I'm not sure what it means (3 Replies)
hi All,
i have never used sed in Unix environment, but i have one script which is using this following command:
cat audit_session_rpt_MSP_20140331.lst|sed -n '/Apr 14/!p'| sed -n '/Page/!p'| sed -n '/UserName/!p' |\
egrep -v '^-|^=|^\*'|sed '/^$/d'|sed -e '1,7d'... (1 Reply)
I booted into single user mode with
/usr/sbin/reboot -- -s
but after doing a control -d
my
who -r
shows
run-level 3 Nov 17 14:07 3 0 S
I was expecting it to show run-level S
why is this still in run level 3?
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT HPUX
pthread_getspecific
pthread_getspecific(3T)pthread_getspecific(3T)NAME
pthread_getspecific(), pthread_setspecific() - get or set the thread-specific data associated with a key
SYNOPSIS PARAMETERS
key Thread-specific data key whose value for the calling thread is to be set or retrieved.
value Value to be assigned to the thread-specific data key for the calling thread.
DESCRIPTION
The function returns the thread-specific data value associated with key for the calling thread. If no value has been associated with key
for the calling thread, NULL is returned.
The function associates the thread-specific data value with key. Each thread may bind a different value to key. These values are usually
pointers to memory dynamically allocated by the calling thread.
key must be a valid thread-specific data key created by calling If key is not a valid thread-specific data key, undefined behavior results
when calling these functions.
These functions may be called from a thread-specific data destructor function. However, calling from a destructor may result in lost stor-
age.
RETURN VALUE
The function returns the thread-specific data value associated with key. If no thread-specific data value is currently associated with
key, the value NULL is returned.
If successful, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
No errors are returned by the function.
If any of the following occur, the function returns the corresponding error number:
[ENOMEM] There is insufficient memory available in which to associate value with key.
For each of the following conditions, if the condition is detected, the function returns the corresponding error number:
[EINVAL] key is an invalid thread-specific data key.
AUTHOR
and were derived from the IEEE POSIX P1003.1c standard.
SEE ALSO pthread_key_create(3T), pthread_key_delete(3T).
STANDARDS CONFORMANCE
Pthread Library pthread_getspecific(3T)