07-08-2014
Thanks for the response IBMtech. When I try to run the query it states that lshwres was not found.
I have already collected the lscfg outputs as you described however as discussed I am trying to find the configurable CPUs and not the installed.
Really appreciate your help, thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: debrajde
0 Replies
2. UNIX for Advanced & Expert Users
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)
Discussion started by: plcj58
2 Replies
3. Filesystems, Disks and Memory
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)
Discussion started by: jake24
2 Replies
4. AIX
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)
Discussion started by: navin7386
5 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: pcooke2002
2 Replies
6. Solaris
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)
Discussion started by: arm_naja
5 Replies
7. HP-UX
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)
Discussion started by: jinu07
6 Replies
8. AIX
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)
Discussion started by: jfxdavies
3 Replies
9. Solaris
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)
Discussion started by: omkar.jadhav
8 Replies
10. AIX
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
ares_parse_ptr_reply
ARES_PARSE_PTR_REPLY(3) Library Functions Manual ARES_PARSE_PTR_REPLY(3)
NAME
ares_parse_ptr_reply - Parse a reply to a DNS query of type PTR into a hostent
SYNOPSIS
#include <ares.h>
int ares_parse_ptr_reply(const unsigned char *abuf, int alen,
const void *addr, int addrlen, int family,
struct hostent **host);
DESCRIPTION
The ares_parse_ptr_reply function parses the response to a query of type PTR into a struct hostent. The parameters abuf and alen give the
contents of the response. The parameters addr, addrlen, and family specify which address was queried for; they are not used to verify the
response, merely used to fill in the address of the struct hostent. The resulting struct hostent is stored in allocated memory and a
pointer to it stored into the variable pointed to by host. It is the caller's responsibility to free the resulting host structure using
ares_free_hostent(3) when it is no longer needed.
RETURN VALUES
ares_parse_ptr_reply can return any of the following values:
ARES_SUCCESS The response was successfully parsed.
ARES_EBADRESP The response was malformatted.
ARES_ENODATA The response did not contain an answer to the query.
ARES_ENOMEM Memory was exhausted.
SEE ALSO
ares_gethostbyaddr(3), ares_free_hostent(3)
AUTHOR
Greg Hudson, MIT Information Systems
Copyright 1998 by the Massachusetts Institute of Technology.
25 July 1998 ARES_PARSE_PTR_REPLY(3)