GETCONF(1) Debian GNU/Linux GETCONF(1)NAME
getconf - Query system configuration variables
SYNOPSIS
getconf -a
getconf [-v specification] system_var
getconf [-v specification] path_var pathname
DESCRIPTION -a
Displays all configuration variables for the current system
and their values.
-v
Indicate the specification and version for which to obtain
configuration variables.
system_var
A system configuration variable, as defined by sysconf(3) or
confstr(3).
path_var
A system configuration variable as defined by pathconf(3). This
must be used with a pathname.
AUTHOR
getconf was written by Roland McGrath for the GNU C Library
This man page was written by Ben Collins <bcollins@debian.org> for the Debian GNU/Linux system.
SEE ALSO sysconf(3), pathconf(3), confstr(3)3rd Berkeley Distribution squeeze GETCONF(1)
Check Out this Related Man Page
GETCONF(1) Debian GNU/Linux GETCONF(1)NAME
getconf - Query system configuration variables
SYNOPSIS
getconf -a
getconf [-v specification] system_var
getconf [-v specification] path_var pathname
DESCRIPTION -a
Displays all configuration variables for the current system
and their values.
-v
Indicate the specification and version for which to obtain
configuration variables.
system_var
A system configuration variable, as defined by sysconf(3) or
confstr(3).
path_var
A system configuration variable as defined by pathconf(3). This
must be used with a pathname.
AUTHOR
getconf was written by Roland McGrath for the GNU C Library
This man page was written by Ben Collins <bcollins@debian.org> for the Debian GNU/Linux system.
SEE ALSO sysconf(3), pathconf(3), confstr(3)3rd Berkeley Distribution squeeze GETCONF(1)
I was compiling perl on a Solaris 10 server. The compile failed because the output of getconf is wrong (it indicates xarch is generic64 not v9. This is a known bug but I cannot find a fix. I wrote a script as suggested that changes it but when you run getconf again it goes back to generic64.
... (2 Replies)
Hi,
I am working on a Unix console.
I want to obtain the Linux distribution details in
1) Shell
2) C program ( System call )
Want to know if it is REDHAT / SUSE / UBUNTU , etc ..
Please let me know if there is any way to achieve this.
Thanks in advance,
Siva. (8 Replies)
Hi,
Can you please help?
I am trying to use variables within a clearcase command, however i am having a major problems - the variables don't appear to be accessible. Using the following as an example:
cat=1 2 3
dog=4 5 6
cleartool mkattr -replace Four_Legs '"$cat $dog"' lbtype:Animal
... (3 Replies)
Hi,
I need some help to setup some environmental variables.
for example...Get A -> userdefined/user input
B -> a number.
c -> system variable...for example $GETCONF PAGE_SIZE
E = do some math using bc
display a message "The value is E"
setup the system/kernel paramter sysctl -p... (3 Replies)