06-08-2011
How to check number of "CPU physical and core"?
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?
10 More Discussions You Might Find Interesting
1. Debian
Hi All,
I am running my application on a dual cpu debian linux 3.0 (2.4.19 kernel).
For my application:
<sar -U ALL>
CPU %user %nice %system %idle
...
10:58:04 0 153.10 0.00 38.76 0.00
10:58:04 1 3.88 0.00 4.26 ... (0 Replies)
Discussion started by: jaduks
0 Replies
2. Shell Programming and Scripting
Hi
how to check input is "empty" and "numeric" in ksh?
e.g:
./myscript.ksh k
output show: invalid number input
./myscript.ksh
output show: no input
./myscript.ksh 10
output show: input is numeric (6 Replies)
Discussion started by: geoffry
6 Replies
3. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
4. HP-UX
Hi,
I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone.
And its not dumping core if we run the script using "/bin/sh" instead of "ksh"
Can some body please help me how to resolve this issue.
... (9 Replies)
Discussion started by: simhe02
9 Replies
5. Shell Programming and Scripting
Hi,
I've modified the syslogd source to include a thread that will keep track of a timer(or a timer thread). My intention is to check the file size of /var/log/messages in every one minute & if the size is more than 128KB, do a echo " " > /var/log/messages, so that the file size will be set... (7 Replies)
Discussion started by: jockey007
7 Replies
6. Solaris
Hi all,
First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for.
I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Discussion started by: newbie_01
0 Replies
7. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
8. Solaris
After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks.
ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface
# ifconfig eg1000g0:2 plumb
ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface
# ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies
9. Solaris
Team,
I would like to know, if we have any command in Solaris to verify, if some process is listening on a port on a set of machines.
for eg: Wrote the below script, and found that when a process is listening on that port, then it just waits there and doesnt come out. Rather, I would like... (6 Replies)
Discussion started by: msgforsunil
6 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT CENTOS
papi_hw_info_t
PAPI_hw_info_t(3) PAPI PAPI_hw_info_t(3)
NAME
PAPI_hw_info_t -
Hardware info structure.
SYNOPSIS
Data Fields
int ncpu
int threads
int cores
int sockets
int nnodes
int totalcpus
int vendor
char vendor_string [128]
int model
char model_string [128]
float revision
int cpuid_family
int cpuid_model
int cpuid_stepping
int cpu_max_mhz
int cpu_min_mhz
PAPI_mh_info_t mem_hierarchy
int virtualized
char virtual_vendor_string [128]
char virtual_vendor_version [128]
float mhz
int clock_mhz
int reserved [8]
Field Documentation
int PAPI_hw_info_t::clock_mhz
Deprecated
int PAPI_hw_info_t::cores
Number of cores per socket
int PAPI_hw_info_t::cpu_max_mhz
Maximum supported CPU speed
int PAPI_hw_info_t::cpu_min_mhz
Minimum supported CPU speed
int PAPI_hw_info_t::cpuid_family
cpuid family
int PAPI_hw_info_t::cpuid_model
cpuid model
int PAPI_hw_info_t::cpuid_stepping
cpuid stepping
PAPI_mh_info_t PAPI_hw_info_t::mem_hierarchy
PAPI memory heirarchy description
float PAPI_hw_info_t::mhz
Deprecated
int PAPI_hw_info_t::model
Model number of CPU
char PAPI_hw_info_t::model_string[128]
Model string of CPU
int PAPI_hw_info_t::ncpu
Number of CPUs per NUMA Node
int PAPI_hw_info_t::nnodes
Total Number of NUMA Nodes
float PAPI_hw_info_t::revision
Revision of CPU
int PAPI_hw_info_t::sockets
Number of sockets
int PAPI_hw_info_t::threads
Number of hdw threads per core
int PAPI_hw_info_t::totalcpus
Total number of CPUs in the entire system
int PAPI_hw_info_t::vendor
Vendor number of CPU
char PAPI_hw_info_t::vendor_string[128]
Vendor string of CPU
char PAPI_hw_info_t::virtual_vendor_string[128]
Vendor for virtual machine
char PAPI_hw_info_t::virtual_vendor_version[128]
Version of virtual machine
int PAPI_hw_info_t::virtualized
Running in virtual machine
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_hw_info_t(3)