08-20-2014
The stat command utility is available mostly on Linux distributions.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
We have a third party tool in UNIX to kick off a 'file copy' job based on a file existance. If a specific file exists in an UNIX directory, another process should start copy the file into another system for further processing. The issue is, the copy job is starting as soon as the file exists in... (6 Replies)
Discussion started by: kslakshm
6 Replies
2. UNIX for Dummies Questions & Answers
my /etc/.osm file is growing rapidly and logging large amounts of activity. Can anyone tell me what this file is for and what types of information is logged in this file.
Thanks in advance for your help!! (1 Reply)
Discussion started by: golfs4us
1 Replies
3. UNIX for Dummies Questions & Answers
I need to find the file that is growing in the mount. Say yesterday the utilised space was 95% but today that is 96%. How do i find the file that is growing in size. Have checked the same with du/df options but was not able to find much.
Please suggest the best possible option. (3 Replies)
Discussion started by: raman1605
3 Replies
4. HP-UX
how to redirect the growing contents of log file to another file in unix (2 Replies)
Discussion started by: megh
2 Replies
5. Shell Programming and Scripting
Hi,
I need to create a script that checks if a file exists on an offsite server
which only has ftp enabled. I was originally going to use perls Net::FTP
class but the client does not have perl installed nor wants it.
So, I have to use a shell script which logs into the server, then ... (1 Reply)
Discussion started by: gseyforth
1 Replies
6. Solaris
Hi gurus
Im a newbie in solaris..I need to extend file system space in solaris 10 which is using SVM..I have a file system /pin02 which is 93% full n needs to be extended..only 3.6 gb avail space left..the file system is not mirrored...normal ufs file system only..can u please tel me t... (6 Replies)
Discussion started by: madanmeer
6 Replies
7. UNIX for Dummies Questions & Answers
Hi,
A log file which is growing at high speed, don't know the name of it. How to find the respective file?
Many thanks. (2 Replies)
Discussion started by: venkatesht
2 Replies
8. Shell Programming and Scripting
How to check log size every 10min. by script (can use crontab)
if log size not change with alert "Log not update"
Base run on SunOS 5.8 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
logFiles="log1.log log2.log"
logLocation="/usr/home/test/log/"
Out put.
Tue Jan 31... (3 Replies)
Discussion started by: ooilinlove
3 Replies
9. Shell Programming and Scripting
I have a simple script which copies directory from one place to another and deleting the source .
I am facing a situation when new files gets added when the script has started running. Its resulting in data loss
Please suggest a way to avoid data loss. I googled a lot but most are perl... (11 Replies)
Discussion started by: ningy
11 Replies
10. UNIX for Advanced & Expert Users
We have a log file which has 16 million row. We want to read all the lines appended from the last time we read using sed command
sed -n '<START_LINE>,<LAST_LINE>p' abc.csv
I can store this last line line so I can give replace that with START_LINE in my next read. The problem is wc -l which... (2 Replies)
Discussion started by: one2connect
2 Replies
LIBC(7) Linux Programmer's Manual LIBC(7)
NAME
libc - overview of standard C libraries on Linux
DESCRIPTION
The term "libc" is commonly used as a shorthand for the "standard C library", a library of standard functions that can be used by all C
programs (and sometimes by programs in other languages). Because of some history (see below), use of the term "libc" to refer to the stan-
dard C library is somewhat ambiguous on Linux.
glibc
By far the most widely used C library on Linux is the GNU C Library <http://www.gnu.org/software/libc/>, often referred to as glibc. This
is the C library that is nowadays used in all major Linux distributions. It is also the C library whose details are documented in the rel-
evant pages of the man-pages project (primarily in Section 3 of the manual). Documentation of glibc is also available in the glibc manual,
available via the command info libc. Release 1.0 of glibc was made in September 1992. (There were earlier 0.x releases.) The next major
release of glibc was 2.0, at the beginning of 1997.
The pathname /lib/libc.so.6 (or something similar) is normally a symbolic link that points to the location of the glibc library, and exe-
cuting this pathname will cause glibc to display various information about the version installed on your system.
Linux libc
In the early to mid 1990s, there was for a while Linux libc, a fork of glibc 1.x created by Linux developers who felt that glibc develop-
ment at the time was not sufficing for the needs of Linux. Often, this library was referred to (ambiguously) as just "libc". Linux libc
released major versions 2, 3, 4, and 5 (as well as many minor versions of those releases). For a while, Linux libc was the standard C
library in many Linux distributions. However, notwithstanding the original motivations of the Linux libc effort, by the time glibc 2.0 was
released, it was clearly superior to Linux libc, and all major Linux distributions that had been using Linux libc soon switched back to
glibc. (Since this switch occurred over a decade ago, man-pages no longer takes care to document Linux libc details. Nevertheless, the
history is visible in vestiges of information about Linux libc that remain in some manual pages, in particular, references to libc4 and
libc5.)
Other C libraries
There are various other less widely used C libraries for Linux. These libraries are generally smaller than glibc, both in terms of fea-
tures and memory footprint, and often intended for building small binaries, perhaps targeted at development for embedded Linux systems.
Among such libraries are uClibc (http://www.uclibc.org/) and dietlibc (http://www.fefe.de/dietlibc/). Details of these libraries are gen-
erally not covered by the man-pages project.
SEE ALSO
syscalls(2), feature_test_macros(7), man-pages(7), standards(7)
COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2012-08-05 LIBC(7)