03-22-2007
Oh. And UNIX is not Windows. Each "flavor" has differences, though not usually in POSIX (POSIX 1b is the IEEE's version of what UNIX base standard ought to be) system calls or in standard library calls. And Linux (FC 5, e.g.) is not always POSIX compliant. You can't just assume code that compiles on UNIX flavor A will automatically compile on UNIX flavor B. GNU extensions to C are definitely not
POSIX-compliant.
10 More Discussions You Might Find Interesting
1. Solaris
Hi everyone,
I have SUn E250 server running solaris 10. I have installed apache 2 + MySQL + PHP-5.1.4 following the guidelines on this website
http://meljr.com/~meljr/AMPSolaris10.html
Excellent document for first time installation. Now, because I wanted to use Coppermine Photo Gallery, I... (9 Replies)
Discussion started by: callingrohit
9 Replies
2. UNIX for Advanced & Expert Users
I'm trying to compile PHP5. I've installed mysql5 successfully and apache1.3 is working great, but I get the message
below when I compile PHP5. I double checked if I have libxml2 installed and I do. I installed libxml2 binary from
sunfreeware. Please see below for details:
./configure... (5 Replies)
Discussion started by: xnightcrawl
5 Replies
3. Solaris
Hello Guys,
I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. please....... reply to me.
I not getting the answer anywhere..
Advance... (2 Replies)
Discussion started by: selva_ss
2 Replies
4. Solaris
How does one go aout compiling irssi locally on a fresh installation of Solaris 10,
Out put from ./configure m command
/download/1rss1-0.8.12
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking... (2 Replies)
Discussion started by: FloridaBSD
2 Replies
5. Infrastructure Monitoring
Hello all
Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options.
./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Discussion started by: krabu
2 Replies
6. Solaris
Hi
I'm trying to install apache 2.2.14 on Solaris with Openssl. I'm using following configure options:
./configure --prefix=/usr/local/apache2 --enable-ssl --enable-module=so --enable-proxy=shared --enable-proxy-http=shared --enable-proxy-ajp=shared --with-ssl=/usr/local/openssl
... (3 Replies)
Discussion started by: Aelfric
3 Replies
7. Programming
Hello. I'm using SunStudio 12 Update 1. When compiling for x86, everything works fine. When compiling for SPARC, I get the following errors. I linked libCstd.so.1 explicitly, but I get the same errors. Would anyone be kind enough to step me through resolving this? Thank you very much.
**... (2 Replies)
Discussion started by: acheong87
2 Replies
8. Solaris
Hi all,
I am getting the following error While installing Samba 3.4.1 on Solaris 10.
#./autogen.sh
./autogen.sh : autoheader : not found
./autogen.sh : test : argument expected
Please help me as I am in a critical state of the project.
Warm regards,
Sathya (10 Replies)
Discussion started by: sathya47
10 Replies
9. UNIX Benchmarks
anyone tried it , under Solaris 10 using make (part of SUNWsprot) and gcc 4.6 compiler..
got an error complaining about the Makefile script syntax...
I don't think that's compatible at all... (2 Replies)
Discussion started by: ppchu99
2 Replies
10. UNIX for Beginners Questions & Answers
Hi there.
I have unzipped automake-1.15.tar.gz into a directory on my HDD that has Solaris 10 SPARC OS installed inside a SUN/Oracle SPARC server.
I can configure automake-1.15 successfully but when I try to compile automake-1.15 using 'make command, I have the following error message..
... (4 Replies)
Discussion started by: alphatron150
4 Replies
LEARN ABOUT DEBIAN
lnstat
LNSTAT(8) System Manager's Manual LNSTAT(8)
NAME
lnstat - unified linux network statistics
SYNOPSIS
lnstat [options]
DESCRIPTION
This manual page documents briefly the lnstat command.
lnstat is a generalized and more feature-complete replacement for the old rtstat program. In addition to routing cache statistics, it sup-
ports any kind of statistics the linux kernel exports via a file in /proc/net/stat/.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). lnstat supports the following
options.
-h, --help
Show summary of options.
-V, --version
Show version of program.
-c, --count <count>
Print <count> number of intervals.
-d, --dump
Dump list of available files/keys.
-f, --file <file>
Statistics file to use.
-i, --interval <intv>
Set interval to 'intv' seconds.
-k, --keys k,k,k,...
Display only keys specified.
-s, --subject [0-2]
Specify display of subject/header. '0' means no header at all, '1' prints a header only at start of the program and '2' prints a
header every 20 lines.
-w, --width n,n,n,...
Width for each field.
USAGE EXAMPLES
# lnstat -d
Get a list of supported statistics files.
# lnstat -k arp_cache:entries,rt_cache:in_hit,arp_cache:destroys
Select the specified files and keys.
# lnstat -i 10
Use an interval of 10 seconds.
# lnstat -f ip_conntrack
Use only the specified file for statistics.
# lnstat -s 0
Do not print a header at all.
# lnstat -s 20
Print a header at start and every 20 lines.
# lnstat -c -1 -i 1 -f rt_cache -k entries,in_hit,in_slow_tot
Display statistics for keys entries, in_hit and in_slow_tot of field rt_cache every second.
SEE ALSO
ip(8), and /usr/share/doc/iproute-doc/README.lnstat (package iproute-doc on Debian)
AUTHOR
lnstat was written by Harald Welte <laforge@gnumonks.org>.
This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others).
LNSTAT(8)