Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Pls. help with dmidecode message Post 302832089 by Corona688 on Friday 12th of July 2013 06:59:55 PM
Old 07-12-2013
HP may have model-specific utilities for it, which HP?
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

dmidecode, RAM speed = "Current Speed: Unknown"

Hello, I have a Supermicro server with a P4SCI mother board running Debian Sarge 3.1. This is the "dmidecode" output related to RAM info: RAM speed information is incomplete.. "Current Speed: Unknown", is there anyway/soft to get the speed of installed RAM modules? thanks!! Regards :)... (0 Replies)
Discussion started by: Santi
0 Replies

2. Shell Programming and Scripting

pls help

Hi, I need your help guys. I have two data files, namely 101.amberized.pdb & 101.pdb . Now I want to replace the whole 3rd column of 101.amberized.pdb with the 3rd column of 101.pdb file. How do I do it in shell? Thanks in advance Parimal (11 Replies)
Discussion started by: chuchu
11 Replies

3. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

4. UNIX for Advanced & Expert Users

Error Message while copying- Pls Help

Hi I have the following script for performing regression testing of two setups ... if ; then echo "Usage Check CfgFile" exit fi cfgfile=$1 cfgdir="/prod/quic/data/product/tools/cfg" testdir="/prod/quic/data/product/tools/test" scripts="/prod/quic/data/product/tools/scripts" cd $cfgdir... (1 Reply)
Discussion started by: geeyess123
1 Replies

5. Solaris

dmidecode installation problem

Today I had to check RAM info on solaris 10 system. I know that there is 4 GB, 2 modules , but I really needed more details like exact model, frequency and so on I downloaded several versions of dmidecode, but non of them worked. At first I found that there is no gcc in the system, well I... (5 Replies)
Discussion started by: Zorbeg
5 Replies

6. IP Networking

network message explanation pls

Hi guys, I know some about networking but I know some message below but Can anyone give me full explanation about these message below and how to generate these messages 1 14:52:49.463851 arp who-has 192.168.0.107 tell 192.168.0.108 2 14:52:49.463851 arp reply 192.168.0.107 is-at... (1 Reply)
Discussion started by: peac3
1 Replies

7. Programming

[XQuery] How to Convert from JSON Message to XML Message with XQuery

Hi guys, I'm in a job of converting a restful webservice to soap. Tool for convertation uses XQuery. Now i need to convert a message like this: { "firstName": "John", "midName": null, "lastName": "Smith", "married": false, "address": { "streetAddress": "21 2nd... (5 Replies)
Discussion started by: tien86
5 Replies

8. UNIX for Dummies Questions & Answers

sudo dmidecode where is the file located ?

Been through all my /sys /sbin /bin directories and can't seem to find it. (2 Replies)
Discussion started by: jcnewton13
2 Replies

9. UNIX and Linux Applications

Ssmtp -t < /path/to/the/message.txt (How to format message.txt for html email)

ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets, Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies
confstr(3C)						   Standard C Library Functions 					       confstr(3C)

NAME
confstr - get configurable variables SYNOPSIS
#include <unistd.h> size_t confstr(int name, char *buf, size_t len); DESCRIPTION
The confstr() function provides a method for applications to get configuration-defined string values. Its use and purpose are similar to the sysconf(3C) function, but it is used where string values rather than numeric values are returned. The name argument represents the system variable to be queried. If len is not 0, and if name has a configuration-defined value, confstr() copies that value into the len-byte buffer pointed to by buf. If the string to be returned is longer than len bytes, including the terminating null, then confstr() truncates the string to len-1 bytes and null-terminates the result. The application can detect that the string was truncated by comparing the value returned by confstr() with len. If len is 0, confstr() still returns the integer value as defined below, but does not return the string. The confstr() function supports the following values for name, defined in <unistd.h>, for both SPARC and x86: _CS_LFS64_CFLAGS If _LFS64_LARGEFILE is defined in <unistd.h>, this value is the set of initial options to be given to the cc and c89 utilities to build an application using the Large File Summit transitional compilation environment (see lfcompile64(5)). _CS_LFS64_LDFLAGS If _LFS64_LARGEFILE is defined in <unistd.h>, this value is the set of final options to be given to the cc and c89 utilities to build an application using the Large File Summit transitional compilation environment (see lfcompile64(5)). _CS_LFS64_LIBS If _LFS64_LARGEFILE is defined in <unistd.h>, this value is the set of libraries to be given to the cc and c89 utilities to build an application using the Large File Summit transitional compilation environment (see lfcompile64(5)). _CS_LFS64_LINTFLAGS If _LFS64_LARGEFILE is defined in <unistd.h>, this value is the set of options to be given to the lint utility to check application source using the Large File Summit transitional compilation environment (see lfcompile64(5)). _CS_LFS_CFLAGS If _LFS_LARGEFILE is defined in <unistd.h>, this value is the set of initial options to be given to the cc and c89 utilities to build an application using the Large File Summit large file compilation environment for 32-bit applications (see lfcompile(5)). _CS_LFS_LDFLAGS If _LFS_LARGEFILE is defined in <unistd.h>, this value is the set of final options to be given to the cc and c89 utilities to build an application using the Large File Summit large file compilation environment for 32-bit applications (see lfcompile(5)). _CS_LFS_LIBS If _LFS_LARGEFILE is defined in <unistd.h>, this value is the set of libraries to be given to the cc and c89 utilities to build an application using the Large File Summit large file compilation environment for 32-bit applications (see lfcompile(5)). _CS_LFS_LINTFLAGS If _LFS_LARGEFILE is defined in <unistd.h>, this value is the set of options to be given to the lint utility to check application source using the Large File Summit large file compilation environment for 32-bit applications (see lfcompile(5)). _CS_PATH If the ISO POSIX.2 standard is supported, this is the value for the PATH environment variable that finds all standard utilities. Oth- erwise the meaning of this value is unspecified. _CS_POSIX_V6_ILP32_OFF32_CFLAGS If sysconf(_SC_V6_ILP32_OFF32) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the c99 utility to build an application using a programming model with 32-bit int, long, pointer, and off_t types. _CS_POSIX_V6_ILP32_OFF32_LDFLAGS If sysconf(_SC_V6_ILP32_OFF32) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the c99 utility to build an application using a programming model with 32-bit int, long, pointer, and off_t types. _CS_POSIX_V6_ILP32_OFF32_LIBS If sysconf(_SC_V6_ILP32_OFF32) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the c99 utility to build an application using a programming model with 32-bit int, long, pointer, and off_t types. _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS If sysconf(_SC_V6_ILP32_OFFBIG) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the c99 utility to build an application using a programming model with 32-bit int, long, and pointer types, and an off_t type using at least 64 bits. _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS If sysconf(_SC_V6_ILP32_OFFBIG) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the c99 utility to build an application using a programming model with 32-bit int, long, and pointer types, and an off_t type using at least 64 bits. _CS_POSIX_V6_ILP32_OFFBIG_LIBS If sysconf(_SC_V6_ILP32_OFFBIG) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the c99 utility to build an application using a programming model with 32-bit int, long, and pointer types, and an off_t type using at least 64 bits. _CS_POSIX_V6_LP64_OFF64_CFLAGS If sysconf(_SC_V6_LP64_OFF64) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the c99 utility to build an application using a programming model with 64-bit int, long, pointer, and off_t types. _CS_POSIX_V6_LP64_OFF64_LDFLAGS If sysconf(_SC_V6_LP64_OFF64) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the c99 utility to build an application using a programming model with 64-bit int, long, pointer, and off_t types. _CS_POSIX_V6_LP64_OFF64_LIBS If sysconf(_SC_V6_LP64_OFF64) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the c99 utility to build an application using a programming model with 64-bit int, long, pointer, and off_t types. _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS If sysconf(_SC_V6_LPBIG_OFFBIG) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the c99 utility to build an application using a programming model with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits. _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS If sysconf(_SC_V6_LPBIG_OFFBIG) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the c99 utility to build an application using a programming model with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits. _CS_POSIX_V6_LPBIG_OFFBIG_LIBS If sysconf(_SC_V6_LPBIG_OFFBIG) returns -1, the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the c99 utility to build an application using a programming model with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits. _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS This value is a <newline>-separated list of names of programming environments supported by the implementation in which the widths of the blksize_t, cc_t, mode_t, nfds_t, pid_t, ptrdiff_t, size_t, speed_t, ssize_t, suseconds_t, tcflag_t, useconds_t, wchar_t, and wint_t types are no greater than the width of type long. _CS_XBS5_ILP32_OFF32_CFLAGS If sysconf(_SC_XBS5_ILP32_OFF32) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the cc and c89 utilities to build an application using a programming model with 32-bit int, long, pointer, and off_t types. _CS_XBS5_ILP32_OFF32_LDFLAGS If sysconf(_SC_XBS5_ILP32_OFF32) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the cc and c89 utilities to build an application using a programming model with 32-bit int, long, pointer, and off_t types. _CS_XBS5_ILP32_OFF32_LIBS If sysconf(_SC_XBS5_ILP32_OFF32) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the cc and c89 utilities to build an application using a programming model with 32-bit int, long, pointer, and off_t types. _CS_XBS5_ILP32_OFF32_LINTFLAGS If sysconf(_SC_XBS5_ILP32_OFF32) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of options to be given to the lint utility to check application source using a programming model with 32-bit int, long, pointer, and off_t types. _CS_XBS5_ILP32_OFFBIG_CFLAGS If sysconf(_SC_XBS5_ILP32_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the cc and c89 utilities to build an application using a programming model with 32-bit int, long, and pointer types, and an off_t type using at least 64 bits. _CS_XBS5_ILP32_OFFBIG_LDFLAGS If sysconf(SC_XBS5_ILP32_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the cc and c89 utilities to build an application using a programming model with 32-bit int, long, and pointer types, and an off_t type using at least 64 bits. _CS_XBS5_ILP32_OFFBIG_LIBS If sysconf(_SC_XBS5_ILP32_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the cc and c89 utilities to build an application using a programming model with 32-bit int, long, and pointer types, and an off_t type using at least 64 bits. _CS_XBS5_ILP32_OFFBIG_LINTFLAGS If sysconf(_SC_XBS5_ILP32_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of options to be given to the lint utility to check an application using a programming model with 32-bit int, long, and pointer types, and an off_t type using at least 64 bits. The confstr() function supports the following values for name, defined in <unistd.h>, for SPARC only: _CS_XBS5_LP64_OFF64_CFLAGS If sysconf(_SC_XBS5_LP64_OFF64) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the cc and c89 utilities to build an application using a programming model with 64-bit int, long, pointer, and off_t types. _CS_XBS5_LP64_OFF64_LDFLAGS If sysconf(_SC_XBS5_LP64_OFF64) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the cc and c89 utilities to build an application using a programming model with 64-bit int, long, pointer, and off_t types. _CS_XBS5_LP64_OFF64_LIBS If sysconf(_SC_XBS5_LP64_OFF64) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the cc and c89 utilities to build an application using a programming model with 64-bit int, long, pointer, and off_t types. _CS_XBS5_LP64_OFF64_LINTFLAGS If sysconf(_SC_XBS5_LP64_OFF64) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of options to be given to the lint utility to check application source using a programming model with 64-bit int, long, pointer, and off_t types. _CS_XBS5_LPBIG_OFFBIG_CFLAGS If sysconf(_SC_XBS5_LPBIG_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of initial options to be given to the cc and c89 utilities to build an application using a programming model with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits. _CS_XBS5_LPBIG_OFFBIG_LDFLAGS If sysconf(_SC_XBS5_LPBIG_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of final options to be given to the cc and c89 utilities to build an application using a programming model with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits. _CS_XBS5_LPBIG_OFFBIG_LIBS If sysconf(_SC_XBS5_LPBIG_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of libraries to be given to the cc and c89 utilities to build an application using a programming model with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits. _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS If sysconf(_SC_XBS5_LPBIG_OFFBIG) returns -1 the meaning of this value is unspecified. Otherwise, this value is the set of options to be given to the lint utility to check application source using a programming model with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits. RETURN VALUES
If name has a configuration-defined value, the confstr() function returns the size of buffer that would be needed to hold the entire con- figuration-defined value. If this return value is greater than len, the string returned in buf is truncated. If name is invalid, confstr() returns 0 and sets errno to indicate the error. If name does not have a configuration-defined value, confstr() returns 0 and leaves errno unchanged. ERRORS
The confstr() function will fail if: EINVAL The value of the name argument is invalid. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Mt-Safe | +-----------------------------+-----------------------------+ SEE ALSO
pathconf(2), sysconf(3C), attributes(5), lfcompile(5), lfcompile64(5), standards(5) SunOS 5.10 15 Dec 2003 confstr(3C)
All times are GMT -4. The time now is 04:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy