The command provided by zaxxon, will work, can you paste the output?
Also there is another way to know the INSTALLED CPUS (know this will give you total CPU installed in the system, but NOT the configurable), this command you can run from with in any AIX LPAR.
Hi All,
I need a help. I need to know:
1. the individual core id, physical id of a running process on multicore inside a program. The system file /proc/cpuinfo shows all the ids of all the processes. But I need to know runtime, what exact core id and physical id , the running process has.... (0 Replies)
I was wondering if anyone knew of any tools that would identify generic scsi disks on servers running AIX 5.3? Going through diag into the hot plugs does not work. I know it used to for 4.3 on some servers I managed with generic scsi but for some reason I either dont the option to choose a disk... (2 Replies)
Hi,
I am trying to find the reliability of 'vmstat -d' for showing the actual physical writes on sectors on hard disk.
Can anyone please tell me if the numbers in the "sectors" field under "read" or "write" headers show a count of the actual write commands sent to disk from the low level... (2 Replies)
Hi,
I have AIX 5.3TL8 two node cluster using HACMP and have 10g database using RAW devices. I am seeing gradual increase in comp% memory everyday and it reaches 100% and evicts the node, we had 4 evictions in 40days.
I am pasting vmstat and vmo output, anyone seen this issue?
... (5 Replies)
I have come into a business environtment problem and had been 10+ years since the last time I did any unix admin work.
A long time ago some mainframe person created an app that talked to a mainframe on UNIX and wrote a c program with "core" in the file name to indicate that the file was the... (2 Replies)
Hi All,
How to check number of "CPU physical and core" ?
my machine is T5240, T5440
I try to user prtdiag it show 128 CPUs ?? what real number for it? (5 Replies)
Hi,
We have HP RX 3600 server with HP Unix 11.23 loaded.From OS we need to get the information number of physical processors in this server.Please let me know the command to get this information.
Regards,
Jinu (6 Replies)
Hi,
We access our workloads using usrun. Login is automatic as we are either in the profile for that workload or not.
So each user logs into the same account - e.g. wloadexe
Each of the users logs in from a machine where they have their own account. e.g. johndoe
So when they log... (3 Replies)
hi,
I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine.
which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Hello,
I have some doubts about the dvd/cd physical on power machine and AIX.
I see on my AIX lpar and see there is 1 DVD drive and its physical location
bash-4.4# lsdev | grep cd0
cd0 Available 03-00-00 SATA DVD-RAM Drive
bash-4.4# lscfg -vpl cd0
cd0 ... (12 Replies)
Discussion started by: Phat
12 Replies
LEARN ABOUT DEBIAN
ptsematest
ptsematest(8)ptsematest(8)NAME
ptsematest - Start two threads and measure the latency of interprocess communication with POSIX mutex.
SYNTAX
ptsematest [-a|-a PROC] [-b USEC] [-d DIST] [-i INTV] [-l loops] [-p PRIO] [-t|-t NUM]
DESCRIPTION
The program ptsematest starts two threads that are synchronized via pthread_mutex_unlock()/pthread_mutex_lock() and measures the latency
between releasing and getting the lock.
OPTIONS -a, --affinity[=PROC]
Run on procesor number PROC. If PROC is not specified, run on current processor.
-b, --breaktrace=USEC
Send break trace command when latency > USEC. This is a debugging option to control the latency tracer in the realtime preemption
patch. It is useful to track down unexpected large latencies of a system.
-d, --distance=DIST
Set the distance of thread intervals in microseconds (default is 500 us). When cylictest is called with the -t option and more than
one thread is created, then this distance value is added to the interval of the threads: Interval(thread N) = Interval(thread N-1) +
DIST
-i, --interval=INTV
Set the base interval of the thread(s) in microseconds (default is 1000 us). This sets the interval of the first thread. See also
-d.
-l, --loops=LOOPS
Set the number of loops. The default is 0 (endless). This option is useful for automated tests with a given number of test cycles.
ptsematest is stopped once the number of timer intervals has been reached.
-p, --prio=PRIO
Set the priority of the process.
-t, --threads[=NUM]
Set the number of test threads (default is 1, if this option is not given). If NUM is specified, create NUM test threads. If NUM is
not specifed, NUM is set to the number of available CPUs.
EXAMPLES
The following example was running on a 4-way processor:
# ptsematest -a -t -p99 -i100 -d25 -l1000000
#0: ID8672, P99, CPU0, I100; #1: ID8673, P99, CPU0, Cycles 1000000
#2: ID8674, P98, CPU1, I125; #3: ID8675, P98, CPU1, Cycles 811035
#4: ID8676, P97, CPU2, I150; #5: ID8677, P97, CPU2, Cycles 668130
#6: ID8678, P96, CPU3, I175; #7: ID8679, P96, CPU3, Cycles 589423
#1 -> #0, Min 1, Cur 1, Avg 2, Max 11
#3 -> #2, Min 1, Cur 2, Avg 2, Max 13
#5 -> #4, Min 1, Cur 4, Avg 3, Max 12
#7 -> #6, Min 1, Cur 4, Avg 2, Max 12
AUTHORS
Carsten Emde <C.Emde@osadl.org>
SEE ALSO pthread_mutex_lock(3p), pthread_mutex_unlock(3p)
0.1 ptsematest(8)